- Create a Tab1 panel.
- Create EmbeddedPanel and use it in Tab1 panel.
- Create Dashboard1 using Tab1 panel.
EXPECTED
If you go to EmbeddedPanel you can see that Dashboard1 is using it.
ACTUALLY
"This panel does not appear on any dashboards."
EXPECTED
If you go to EmbeddedPanel you can see that Dashboard1 is using it.
ACTUALLY
"This panel does not appear on any dashboards."
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T13083 Plans: Portals and Facts | ||
Open | epriestley | T13272 Remove the hard-coded homepage, and other Dashboards improvements | ||
Resolved | None | T6018 Panels used by Tab panels appear as "This panel does not appear on any dashboards." |
This is technically true in a very indirect sense, but not very user-friendly or helpful.
I don't think there is much value here in having "appears on", since panels work on dashboards, other panels, or any remarkup, anywhere. Does anyone have a good reason to keep this function? I could create an edge for panel -> panel if we want to keep something like this. But I'm concerned if the point is to "prune" panels, then we'd need to maybe build out mentions as well.
If we make the permission changes discussed elsewhere (T8033, I think?), this might just become something like a containerPHID which points at a Dashboard for panels created from dashboards, another Panel for panels embedded in panels, and null for standalone panels.
The change I imagined there was:
If I add "short name" as an optional Panel field, I could get rid of naming tabs. Then you just have to select a bunch of panels.
As long as you're selecting existing panels in any interface, we're stuck with the problem in T8033. I think we can only fix that elegantly by removing all interfaces where you select panels, and replacing them with interfaces where you create panels.
frickin' tab panels make everything 10x harder.
ok - i'll work on unwinding policy stuff
Getting rid of all "Select Existing Panel" flows also makes simplifying the "Run a query -> turn it into a panel -> put it on a dashboard" workflow a bit more of a mess, especially if we want to try to do "run a query -> turn it into a panel -> add it to a tab panel". But I think in the long term making the T8033 problem impossible and then trying to do our best with the "query -> panel -> dashboard" flow is the best bet.
Like, in the worst case, the flow could go like this:
I want it to work like like installing to home does basically, see query, click add, confirm, get take to arrange with the panel built and added.
Yeah, and the sane version (add to dashboard, not to tab panel) is probably not too awful and won't really make fixing T8033 any harder.
I imagine Facts will have similar workflows. The easier we can make it, the less worried I am about re-using panels.