Page MenuHomePhabricator

Cache answers when creating new talk page topics and replying
Closed, ResolvedPublic

Description

This task derives from the usability test analysis for talk pages in October 2022.


Problem: A participant accidentally pressed back while creating a new topic. The subject and description were deleted after going back and creating a new topic
Solution: Make sure to cache/store the contents of an input field for a specific session to avoid the loss of the user’s input.


Watch video ↗

APK: https://github.com/wikimedia/apps-android-wikipedia/pull/3674

Event Timeline

scblr renamed this task from Cache answers when creating new talk page topics to Cache answers when creating new talk page topics and replying.Oct 20 2022, 4:15 PM

Hi @scblr

Since the new topic screen is an independent activity of its own, we cannot store the user text efficiently when they press back button. By definition in android back button is expected to 'kill' things... However, we can provide a dialog with something like "Are you sure you want to exit?" Which will catch both accidental back nav and also even when it is intentional, it will provide as a warning that they are in fact "Exiting"

Please lmk what you think.

@Sharvaniharan this is a great idea re: dialog 👏

@Sharvaniharan APK? Checked here but didn’t see it. Thanks!