In T368422, an initial version was implemented to support basic topic selection in order to customize translation suggestions. The "Adjust suggestions view" provides a list of topics for users to select. This is intended to work similar to a Codex dialog component. While it takes the full view on narrow screens, for wider ones the dialog may need some adjustments:
- Reduce maximum width. Currently, the dialog looks too wide, making it look stretched. We could use a max-width size of size-3200 (512px) based on the Dialog component and Size tokens from Codex.
- Add an overlay. The standard overlay from the Dialog component should be used. In this way, all elements from the background become less distracting while still providing context for user orientation.
This will help users on wider devices such as tablets, and make it ready for desktop eventually too. Examples of current and proposed states are shown below:
Current | Proposed |
---|---|