Page MenuHomePhabricator

Update Audit to use Cards in ObjectList
ClosedPublic

Authored by chad on May 1 2014, 9:17 PM.
Tags
None
Referenced Files
F14059578: D8935.diff
Sun, Nov 17, 8:34 PM
F14047913: D8935.diff
Thu, Nov 14, 5:46 AM
F14045048: D8935.id21199.diff
Wed, Nov 13, 12:16 AM
F14039441: D8935.id21199.diff
Mon, Nov 11, 5:39 AM
F14036343: D8935.diff
Sun, Nov 10, 9:48 AM
F14021928: D8935.diff
Wed, Nov 6, 2:03 PM
F14013132: D8935.id21199.diff
Sat, Nov 2, 1:27 AM
F14013131: D8935.id21201.diff
Sat, Nov 2, 1:27 AM
Subscribers

Details

Summary

For general consistency with Differential / other application searches. May look at "Cards" as the default view for everything.

Test Plan

Reload my Audit page, easier to read and find status colors.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

chad retitled this revision from to Update Audit to use Cards in ObjectList.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
btrahan edited edge metadata.
btrahan added inline comments.
src/applications/audit/view/PhabricatorAuditListView.php
81–82

remove this and its good to ship

also, not sure if you want this setFlush business or not

This revision is now accepted and ready to land.May 1 2014, 9:28 PM
chad updated this revision to Diff 21201.

Closed by commit rPda5f22172c57 (authored by @chad).

Should we just make Cards the default and remove the non-card style? I don't know when I'm supposed to use one or the other.

Generally the idea is they are "Objects", things that lead to an Object/Property List type view that you can then interact, and plain where its just a list of things/pages to visit, like Config. There are probably some styles we could consolidate here, as there's not a real need for so many.

src/applications/audit/view/PhabricatorAuditListView.php
81–82

where do these get displayed? or they just aren't working?

src/applications/audit/view/PhabricatorAuditListView.php
81–82

they get used for the homepage boxes IIRC.

this buildList() method is something I added to not have setFlush and setCards, which both looked different than what Audit had before, and also keeping it looking the same on the home page.

no need to setX twice, and I would personally be mislead into thinking buildList would not setCards(true) if I just saw it done (and little else) in render()