Page MenuHomePhabricator

Close pholio mocks
ClosedPublic

Authored by lpriestley on May 15 2014, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 3:05 AM
Unknown Object (File)
Fri, Apr 5, 6:51 AM
Unknown Object (File)
Sun, Mar 31, 5:18 PM
Unknown Object (File)
Mar 30 2024, 7:01 PM
Unknown Object (File)
Mar 27 2024, 8:07 PM
Unknown Object (File)
Mar 24 2024, 9:34 AM
Unknown Object (File)
Mar 16 2024, 4:12 AM
Unknown Object (File)
Mar 10 2024, 8:03 PM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T4299: Close/remove mocks in Pholio
Commits
Restricted Diffusion Commit
rP3d457a53be60: Close pholio mocks
Summary

Fixes T4299, Add status dropdown to mock edit view

Test Plan

Edit mock, close mock, thumbnail title should read (Disabled). Default mocks list should show only open mocks.

Diff Detail

Repository
rP Phabricator
Branch
closemocks
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 516
Build 516: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

lpriestley retitled this revision from to Close pholio mocks.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
src/applications/pholio/query/PholioMockSearchEngine.php
123

I'm worried if this gets cut off in long titles? Don't recall the CSS offhand.

epriestley edited edge metadata.

One inline.

src/applications/pholio/phid/PholioPHIDTypeMock.php
45

This should only be if ($mock->getStatus() == 'closed') (or maybe write $mock->isClosed() to future-proof this a little).

src/applications/pholio/query/PholioMockSearchEngine.php
123

(We're doing the same thing in Macro right now, the pinboards just don't have a "disabled" style yet.)

This revision now requires changes to proceed.May 15 2014, 9:52 PM
lpriestley edited edge metadata.

Code review reply

epriestley edited edge metadata.

Two tiny inlines.

src/applications/pholio/controller/PholioMockViewController.php
70

This can use isClosed() now.

src/applications/pholio/query/PholioMockSearchEngine.php
122

As above.

This revision now requires changes to proceed.May 17 2014, 2:34 AM
lpriestley edited edge metadata.

Using new mock->isClosed()

This revision is now accepted and ready to land.May 19 2014, 6:33 PM
epriestley updated this revision to Diff 21847.

Closed by commit rP3d457a53be60 (authored by @lpriestley, committed by @epriestley).