Dialogs
Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
Also in this thread some early discussion took place about dialogs and system feedback overall.
#7 (comment)
This issue is posted due to recent ticket about navigating away from a plural string in the editor.
With this txds issue we will try to understand and find an appropriate, modular way to:
- Properly inform users on the outcome of an action (e.g. uncompleted work that is not saved and might be lost if navigating away from a component or page in the application.
- Provide easy to undestand navigation to confirm or dismiss a proposed action.
Example
Editor: Tab for navigating away from unsaved plural string
Transifex says
You have untranslated plural forms.
Your work will be lost. Are you sure you want to navigate away from this string?
[ Cancel ] [ OK ]
| Action |
Behaviour |
Keyboard Key |
Result |
| Cancel |
Stay on this page |
Esc |
Work not lost |
| OK |
Leave this page |
Enter/Return |
Work lost |
Component
Based on the above examples, we can discuss on the behaviour and structure of the dialog component which could look and work as follows:
Dialog title
You have {{unsaved_work}}.
Your work will be lost. Are you sure you want to {{user_action}}?
[ Cancel ] [ OK ]
| Action |
Behaviour |
Keyboard Key |
Result |
| Cancel |
Stay on this page |
Esc |
Work not lost |
| OK |
Leave this page |
Enter/Return |
Work lost |
| Save * |
Stay on this page |
... |
Save work |
* optional
Screens:


Further reading:
https://material.io/design/components/dialogs.html#actions
https://ux.stackexchange.com/questions/83535/should-an-unsaved-changes-dialog-in-a-web-app-contain-a-save-option
http://designsystem.morningstar.com/components/dialogs.html
https://medium.com/ux-power-tools/design-a-reusable-system-modal-e358985cfeb6
Dialogs
Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
Also in this thread some early discussion took place about dialogs and system feedback overall.
#7 (comment)
This issue is posted due to recent ticket about navigating away from a plural string in the editor.
With this txds issue we will try to understand and find an appropriate, modular way to:
Example
Editor: Tab for navigating away from unsaved plural string
EscEnter/ReturnComponent
Based on the above examples, we can discuss on the behaviour and structure of the dialog component which could look and work as follows:
EscEnter/Return...* optional
Screens:
Further reading:
https://material.io/design/components/dialogs.html#actions
https://ux.stackexchange.com/questions/83535/should-an-unsaved-changes-dialog-in-a-web-app-contain-a-save-option
http://designsystem.morningstar.com/components/dialogs.html
https://medium.com/ux-power-tools/design-a-reusable-system-modal-e358985cfeb6