Page MenuHomePhabricator

Restore "h" to hide or show files, and modernize file visibility toggling
ClosedPublic

Authored by epriestley on May 17 2017, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 2:59 PM
Unknown Object (File)
Tue, Nov 19, 12:06 PM
Unknown Object (File)
Oct 22 2024, 12:42 AM
Unknown Object (File)
Oct 15 2024, 6:08 PM
Unknown Object (File)
Oct 15 2024, 5:59 PM
Unknown Object (File)
Sep 28 2024, 6:06 AM
Unknown Object (File)
Sep 21 2024, 12:44 AM
Unknown Object (File)
Sep 14 2024, 2:33 AM
Subscribers
None

Details

Summary

Ref T12616. This puts "h" back to collapse or expand the current file.

This removes some very complicated/messy code around following links in the table of contents and getting files auto-expanded. I suspect no one will miss this, but we can restore it if ayone notices.

Test Plan

Pressed "h" to collapse/expand a file. Also used the menu items.

Diff Detail

Repository
rP Phabricator
Branch
inline24
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17068
Build 22824: Run Core Tests
Build 22823: arc lint + arc unit

Event Timeline

webroot/rsrc/css/application/differential/changeset-view.css
328

This at least makes the weird collapsed state a little less weird/goofy looking (see T12688).

webroot/rsrc/js/application/diff/DiffChangesetList.js
369–386

Oops, some copy-paste slipup nonsense here, one sec.

  • Copy/paste with greater finesse.
This revision is now accepted and ready to land.May 18 2017, 3:02 PM
This revision was automatically updated to reflect the committed changes.