This task involves the work with suppressing the " Your topic was added." and " Your comment was published." toasts when the Automatic Topic Subscriptions first-run experience (T262103) is being displayed.
Background
T262103 introduced a dialog that appears the first time someone becomes automatically subscribed to a discussion they start or comment in.
This means, that in the moment that immediately follows someone starting a new discussion or commenting in an existing discussion on desktop, the interface is trying to simultaneously communicate two things to them in three ways:
Message | Communication Strategy |
---|---|
The discussion or comment they just attempted to publish has, in fact, been published successfully | 1) The newly-published discussion or comment is highlighted in yellow and 2) A " Your topic was added." or " Your comment was published." toast appears at the top of the page |
They will automatically be notified when new comments are posted in the discussion they just started or commented in | 3) First-run experience dialog appears atop the newly-published discussion |
This screenshot visualizes the above:
Behavior
- Visit a wiki where Automatic Topic Subscriptions are available
- Ensure the Automatically subscribe to topics setting within Special:Preferences#mw-prefsection-editing is enabled
- Visit a talk page
- Publish a comment or start a new discussion
Current
- Upon doing so, notice the following appear/happen: i) A toast appears at the top of the page, ii) the discussion you started or comment you published is highlighted momentarily, iii) the You have been subscribed dialog appears
Desired
- ✅ Upon doing so, notice the following appear/happen: i) the discussion you started or comment you published is highlighted momentarily, ii) the`You have been subscribed` dialog appears