1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/differential
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
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
application Make Facts more modern, DRY, and dimensional 2018-02-19 12:05:19 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
command Define Differential email action in terms of EditEngine 2017-01-02 13:25:45 -08:00
conduit Remove legacy transaction editor "getDisableEmail()" method 2018-01-19 13:23:06 -08:00
config Add yaml files to differential.whitespace-matters 2017-11-15 11:57:11 -08:00
constants Include "Draft" revisions in Differential legacy status queries 2017-11-07 15:35:33 -08:00
controller Make the filetree view width sticky across show/hide and reload 2018-02-22 13:47:41 -08:00
customfield Make Harbormaster buildable status more of a nice flexible map and less of a bunch of switch statements 2018-02-12 12:18:06 -08:00
doorkeeper Reduce callsites to "ArcanistDifferentialRevisionStatus" in Phabricator 2017-08-09 11:04:52 -07:00
edge Provide revision parent/child edges in edge.search, and more information in differential.revision.search 2017-11-07 15:34:31 -08:00
editor Update buildable containerPHIDs in a proper way via BuildWorker rather than via sneaky uncoordinated write 2018-02-12 12:18:52 -08:00
engine Completely remove the legacy hunk table 2018-02-10 16:12:50 -08:00
engineextension Fix a mail stamp issue with blocking reviewers 2018-02-13 17:56:21 -08:00
exception Remove an unused class 2015-01-03 09:07:32 +11:00
field Move misplaced validation for ambiguous fields in "Test Plan" to the right place 2017-06-30 06:36:05 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
herald Don't allow Herald Diff rules to "Call Webhooks" 2018-02-12 17:52:05 -08:00
lipsum Rename "getReviewerStatus()" to "getReviewers()" 2017-03-20 17:11:40 -07:00
mail Rename "needReviewerStatus()" into "needReviewers()" 2017-03-20 16:46:16 -07:00
management Completely remove the legacy hunk table 2018-02-10 16:12:50 -08:00
parser Completely remove the legacy hunk table 2018-02-10 16:12:50 -08:00
phid Make all revision status readers explicitly read modern or legacy status 2017-08-11 17:22:22 -07:00
query Completely remove the legacy hunk table 2018-02-10 16:12:50 -08:00
relationships Convert all standard relationship-editing actions to modern Relationships code 2016-06-29 11:24:52 -07:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
render Add aural "+" and "-" hints to unified diffs for users who use screenreaders 2017-10-20 11:09:46 -07:00
search Reduce the amount of boilerplate that implementing FerretInterface requires 2017-09-07 13:23:31 -07:00
storage Update buildable containerPHIDs in a proper way via BuildWorker rather than via sneaky uncoordinated write 2018-02-12 12:18:52 -08:00
typeahead Fix spelling 2017-10-09 10:48:04 -07:00
view Make the filetree view width sticky across show/hide and reload 2018-02-22 13:47:41 -08:00
xaction Allow "arc diff --plan-changes" to work with drafts enabled 2018-02-12 13:15:13 -08:00
DifferentialGetWorkingCopy.php Extend from Phobject 2015-06-15 18:02:27 +10:00