Skip to content

Highlight currently focused/viewed file in file tree

When there are many files to review and using the file tree to jump between them, I want to know which file I am looking at currently and which files I've reviewed and which I haven't.

Phabricator's Differential review interface has a visual queue for the currently focused/viewed file.

Phabricator screenshot
Phabricator
file-treeview

Proposal

  • Add visual style for currently viewed diff/file
  • Add visual style for unread diffs – we do not need to store this information in the first iteration, page load will reset state
Mockup: unread files Mockup: read with active state
Screen_Shot_2019-05-31_at_2.15.31_PM Screen_Shot_2019-05-31_at_2.17.06_PM

Links / references

https://gitlab.slack.com/archives/CCB575BGT/p1539174145000100?thread_ts=1539166636.000100&cid=CCB575BGT

Edited by James Ramsay (ex-GitLab)