Page MenuHomePhabricator

Link search query to Dashboard header title
ClosedPublic

Authored by chad on Dec 18 2014, 4:19 AM.
Tags
None
Referenced Files
F13993098: D11008.id26435.diff
Tue, Oct 22, 8:39 PM
F13983450: D11008.id.diff
Oct 20 2024, 6:35 AM
F13964758: D11008.id26432.diff
Oct 15 2024, 9:47 PM
F13957820: D11008.id.diff
Oct 14 2024, 11:29 AM
Unknown Object (File)
Sep 14 2024, 3:40 AM
Unknown Object (File)
Sep 14 2024, 3:39 AM
Unknown Object (File)
Sep 14 2024, 3:39 AM
Unknown Object (File)
Sep 14 2024, 3:39 AM

Details

Summary

Makes the header text clickable to the full results.

Test Plan

Click on a few queries.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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?