-
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] Top Menu #59982
[Canvas] Top Menu #59982
Conversation
5db3841
to
f617f55
Compare
Created a design PR with a few minor tweaks to better align with other Kibana top menus: PR4U 👉 cqliu1#11 |
Pinging @elastic/kibana-canvas (Team:Canvas) |
d028598
to
97ab114
Compare
You can do it! |
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.
We'd iterated on the design during the making of this PR. Nothing more to add - it looks and works great. Really excited to hear user feedback!
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 -- this is great!
"xpack.canvas.workpadHeaderViewMenu.zoomOutText": "ズームアウト", | ||
"xpack.canvas.workpadHeaderViewMenu.zoomPanelTitle": "ズーム:", | ||
"xpack.canvas.workpadHeaderViewMenu.zoomPrecentageValue": "リセット", | ||
"xpack.canvas.workpadHeaderViewMenu.zoomResetText": "{scalePercentage}%", |
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.
I think we'll likely wanna still check with the i18n team to make sure all the i18n changes are a-ok
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.
Yep! I checked in with the localization team on Slack, and they said these changes were fine.
import { euiPaletteColorBlind } from '@elastic/eui'; | ||
const euiVisPalette = euiPaletteColorBlind(); | ||
|
||
export const proportion = () => ({ name: 'proportion', color: euiVisPalette[3] }); |
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.
what the hell github lol. Somehow it thinks you renamed the proportion tag js file to be uiMetric.js
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.
yeah idk this one I don't get at all...
@elasticmachine merge upstream (sorry, I applied a vault update that will cause the previous build to fail) |
@cqliu1 would you be able to backport this to 7.7 after it is released? I needed to backport the test skipping to 7.7. |
@spalger This PR includes a lot of UI changes that we don't want to ship in 7.7. Should I reopen the flaky test issue? |
I definitely think we should fix the flaky test in 7.7, yeah |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Summary
Related to #35873.
Closes #62927.This redesigns the layout of the
WorkpadHeader
component and replaces the various icon buttons up top with an easier to understand menu layout.Add Element Menu
Chart elements
Image elements
Filter elements
Progress elements
Other elements
View menu
Share menu
Options menu (refresh and autoplay controls)
Note: I'm planning on breaking up these two settings into separate options under the View menu in a future PR.
Changes:
view_menu
componentdonut
andtilted pie
elementsfilter
,graphic
,text
, etc)tags
withtype
property on element specworkpad_export
toshare_menu
element_types
into newelement_menu
componentelement_types
tosaved_elements_modal
asset_manager
Checklist
Delete any items that are not applicable to this PR.
For maintainers