Page MenuHomePhabricator

Title not cleared when discarding a new topic
Closed, ResolvedPublic

Description

Problem:
In the new discussion tool,
When I have content drafted and then tap CANCEL and then tap NEW TOPIC,
the title that was drafted does not get deleted (it shows up in the field)

Screencast:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 19 2021, 3:55 PM
Esanders renamed this task from Bug: clearing out cancelled content on new discussions to Title not cleared when discarding a new topic.Jan 19 2021, 5:25 PM
Esanders updated the task description. (Show Details)
matmarex claimed this task.Jan 19 2021, 7:21 PM

Change 657182 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] NewTopicController: Clear section title on teardown

https://gerrit.wikimedia.org/r/657182

Change 657182 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] NewTopicController: Clear section title on teardown

https://gerrit.wikimedia.org/r/657182

Test wiki created on Patch Demo by PPelberg (WMF) using patch(es) linked to this task:

http://patchdemo.wmflabs.org/wikis/94d12099e4dbaf20a3c13046fab4d6c0/w/

ppelberg closed this task as Resolved.Jan 20 2021, 5:33 AM

Nice spot, @iamjessklein. Also, I find the GIF to be effective at demonstrating the issue.