Page MenuHomePhabricator

Separate "Revision" and "Diff" fields in Differential
ClosedPublic

Authored by epriestley on Jun 14 2015, 5:11 PM.
Tags
None
Referenced Files
F13233143: D13282.diff
Tue, May 21, 1:44 AM
F13223356: D13282.id32109.diff
Sun, May 19, 4:31 AM
F13216631: D13282.id32199.diff
Sat, May 18, 1:40 AM
F13211586: D13282.diff
Fri, May 17, 5:54 AM
F13195272: D13282.diff
Sun, May 12, 10:16 PM
F13182912: D13282.diff
Fri, May 10, 5:01 AM
F13178076: D13282.diff
Wed, May 8, 8:09 PM
Unknown Object (File)
Mon, May 6, 10:27 AM

Details

Summary

Fixes T5138. Some of the "revision" properties are really "diff" properties, but we only show the properties for the most recent / current diff.

  • Immediately, this makes it hard or impossible to review, e.g., lint/unit results for older diffs.
  • Longer-term, these limits will become more problematic with more data on diffs after Harbormaster.

Instead, separate "revision" from "diff" properties.

(In the long term, it might make sense to show more diffs in this panel -- e.g., tabs for the 8 most recent updates or something -- but I went with the simplest approach for now since I don't have a clean way to deal with 100-update revisions offhand.)

Test Plan

Screen Shot 2015-06-14 at 9.53.57 AM.png (808×1 px, 122 KB)

Diff Detail

Repository
rP Phabricator
Branch
harbor1
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/differential/customfield/DifferentialLintField.php:35XHP16TODO Comment
Advicesrc/applications/differential/customfield/DifferentialUnitField.php:35XHP16TODO Comment
Advicesrc/applications/harbormaster/event/HarbormasterUIEventListener.php:35XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 6746
Build 6768: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Separate "Revision" and "Diff" fields in Differential.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.

In a future change, "Download Raw Diff" could also probably move down, and "Update Diff" might make sense as a button on the lower box. These were slightly nontrivial for now and I'm not totally sure where else the panel is going, so I didn't bother yet.

This revision is now accepted and ready to land.Jun 15 2015, 6:49 PM
This revision was automatically updated to reflect the committed changes.