-
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
Custom Dashboard Panel Title #7336
Conversation
@tbragin I would like you to try your hand at this please. I think after playing with it some more perhaps it should reset to the chart title. |
I changed the reset to change it back to the visualizations title, instead of the last dashboard title saved. Also added some tests. |
I'm a little confused. The PR description says "Sets the dashboard title as a property on the uiState for a particular panel." I think I understand that this is not editing the name of the Dashboard itself, but of the visualizations that are added to the dashboard. So does that mean a visualization has 2 titles? If there's a separate "Visualization Dashboard title"; |
@LeeDr Yes, the title being set here is per panel, and independent of the visualization. A lot like how the legend and spy panel work. If you add the same visualization to the same dashboard, or different ones it's unaware of the other's current state. Everything you wrote is pretty much spot on. |
@panda01 If these are custom notes per visualization instance on a dashboard, perhaps we should name this PR as such? Right not the name "custom dashboard title" is a bit confusing to me. I'll have to play with it some to provide further feedback. One question I have is what do long titles look like? Do they wrap? Run off screen? Is this really about re-titling something or about adding potentially long arbitrary notes (as one might with a markdown widget)? |
@tbragin nope this would be for only the title, notes would be another text field that can be changed and is possibly hidden until you hover over it. In regard to long titles, well What i did was just add a input box that is has a transparent border when it doesn't have focus essentially rendering it invisible. So my guess would be that it doesn't wrap and rather just cuts off if the panel isn't wide enough. |
Jenkins, test it. |
One feature I think I think I should add to this is having some kind of indicator so that people realize they can change the title now. Not really sure what form that should take though. |
Jenkins, test it. |
Can one of the admins verify this patch? |
@acs If you're interested in picking this up, that'd be awesome! I recommend branching from this and opening a new PR. Just link back to this one so we know to close it. |
@acs At the very least, this will need to be rebased on the latest master and the conflicts will need to be resolved. It could probably benefit by some sort of visual indication that you can edit titles as well. Those would be the most immediate things that come to mind, but there may be more that comes up in review. |
After further discussion, this doesn't really fit with the direction that we intend the dashboard to go in the immediate future. Since this PR hasn't seen any activity for a while, I'm going to close out this PR. |
@kobelb some pointer about the direction in which the dashboard is going related to title customization? Thanks! |
@acs we've been discussing introducing groups/containers/rows to the dashboard, and these would allow the user to enter in a 'title/description' for the specific group; which we're hoping will address a number of the use-cases for this functionality. To elaborate on our concerns I briefly mentioned before; currently, visualizations/dashboard are separate sections of Kibana and the title that is entered in the visualization editor is what's being displayed on the dashboard. The functionality that this PR introduced allowed a separate title/description to be set for a visualization, that shadowed the visualization title. We're concerned that this 'shadowing' behavior could cause confusion for the user; and we're also concerned that changing this functionality to change the visualization title itself (which is then reflected in the visualization section, and possibly other dashboards) could cause it's own confusion. |
@kobelb thanks for the explanation. Once this feature is included in Kibana we will test it to see if it addressed our use case. And yes, we have troubles with the 'shadowing' (or 'customization') of the title, but the feature is critical for us so our customer understand what is included in the visualization (something that depends in the config of the visualization and the data being showed). I am not sure how much this custom title for groups/containers/rows will help. I need to see it in action :) |
Can one of the admins verify this patch? |
Any news about it? |
Implements #3393
Dashboard Title.
Closes #3393.
Re-implimintation of #5607.