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 workspace selector jump that occurs when hovering and clicking. #8541

Conversation

Qxisylolo
Copy link
Contributor

@Qxisylolo Qxisylolo commented Oct 10, 2024

Description

This pr fixes the workspace selector jump that occurs when hovering and clicking.

Screenshot

Before:

2024-10-10.13.56.10.mov

After:

2024-10-10.13.56.34.mov

Testing the changes

Changelog

  • fix: the workspace selector jump that occurs when hovering and clicking.

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 Qxisylolo force-pushed the feat/workspace-selector-jumps-on-hover branch from 0f6c3fe to 26ede1d Compare October 11, 2024 07:46
SuZhou-Joe
SuZhou-Joe previously approved these changes Oct 11, 2024
Copy link
Collaborator

@Hailong-am Hailong-am left a comment

Choose a reason for hiding this comment

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

need confirm whether we need the shadow when hover

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.95%. Comparing base (98df4dd) to head (abb0e4e).
Report is 89 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8541      +/-   ##
==========================================
+ Coverage   60.93%   60.95%   +0.01%     
==========================================
  Files        3769     3776       +7     
  Lines       89506    89638     +132     
  Branches    14012    14045      +33     
==========================================
+ Hits        54539    54637      +98     
- Misses      31557    31588      +31     
- Partials     3410     3413       +3     
Flag Coverage Δ
Linux_1 29.08% <ø> (+0.07%) ⬆️
Linux_2 56.27% <ø> (+0.02%) ⬆️
Linux_3 37.75% <ø> (-0.01%) ⬇️
Linux_4 29.92% <ø> (+<0.01%) ⬆️
Windows_1 29.09% <ø> (+0.07%) ⬆️
Windows_2 56.23% <ø> (+0.02%) ⬆️
Windows_3 37.75% <ø> (-0.01%) ⬇️
Windows_4 29.92% <ø> (+<0.01%) ⬆️

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 Oct 12, 2024

The animation is the default behavior of a clickable OuiPanel, instead of override the styles from component library, maybe we shouldn't use OuiPanel for this component

@ruanyl ruanyl merged commit 3252a10 into opensearch-project:main Oct 14, 2024
68 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 14, 2024
…and clicking. (#8541)

* fix/workspace-selector-jumps-on-hover, fix hover jumping

Signed-off-by: Qxisylolo <[email protected]>

* feat/workspace-selector-jumps-on-hover, change classname

Signed-off-by: Qxisylolo <[email protected]>

* Changeset file for PR #8541 created/updated

* Changeset file for PR #8541 created/updated

* Changeset file for PR #8541 created/updated

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 3252a10)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Hailong-am pushed a commit that referenced this pull request Oct 14, 2024
…and clicking. (#8541) (#8579)

* fix/workspace-selector-jumps-on-hover, fix hover jumping



* feat/workspace-selector-jumps-on-hover, change classname



* Changeset file for PR #8541 created/updated

* Changeset file for PR #8541 created/updated

* Changeset file for PR #8541 created/updated

---------



(cherry picked from commit 3252a10)

Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
sejli pushed a commit to sejli/OpenSearch-Dashboards that referenced this pull request Oct 21, 2024
…and clicking. (opensearch-project#8541)

* fix/workspace-selector-jumps-on-hover, fix hover jumping

Signed-off-by: Qxisylolo <[email protected]>

* feat/workspace-selector-jumps-on-hover, change classname

Signed-off-by: Qxisylolo <[email protected]>

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Qxisylolo added a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Oct 30, 2024
…and clicking. (opensearch-project#8541)

* fix/workspace-selector-jumps-on-hover, fix hover jumping

Signed-off-by: Qxisylolo <[email protected]>

* feat/workspace-selector-jumps-on-hover, change classname

Signed-off-by: Qxisylolo <[email protected]>

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

* Changeset file for PR opensearch-project#8541 created/updated

---------

Signed-off-by: Qxisylolo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
@ananzh ananzh added the v2.18.0 label Oct 30, 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.

5 participants