Page MenuHomePhabricator

Update Audit to use Cards in ObjectList
ClosedPublic

Authored by chad on May 1 2014, 9:17 PM.
Tags
None
Referenced Files
F13814346: D8935.id21201.diff
Thu, Sep 19, 5:17 AM
Unknown Object (File)
Sun, Sep 15, 9:23 PM
Unknown Object (File)
Mon, Sep 2, 3:52 PM
Unknown Object (File)
Mon, Aug 26, 7:08 AM
Unknown Object (File)
Sat, Aug 24, 4:13 PM
Unknown Object (File)
Thu, Aug 22, 9:56 PM
Unknown Object (File)
Thu, Aug 22, 9:56 PM
Unknown Object (File)
Thu, Aug 22, 9:56 PM
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()