Web Client: eg*Dialog button labels should all be customizable

Bug #1691757 reported by Jason Boyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Wishlist
Unassigned

Bug Description

Eg 2.12

The egConfirmDialog service (or app, or something else? My Angular-fu is weak.) currently allows the caller to specify custom labels for the OK and Cancel buttons. I'd like to see this extended to all of the other eg*Dialog types (except for Progress, obviously).

Jason Boyer (jboyer)
description: updated
Revision history for this message
Galen Charlton (gmc) wrote :

Makes sense to me, but I'm curious if you have a specific use case in mind?

Revision history for this message
Jason Boyer (jboyer) wrote :

Mainly flexibility and consistency with egConfirmDialog which already allows this. It's slightly more hassle to translate but I'd rather that users be able to choose between 2 actions rather than having to click OK for choice 1 and cancel for choice 2, etc.

As specific examples, setting a boolean value in the reporter could use the labels True and False, and the Cancel Hold prompt could have "Cancel Hold" and "Keep Hold" (or something similar, "Cancel Canceling a Hold" is a hard one to wrap a good short phrase around).

A longer-term wishlist would be the ability to specify any (reasonable, 3-5 max?) number of buttons and their actions, similar to iOS UIActionSheet views: https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/UIKitUICatalog/UIActionSheet.html because if you have a situation where you need only present 3 options to the user you currently have to switch to a egSelectDialog where presenting that few items as individual buttons may be easier for the user to decide between.

tags: added: usability
removed: webstaffclient
Gina Monti (gmonti90)
tags: added: customization
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.