-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard-specific visualization title #3393
Comments
3 of the 4 points here have tickets already, so I've changed the title of this ticket to just reflect the desire to customize the panel title independent of the visualization name |
👍 |
👍 +1000 |
👍 yes please, it's a real hassle when you need to change the name of the panel because it creates a different visualization and then you need to upgrade all your dashboards :( |
+1 |
1 similar comment
+1 |
Working on it ... I hope to have a PR next week. |
👍 |
+1 |
Any news on this? |
+1 |
👍 |
We already have a 'title' attribute in each saved object, including visualizations. Should we be using that? |
@tbragin yes we added this option (ability to change the title) to visualization.. |
@ohTHATaaronbrown @carlosvega and others... do you feel ability to set title independent of vis name is still important now that we decoupled title from object ID in this PR? #9333 |
@tbragin Correct me if I'm misunderstaning anything, but it's still very useful to have a separate visualisation name independent of the title, as you may want to use the same vis in various contexts, hence with different names on different dashboards. You also may want to have various visualisations with the same title but based on different saved searches underneath for different dashboards. |
@Dom-nik That change is coming in 5.2 (#9087) For cases when the same visualization is re-used in completely different context, I can still see a case for a dashboard-specific title for that visualization, but I wonder how common that is. I was wondering what the motivation was originally for users that filed this request a while back, and whether it will be as as important if the ID and title are decoupled. It seems at least from some comments (e.g. this one #3393 (comment), that tight coupling between ID and title was the problem. |
@tbragin commented:
We have several use cases for having different titles for the same visualization in different contexts. In short, all of them come to the fact that the name of the visualization is always in the context of a certain dashboard. That dashboard sort of define a "context name". Even when the same visualization makes sense in two dashboards, its name may be very different. For example, consider this Overview dashboard for the Rust development project: You may notice that top left "Git" visualization. In this context (a summary of the project), it makes sense it to be tittled "Git", because it is just a summary of metrics related to Git. Now, consider the Git dashboard for the same project. Again top left, the same visualization (different arrangement, different filters, but it is the same underlying visualization). In this case, the whole dashboard is titled "Git". So it doesn't make sense to have a visualization with that title. On the contrary, given that the context is already "Git", this visualization could better be "Summary", or something like that. In summary, I find both decouplings pretty useful. On the one hand, having titles different from the visualization id. On the other, having different tittles for the same visualization in different dashboards. Of course, each visualization could have a "default" title (the one defined when producing it), that would be shown by default in all dashboards, except that it is edited in one (or all) of the dashboards. Please, let me know if you need clarifications or more use cases. |
@tbragin Thanks for your answers! I will change the route a bit and describe what is our original problem, it's not actually a visualisation reusing case, like @jgbarah, but I believe the solution could be the same. We have a set of 8 dashboards (and another 8 planned), each based on a separate filtered alias, which require common visualisations (but based on their respective aliases). We would like to have simple names, but right now if we want to keep consistent naming, we end up with 8 visualisations of each kind having the same title, which are very hard to distinguish while we are developing stuff - they all appear with the same name in the 'Management' panel, etc. That's why I thought that having the possibility of renaming visualisations on dashboard level (basically giving them visible labels) would be very useful (and quite easy to implement I guess, expanding each element in the panelsJSON array with a "label" element that would be displayed above the actual visualisation). This way we can give each vis a distinguishing name in the backend (containing an identifier of the dashboard it belongs to or something), but keep it's displayed name short on the dashboard itself. No offence, but that's exactly what Splunk offers - you can change each viusalisation's label straight on the dashboard and manage the final dashboard's look from the dashboard edition panel. It's very useful. |
@Dom-nik It sounds like your situation could be resolved if we made it easier to distinguish between visualizations of the same title. Is that accurate? This is something that is on our radar. We are thinking of adding creation date/last modified to the table to do so, but perhaps even better would be an optional description field ? |
@stacey-gammon if you mean adding an optional "Description" field to the entry corresponding to each visualization in a dashboard, that could very likely solve our scenarios as well if it included a tick to make it the title of the visualization in that table (but maybe that's too similar to having an optional title field, that if present would just substitute the title for the visualization, and would be editable in the dashboard). |
@stacey-gammon It would be a good start, for sure, I also remember there was an idea to add tags to saved objects and that's also a good idea, but these are still quite simplistic.
Sum-up: in my opinion Kibana could be a bit more dashboard-centric or at least each dashboard should have visualisation naming and general comments/descriptions of it's own. |
via @derickson Speaking from personal experience: I find that I have to name my visualizations and dashboards for organizational purposes when I have dozens or hundreds of visualizations to manage, mostly because of the search interface to find things rather than a folder structure. This adds to a lot of clutter and extra markdown widgets to explain things. Having a "pretty display" title for a visualization that is separate from the unique organizational name would be very useful. |
+1 I have a lot of dashboards with many visualizations. The meaning of all visualizations in context of particular dashboards may be different. It would be better to name the visualization in each dashboard differently. The default name would remain from the visualization definition, of course :-) |
+1 Currently (Elastic 5.5), the visualization titles in my dashboards are too verbose, because my visualization titles begin with phrases that duplicate the context provided by the dashboard title. For example, here's a list of some of my visualization titles: CICS transaction average DB2 elapsed time I deliberately begin each visualization title with a phrase that, when the titles are listed alphabetically, groups "related" visualizations (I can describe what I mean by "related" here, if asked) together. This has a number of advantages, including making it easier for me to develop a bunch of visualizations for a new dashboard, and then quickly add them to the dashboard, by filtering the list of visualizations by that common phrase. However, in the dashboard, those initial phrases on the visualization titles are redundant. The dashboard title begins with a similar phrase, such as "CICS transaction...", so I don't want each viz title to also begin "CICS transaction...". |
+1 |
1 similar comment
+1 |
cc @snide @cjcenizal -- this is the mockup I have so far: Though KuiContextMenu throws a warning bc I am using a button inside it. Not sure how best to address this... The icon is to "reset" the title back to sync with the saved visualization title. Maybe KuiContextMenu shouldn't use a button if no |
@stacey-gammon How about we add a menu-item called "Edit panel >" and when you click it another panel opens up which contains a form with a field for the title and a save button? There's an example in the UI Framework docs that's like this. |
Fixed by #14831 |
Visualizations are sorely lacking in the customization department.
I'd like the ability to add titles to slices of pie charts(Part of Configurable filter/range legend values #2245)I'd like the ability to set font sizes for elements like title, and legend(Duplicate of Configurable font size #2207)I'd like some control over color palettes. v3 used to let me set a color per query, then it'd use a graduated palette based on that color. v4 gives me precisely zero control over a crayola-crayon-based palette.Duplicate of (Color palette selection #1362)The text was updated successfully, but these errors were encountered: