Page MenuHomePhabricator

Update Audit to use Cards in ObjectList
ClosedPublic

Authored by chad on May 1 2014, 9:17 PM.
Tags
None
Referenced Files
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
F14013130: D8935.id.diff
Sat, Nov 2, 1:27 AM
F14011861: D8935.diff
Fri, Nov 1, 5:32 AM
F14007262: D8935.id.diff
Tue, Oct 29, 2:42 AM
F14005221: D8935.diff
Sun, Oct 27, 9:28 AM
F13999950: D8935.diff
Thu, Oct 24, 6:12 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
Branch
audit-cards
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 174
Build 174: [Placeholder Plan] Wait for 30 Seconds

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
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
82

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

src/applications/audit/view/PhabricatorAuditListView.php
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()