At the moment it looks like the add topic button is clickable even when you are in the act of writing a new topic. The button should appear disabled so that it discourages editors from attempting to click on it.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T276497 Scale DiscussionTools to all projects | |||
Open | None | T366095 Deploy comment thanking to all wikis | |||
Open | None | T310959 Scale Usability Improvements to all projects | |||
Open | Trizek-WMF | T319146 [Release Ticket] Offer Usability Improvements as default-on feature at all projects (desktop) | |||
Resolved | ppelberg | T302547 [Usability Improvements] Deploy as Beta Feature at all wikis (desktop) | |||
Open | None | T249579 [EPIC] Usability improvements: make the actions, activity and content within talk pages easier to understand | |||
Open | None | T269963 [EPIC] Talk Page Frame | |||
Resolved | ppelberg | T304372 [Release ticket] Deploy Page Frame as Beta Feature at Partner Wikis | |||
Resolved | matmarex | T307726 Add topic button should become disabled after click |
Event Timeline
It's not covered by that task. I just had a look, and there seems to be no way to actually mark it as disabled…
To elaborate: the only way to make a mw-ui-button look disabled is to set the disabled attribute, but that only works on <button> and not <a>. In addition, even if we hacked around that, there's no way to make the icon color/transparency adjust to the disabled state. I'm not very comfortable hacking around this many things, and also not comfortable inventing a new "proper" way to do it for a twice-deprecated legacy UI library.
@Esanders came up with a marvellous hack for this, which doesn't require us to reinvent the world and which seems unlikely to break anything else. Let's try that.
Change 819168 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] Make "Add topic" button in Vector sticky header disabled after click
Change 819168 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Make "Add topic" button in Vector sticky header disabled after click
✅ Add topic button should become disabled after click
Testing on https://cs.wikipedia.beta.wmflabs.org/wiki/Diskuse_s_wikipedistou:TestEsther