This task is about investigating why the Reply Tool widget does not open when clicking a [reply] link that is appended to the first comment in a section that is indented at some level greater than 0.
I am filing this task as per the instructions in #Could_not_find_the_comment_you're_replying_to_on_the_page.
Behavior
- Visit a discussion page that contains comments indented with both * and :. E.g. https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(WMF)#RFC_on_Discussion_Tools_content_corruption
- Locate a comment indented with :.
- E.g. Oh good. If any other questions come up, please do let me or anyone else know. We're striving to make the work around this project as legible as possible. PPelberg (WMF) (talk) 02:00, 30 October 2020 (UTC)
- Click the [ reply ] link that is appended to the comment you located in "Step 2."
- Notice the Reply Tool widget opens as expected.
- Locate a comment indented with *.
- E.g. WMF devs, another thing: I was replying to a discussion and it was closed between the time I started typing and clicked submit. After doing this, the page refreshed and my entire reply was lost (it was not added as an edit). I think this behaviour is undesirable; an error should be shown or the opportunity to save ones reply. ProcrastinatingReader (talk) 20:40, 16 November 2020 (UTC)
- Click the [ reply ] link appended to the comment you located in "Step 5."
Actual
- ❗️Notice the following dialog appears instead of the Reply Tool widget opening: Could not find the comment you're replying to on the page. It might have been deleted or moved to another page. Please reload the page and try again.
- Click the OK button in the dialog that is shown in "Step 7."
- Refresh the page per the instructions in the dialog shown in "Step 7."
- Click the [ reply ] link appended to the comment you located in "Step 5."
- ❗️Notice the same dialog that surfaced in "Step 7." appears
Expected
- ✅ Notice the Reply Tool widget opens
Done
- "Expected" behavior is implemented