Page MenuHomePhabricator

Hidden inlines don't work properly with anchor-based navigation
Closed, ResolvedPublic

Description

If an inline comment is hidden as per D13009:

  • Clicking that comment's line number in the summary table no longer takes me to that portion of the diff
  • The "previous" / "next" buttons don't work on inline comments if the previous / next comment is hidden, even when visible comments exist beyond that one
  • Other anchor-based links to it don't work.

Event Timeline

staticshock raised the priority of this task from to Needs Triage.
staticshock updated the task description. (Show Details)
staticshock added a project: Differential.
staticshock added a subscriber: staticshock.
staticshock renamed this task from Line number in inline summary table doesn't take you to the line if the comment is hidden to Hiding comments breaks inline comment navigation.Jun 9 2015, 6:06 PM
staticshock updated the task description. (Show Details)
epriestley renamed this task from Hiding comments breaks inline comment navigation to Hidden inlines don't work properly with anchor-based navigation.Jun 20 2015, 12:14 PM
epriestley updated the task description. (Show Details)
epriestley added a subscriber: epriestley.

I didn't really implement anchor integration properly because I wasn't sure that hiding was going to stick, but I think hiding is pretty good.

Hiding is completely essential. If you have 10 lines of code with 5 comments, where there are say 1 reply each, All the comments inline make it impossible to read the code anymore. Inline comments are not helpful for larger more complex code where the reviewer needs to reason about more than 1 line of code.

eadler added a project: Restricted Project.Jul 7 2016, 5:14 PM