-
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
[Canvas] Toolbar UI Updates #113329
[Canvas] Toolbar UI Updates #113329
Conversation
b413cb7
to
9c27a9e
Compare
Pinging @elastic/kibana-presentation (Team:Presentation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed ts errors Fixed proptypes Fixes tests
9c27a9e
to
fde83c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the different shades of gray are coming from EUI. I can check with them but not a blocker for this. LGTM
fde83c0
to
5bd8a53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me and functions like expected.
Some feedback that I'm sure has been discussed elsewhere, do we like having a quick button for Text/Image/etc and also having them in the dropdown?
...stateProps, | ||
...dispatchProps, | ||
...ownProps, | ||
// Moved this section out of the main component to enable stories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this comment. It keeps getting moved around as the code moves, so I don't think it's really necessary.
I'd prefer to leave the options in the element menu for discoverability. IMO, it'd be helpful to have all the element options in one list at least for new Canvas users even if it's redundant to have the quick buttons as well. @andreadelrio what do you think? |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
++. I think it makes sense to list all available elements under It’s similar to what Google Slides does where there are quick buttons for |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
3 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
3 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
4 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Related to #85666.
Blocked by #94139.This integrates the
SolutionToolbar
component frompresentation_util
into the Canvas workpad header and aligns the UI for adding content in Dashboard and Canvas.Before:
After:
Changes:
SolutionToolbar
component toWorkpadHeader
componentAdd from Kibana
menu option nested in theAdd element
menu withAdd from library
button on the toolbarText
,Shape
, andImage
elementsChecklist
Delete any items that are not applicable to this PR.
For maintainers