Page MenuHomePhabricator

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

Authored by epriestley on Jun 14 2015, 5:11 PM.
Tags
None
Referenced Files
F14401166: D13282.diff
Sun, Dec 22, 9:26 PM
Unknown Object (File)
Thu, Dec 5, 4:42 AM
Unknown Object (File)
Tue, Dec 3, 11:05 PM
Unknown Object (File)
Wed, Nov 27, 8:34 PM
Unknown Object (File)
Nov 22 2024, 11:07 AM
Unknown Object (File)
Nov 19 2024, 4:59 AM
Unknown Object (File)
Oct 22 2024, 5:35 AM
Unknown Object (File)
Oct 16 2024, 8:18 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.