Page MenuHomePhabricator

Begin separating inline comment scaffolding from other renderers
ClosedPublic

Authored by epriestley on Mar 6 2015, 1:48 PM.
Tags
None
Referenced Files
F19915228: D11997.diff
Fri, Apr 3, 5:44 PM
F19894077: D11997.id.diff
Sat, Mar 28, 12:08 PM
F19542446: D11997.id28897.diff
Jan 22 2026, 9:30 AM
F19060042: D11997.id28885.diff
Nov 29 2025, 7:43 AM
F19055381: D11997.id.diff
Nov 28 2025, 5:18 PM
F19046621: D11997.diff
Nov 27 2025, 11:11 AM
F18821998: D11997.id.diff
Oct 23 2025, 3:26 AM
F18817169: D11997.diff
Oct 21 2025, 1:09 PM
Subscribers

Details

Summary

Ref T2009. Inline comments have "scaffolding", which is basically some empty table cells/rows around them to get the layout correct.

The scaffolding depends on the renderer, since the cells are different for side-by-side vs unified diffs.

This is currently duplicated all over the place:

  • Edit view has 1up/2up.
  • Detail view has 1up/2up.
  • 1up renderer has 1up.
  • 2up renderer has four separate copies of the 2up logic.

These all have subtle differences, which are mostly bugs. Start making the scaffolding more composable so we can get rid of that mess.

Test Plan

Added, edited, and removed inline comments on unified and side-by-side diffs.

Diff Detail

Repository
rP Phabricator
Branch
uni17
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4784
Build 4800: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Begin separating inline comment scaffolding from other renderers.
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.Mar 6 2015, 10:58 PM
This revision was automatically updated to reflect the committed changes.