1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src/applications/settings
epriestley 4c7370a1a3 Make the filetree view width sticky across show/hide and reload
Summary:
Ref T13090. The default width changed recently to become much wider, but the behavior on this control isn't great. Instead:

  - Pick a default width somewhere between the two.
  - Make the width sticky across show/hide (pressing "f" twice remembers your width instead of resetting it).
  - Make the width sticky across reloads (dragging the bar, then reloading the page keeps the bar in the same place).

Test Plan:
  - Without settings, loaded page: got medium-width bar.
  - Dragged bar wide/narrow, toggled on/off with "f", got persistent width.
  - Dragged bar wide/narrow, reloaded page, got persistent width.
  - Dragged bar wide/narrow, toggled it off, reloaded page, toggled it on, got persistent width.

Maniphest Tasks: T13090

Differential Revision: https://secure.phabricator.com/D19129
2018-02-22 13:47:41 -08:00
..
action Add semi-generic rate limiting infrastructure 2014-04-03 11:22:38 -07:00
application Mark "Settings" and "Nuance" as launchable applications 2017-06-01 12:40:25 -07:00
controller Align first nav item in settings 2017-08-29 09:40:49 -07:00
editor Update EditEngine pages to take a page header separate 2017-09-05 20:07:11 -07:00
panel Add Owners Package support for "Commit Hook: Content" Herald rules 2018-02-16 09:49:24 -08:00
panelgroup Align first nav item in settings 2017-08-29 09:40:49 -07:00
phid Make Settings modular and allow them to be EditEngine'd 2016-05-31 15:32:02 -07:00
query Fix spelling 2017-10-09 10:48:04 -07:00
setting Make the filetree view width sticky across show/hide and reload 2018-02-22 13:47:41 -08:00
storage Allow logged-out users to load global preferences on installs without public viewers 2016-12-05 11:00:39 -08:00