This task represents the work of implementing v0.2 of the Suggestion Mode toggle.
For more details about the broader arc and scope of this feature, please review T415589.
Story
- As an experienced volunteer who has enabled the Suggestion Mode beta feature, is using desktop VE, and who most often arrives into editing with a clear change in mind, I'd value there being a way to decide whether suggestions are or are not shown by default upon landing in VE so that I can remain in flow and preserve the option of seeing suggestions in future edit sessions.
- As someone who has decided to toggle Suggestion Mode OFF, I'd value knowing that Suggestion Mode will remain OFF in all future VE editing sessions until I change it, so that I know A) why I may not be seeing suggestions and/or B) what I need to do in order to [have the potential to] see suggestions within the article I'm editing
Requirements
Meta
- Platform(s): desktop
- Configuration
- By default, the Suggestion Mode toggle this ticket introduces will be in an ON state whenever people arrive into a VE edit session; however, when someone changes the state of this toggle, that state should be remembered/persisted across desktop VE edit sessions until someone changes it
User experience
Augment the UX T420245 introduced by...
- Making it so the state of the toggle people set within an edit session is remembered/persisted across all future desktop VE edit sessions until someone changes it
- The first time someone toggles Suggestion Mode OFF, present a confirmation that makes them aware that Suggestion Mode will remain OFF across all future edit sessions until they change the state of this toggle
- Introducing a different treatment of the 💡 button that will appear when it is in the ON state
Note: It sounds like we need this icon implemented in OOUI.Can't be implemented as a normal icon.
Mockups
| ToggleButton OFF | ToggleButton ON |
When suggestions are OFF, we will use the cdxIconLightbulb icon. When suggestions are ON, we will use the lightbulb icon with an active indicator, representing that suggestions are turned on. The active version keeps the same lightbulb shape and size but including small spark elements around the lightbulb that expand outward in a subtle animation to indicate it is turned on.
Suggestions will appear ON by default, but users can use the ToggleButton to turn them off (and on again). We will use a contextual Toast to inform the user when they are turned off/on (related T417827). And, the first time when turning off, we will inform that this setting will be saved in future edit sessions.
| 1st time when turning off: "Suggestions turned off. This will apply to future edit sessions." | |
| Next times: "Suggestions turned off." or "Suggestions turned on." | |
Acceptance criteria
- Requirements are implemented








