Skip to content
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

[Workspace]fix the UI of menu content picker #8138

Conversation

Qxisylolo
Copy link
Contributor

@Qxisylolo Qxisylolo commented Sep 11, 2024

Description

This pr fixes the UI of menu content picker according to feedback

Screenshot

  1. fix: Tooltip is misaligned and causes a jump
截屏2024-09-12 14 37 53
  1. fix: the width will be consistent in non-admin mode
    截屏2024-09-11 17 49 32
    截屏2024-09-11 17 49 37

  2. overall appearance

截屏2024-09-12 14 37 30 截屏2024-09-12 14 36 22

Changelog

  • fix: fix the UI of menu content picker

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@Qxisylolo
Copy link
Contributor Author

@Hailong-am Hi, thanks for the spotting the error, the issue is solved, please check the screenshot

opensearch-changeset-bot bot added a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Sep 11, 2024
@Qxisylolo Qxisylolo force-pushed the fix/the_style_of_side_bar_and_menu_content_picker branch from 0a09503 to 1ad2dc4 Compare September 12, 2024 06:28
opensearch-changeset-bot bot added a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Sep 12, 2024
className="eui-fullHeight"
hasShadow={false}
paddingSize="none"
style={{ width: '280px' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we consider a stylesheet? vs inline styles?

@AMoo-Miki @virajsanghvi @zhongnansu is this the proper setting for look and feel?

@ruanyl ruanyl added the 2.17.1 label Sep 19, 2024
Copy link

codecov bot commented Sep 29, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 60.74%. Comparing base (dfc7def) to head (7fa9d13).
Report is 74 commits behind head on main.

Files with missing lines Patch % Lines
...ublic/components/workspace_menu/workspace_menu.tsx 77.77% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8138      +/-   ##
==========================================
+ Coverage   60.58%   60.74%   +0.15%     
==========================================
  Files        3738     3739       +1     
  Lines       88670    88753      +83     
  Branches    13782    13811      +29     
==========================================
+ Hits        53725    53916     +191     
+ Misses      31661    31517     -144     
- Partials     3284     3320      +36     
Flag Coverage Δ
Linux_1 28.75% <77.77%> (-0.02%) ⬇️
Linux_2 56.28% <ø> (+0.01%) ⬆️
Linux_3 37.68% <ø> (+0.16%) ⬆️
Linux_4 29.74% <ø> (+0.13%) ⬆️
Windows_1 28.76% <77.77%> (-0.02%) ⬇️
Windows_2 56.23% <ø> (+0.01%) ⬆️
Windows_3 37.69% <ø> (+0.17%) ⬆️
Windows_4 29.74% <ø> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanyl
Copy link
Member

ruanyl commented Sep 29, 2024

close as changes are included in #8364

@ruanyl ruanyl closed this Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants