Page MenuHomePhabricator

Make "Land Revision" button state consistent, prevent non-accepted lands
ClosedPublic

Authored by epriestley on Oct 27 2015, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 10:51 PM
Unknown Object (File)
Fri, Apr 19, 7:45 PM
Unknown Object (File)
Fri, Apr 19, 3:50 PM
Unknown Object (File)
Mon, Apr 15, 9:25 AM
Unknown Object (File)
Sun, Apr 7, 11:13 PM
Unknown Object (File)
Mon, Apr 1, 8:41 AM
Unknown Object (File)
Mar 5 2024, 6:59 PM
Unknown Object (File)
Mar 5 2024, 6:59 PM
Subscribers
None

Details

Summary

Ref T182. Make the disabled state of the button more accurately reflect whether clicking it will work.

Don't allow "land" to proceed unless the revision is accepted.

Test Plan

Saw button in disabled state, clicked it, got "only accepted revisions" message.

Diff Detail

Repository
rP Phabricator
Branch
ldocs2
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/drydock/operation/DrydockLandRepositoryOperation.php:218XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 8449
Build 9718: Run Core Tests
Build 9717: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Make "Land Revision" button state consistent, prevent non-accepted lands.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 27 2015, 6:47 PM

Tried to irresponsibly land this and failed.

That conflict is semi-legit with the current strategy, lemme update and then you can try again.

This revision was automatically updated to reflect the committed changes.