Page MenuHomePhabricator

Link search query to Dashboard header title
ClosedPublic

Authored by chad on Dec 18 2014, 4:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 1:57 AM
Unknown Object (File)
Fri, Dec 6, 2:52 PM
Unknown Object (File)
Fri, Dec 6, 1:52 AM
Unknown Object (File)
Thu, Dec 5, 11:14 PM
Unknown Object (File)
Sun, Dec 1, 8:31 PM
Unknown Object (File)
Nov 19 2024, 9:21 AM
Unknown Object (File)
Oct 22 2024, 8:39 PM
Unknown Object (File)
Oct 20 2024, 6:35 AM

Details

Summary

Makes the header text clickable to the full results.

Test Plan

Click on a few queries.

Diff Detail

Repository
rP Phabricator
Branch
arcpatch-D9282
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3284
Build 3291: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

chad retitled this revision from to Link search query to Dashboard header title.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
227–235

Can we drop this try/catch? It's unusual to silence an exception like this. Is there any reason this exception should occur normally?

It was from your previous diff, so I had left it in.

epriestley edited edge metadata.

Oh. Dunno why I did that, let's see how it goes.

This revision is now accepted and ready to land.Dec 18 2014, 4:38 PM
This revision was automatically updated to reflect the committed changes.

fwiw, i tried various icons/text on the right of the header and all were very heavy. I linked the title which is actually helpful, but hidden. I would possibly like to display the result count in the header like:

Open Tasks (12 of 82)

Or just:

Open Tasks (82)

Is getting counts reasonable? I'm fine with (99+) type limitations.

It's not straightforward given how the queries work right now, but we could implement it in the future without tooooo much trouble.

One vague concern is that showing "10 of 99+" makes the panel approximately 10x more expensive to build. Just showing some kind of "there are more results" at the bottom-ish might accomplish the same thing but only require us to load one extra object?

Will tab panels be supported in future. Right now when panel is included as tab on tab panel, then clicking on tab will switch to that tab, which is correct.

Maybe we can add "Show All" link at the bottom of the panel when it's included as part of tab panel?