T420245 and T420268 will introduce early iterations of a toggle that will enable people to toggle Suggestion Mode ON/OFF from within VE (desktop + mobile).
This task involves the work of updating the toggle to include an as-close-to-real-time-as-possible count of the number of suggestions available within the article someone is editing.
=== Story
As a someone who is open to discovering ways to improve an article, I want to see how many suggestions are available – regardless of if I have Suggestion Mode enabled or not – so that I can gauge whether there are opportunities to contribute I might not have already considered and decide whether to pursue any of them.
=== Requirements
//Suggestion Count//
- Introduce a count of the //total// number of suggestions that are available within the article you are currently editing
- This count ought to remain visible whether you have Suggestion Mode Toggled ON or OFF
//OFF State//
- When Suggestion Mode is OFF, the count serves as an indicator that suggestions exist and may encourage users to toggle Suggestion Mode ON.
- This count ought to update in real-time w/o any kind refresh/reload
-- //Said another way, the count ought to update as a suggestion is addressed, dismissed/declined, or no longer relevant//
- When 0 Suggestions remain/are available, do NOT show show badge count
//ON State//
- When Suggestion Mode is ON, the count provides awareness of how many suggestions remain to be addressed.
- This count ought to update in real-time w/o any kind refresh/reload
-- //Said another way, the count ought to update as a suggestion is addressed, dismissed/declined, or no longer relevant//
- When 0 Suggestions remain, show badge count at `0` so people are clear that there are no more suggestions for them to address at this time.
//Mockups//
| {F73665665} |
| [[ https://www.figma.com/design/iee2NPlv8b1E6BGl5qsPhI/suggestion-mode?node-id=2917-46555&t=kCDtulV8zJL4cSQb-11 | Figma file ]] |