Page MenuHomePhabricator

DiscussionTools permalink hijacked by draft comment
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • on a DiscussionTools-enabled talk page, click on "reply" and start typing, then close the browser tab
  • follow a DiscussionTools permalink to a comment on a different part of the same page

What happens?:
The page loads with the permalinked comment centered in the viewport, then immediately scrolls the open comment box with your unfinished comment into view.

What should have happened instead?:
The permalink should take priority and the viewport should remain centered on the comment specified in the anchor.

Other information (browser name/version, screenshots, etc.):
Chrome 115 / Windows 11.

Event Timeline

Tgr updated the task description. (Show Details)

Per conversation with @DLynch, we're going to start with doing the following: upon landing on a page to which people are following a permalink to, take them to the comment that corresponds to the permalink and show the Return to reply affordance [i] so that they can, theoretically, know why Reply links on the page are inactive.


i.

Screenshot 2023-08-10 at 8.34.47 AM.png (162×554 px, 29 KB)