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

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)

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

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