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)
Tue, Dec 10, 4:33 PM
Unknown Object (File)
Sat, Dec 7, 7:47 AM
Unknown Object (File)
Sat, Dec 7, 7:47 AM
Unknown Object (File)
Sat, Dec 7, 1:22 AM
Unknown Object (File)
Fri, Dec 6, 3:53 AM
Unknown Object (File)
Wed, Nov 27, 7:53 PM
Unknown Object (File)
Sun, Nov 24, 3:41 AM
Unknown Object (File)
Nov 16 2024, 1:14 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.