2 Commits

Author SHA1 Message Date
Kasper Nilsson
1fc8edf5c9 Fix some styles with diff mode selector
Change-Id: I06642afcba42deee9590eae96b146401ea1d7220
2018-02-21 10:28:59 -08:00
Wyatt Allen
ffae724134 Save diff mode preference when toggled
Introduce the gr-diff-mode-selector which componentizes the diff mode
buttons already used in the file list and adds them to the diff view.
With this new component, when authenticated users change their diff
preference using the new selector (or by the 'm' keyboard shortcut), the
new mode is saved to their preferences. Unauthenticated users see no
change in diff mode preference persistence.

The diff selector is now consistently labeled as "Diff view" rather than
as "Diff views".

Bug: Issue 8144
Change-Id: I4b30714deb9a466e707b3d4ae90c1d4c60222c64
2018-02-15 11:43:10 -08:00