Page MenuHomePhabricator

Mentor module ask a question dialog does not open if dialog is opened and page is reloaded
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce:

  • Click the button on Special:Homepage to ask your mentor a question
  • Enter some text in the textarea
  • Reload the page
  • Click the button to ask your mentor a question

Expected:

  • The dialog opens with your text prefilled

Actual:

  • The dialog does not open. No JS error is logged.

Event Timeline

kostajh triaged this task as High priority.Feb 11 2022, 1:34 PM
kostajh changed the subtype of this task from "Task" to "Bug Report".
kostajh added a subscriber: Urbanecm_WMF.

The dialog is not opened regardless of whether there is text entered. I think the issue is that when reloading, the URL has #/homepage/mentorship/question but the dialog is not opened (and there is no hash change when the "Ask your mentor a question" button is clicked).

Change 761992 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Mentorship module: open ask question dialog if the URL has #/homepage/mentorship/question

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

Change 761992 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentorship module: open ask question dialog if the URL has #/homepage/mentorship/question

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

kostajh renamed this task from Mentor module ask a question dialog does not open if there is saved draft text to Mentor module ask a question dialog does not open if dialog is opened and page is reloaded.Feb 14 2022, 10:33 AM
Etonkovidova subscribed.

Checked in betalabs and testwiki wmf.22 - works as expected.