Page MenuHomePhabricator

Consolidate changeset rendering logic
ClosedPublic

Authored by epriestley on May 25 2014, 2:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 2:16 PM
Unknown Object (File)
Fri, Dec 13, 2:36 AM
Unknown Object (File)
Tue, Nov 26, 11:14 PM
Unknown Object (File)
Mon, Nov 25, 8:01 PM
Unknown Object (File)
Nov 17 2024, 7:00 PM
Unknown Object (File)
Nov 13 2024, 4:12 PM
Unknown Object (File)
Nov 9 2024, 9:31 PM
Unknown Object (File)
Oct 29 2024, 10:40 PM
Subscribers

Details

Summary

Ref T5179. Currently, all the changeset rendering logic is in the "populate" behavior, and a lot of it comes in via configuration and is hard to get at.

Instead, surface an object which can control it, and which other behaviors can access more easily.

In particular, this allows us to add a "Load/Reload" item to the view options menu, which would previously have been very challenging.

Load/Reload isn't useful on its own, but is a step away from "Show whitespace as...", "Highlight as...", "Show tabtops as...", "View Unified", "View Side-By-Side", etc.

Test Plan
  • Viewed Differential.
  • Viewed Diffusion.
  • Viewed large changesets, clicked "Load".
  • Used "Load" and "Reload" from view options menu.
  • Loaded all changes in a large diff, verified "Load" and TOC clicks take precedence over other content loads.
  • Played with content stability stuff.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Consolidate changeset rendering logic.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 3 2014, 10:10 PM
epriestley updated this revision to Diff 22325.

Closed by commit rP7d0d6fbcf2e4 (authored by @epriestley).