-
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] Editing toolbar update #154966
[Dashboard] Editing toolbar update #154966
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Hmm... Do we want to do this for just Dashboard? It seems out of place that only one app would use a compressed version of the toolbar while all other apps (Canvas, Lens, etc) use the full height buttons 👀 Maybe I misunderstood in our meeting, but I assumed the requests for a compressed layout were referring to horizontal space and not vertical? |
While you are in the neighborhood, can we remove that double border between the icon-only set of buttons? It was not there originally and was the result of some other change along the way. |
@ryankeairns I'm gonna hold off on merging this until we land on a design for #144418, but I can open a PR just to fix that double border bc it's been bothering me too haha. The border radius also slightly differs between the button group and the rest of the toolbar buttons. I'll see if I can fix that too. |
Make controls button small Remove type
6afab5f
to
1df3a93
Compare
…rd/compressed-toolbar-buttons
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.
LGTM!
@teresaalvarezsoler I've updated the add panel menu order. Is this correct? |
|
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.
Great looking and straightforward changes! Tested locally and looked through the code and everything LGTM!
type, | ||
label, | ||
iconType, | ||
size = 'm', |
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.
Nice call to have the size here default to medium
. That way we don't have to change Canvas at all.
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Summary
Related to #144418.
Closes #160800.
This makes all of the buttons in the editor toolbar small/compressed for a slightly sleeker look. These changes only affect the toolbar in Dashboard and don't change the toolbar appearance in Canvas. I've also removed the quick actions and renamed
Select type
toAdd panel
.Before
After
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers