[Time To Visualize] Edit Panel Title On Click#81076
[Time To Visualize] Edit Panel Title On Click#81076ThomThomson merged 8 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/kibana-canvas (Team:Canvas) |
streamich
left a comment
There was a problem hiding this comment.
Code LGTM.
What do you think about creating a new TITLE_CLICK_TRIGGER trigger, so that anyone would be able to attach actions to it?
|
The main idea with this one is to lower the number of clicks required - if we created a trigger, potentially there could be multiple actions registered correct? Then we'd have to render a popover to show them - which would kind of defeat the purpose. That said, I do like how clean it would make the code - this PR has a wee bit of a code smell to be honest. Additionally, we could do something like |
|
@ThomThomson To resolve the bold font issue, just add a custom |
|
@ThomThomson I opened a small design PR that slightly simplifies the class logic / uses the existing class nams vs introducing another one. If it looks good to you, then feel free to merge it in here and I'll stamp this PR. |
Use existing title class
|
@ryankeairns this is way more readable, thanks! |
💚 Build SucceededMetrics [docs]page load bundle size
History
To update your PR or re-run it, just comment with: |
* Made embeddable panel title click launch the customize panel action Co-authored-by: Ryan Keairns <contactryank@gmail.com>
|
wow that was fast!! |
|
After upgrading to Kibana 7.11, I experienced that all panel titles that was disabled, had now been enabled. |

Summary
Closes #81047
Adds an EuiLink to the title on panel headers which opens the title customization menu.
Known Issue
For some reason, when text is inside the EuiLink, the
font-weight: 700style on the title is lostFor maintainers