Background
Currently, interactions with Edit Checks feel static, which impacts the user experience. To improve usability, the process needs to become more interactive by addressing the following areas:
- Interactive states: Clearly define and visually differentiate default, hover, active (pressed), and disabled states for both Edit Checks and highlighted text.
- Loading state: define how the loading will look like
- Text-Edit Check relationship: Establish a clearer connection between highlighted text and its corresponding Edit Check card, for example by using different colors for hover/active states on both text and cards.
Design proposal
Interaction states
| Edit Check card | Highlighted text |
The following states have been defined:
- Edit Check card:
- Unselected / Collapsed
- Default
- Unselected Hover
- Unselected Active
- Unselected Focus
- Selected / Expanded
- Hover
- Active
- Disabled (this state will be used when the user is interacting with some of the buttons in the card, so disabled will be used just when the card is selected/expanded)
- Loading (loading will be reflected just in the selected/expanded card)
- Completed
- Unselected / Collapsed
- Highlighted text: For now, these will be the states represented in the highlighted text. Other states could be included in the future if needed (e.g. an "editing text" state)
- Default / Unselected: background-color-interactive-subtle
- Hover: background-color-warning-subtle
- Active / Selected: background-color-warning-subtle
- Revising: Blue borders to use when revising/updating the text (as implemented in T397984)
Edit Check + Highlighted text behavior
The Edit Check card and highlighted text will be synchronized. This means that when the Edit Check is not selected, both the card and highlighted text will appear gray to indicate unselection. They will change to yellow (warnings) or red (errors) when the Edit Check (either the card or the highlighted text) is hovered, pressed, or selected.
Touchable screens (Tablet/Mobile)
- The trigger icon will use the status color (e.g. warning, progressive) of each type of check/suggestion in wither unselected and selected states.
| Current behavior | Expected behavior |
Open questions
Add here the questions to be answered in order to design and implement the component
Acceptance criteria (or Done)
Design
- Define interactive states for both Edit Checks and highlighted text
- Clearly indicate visual connection between the highlighted text and its corresponding Edit Check card
Implementation
- Implement the different states proposed









