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

Close any open flyouts when changing view mode of the dashboard #6923

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

AMoo-Miki
Copy link
Collaborator

Description

Adds a mechanism to close an active "service" flyout and employs that in the Dashboard editing flow.

Changelog

  • skip

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

@github-actions github-actions bot added distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry labels Jun 5, 2024
@AMoo-Miki AMoo-Miki added backport 2.x v2.15.0 and removed Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry labels Jun 5, 2024
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

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

Project coverage is 67.45%. Comparing base (b85e177) to head (517ec4b).

Files Patch % Lines
...board/public/application/utils/get_nav_actions.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6923      +/-   ##
==========================================
- Coverage   67.45%   67.45%   -0.01%     
==========================================
  Files        3448     3448              
  Lines       67964    67970       +6     
  Branches    11057    11058       +1     
==========================================
+ Hits        45845    45849       +4     
- Misses      19446    19448       +2     
  Partials     2673     2673              
Flag Coverage Δ
Linux_1 33.10% <28.57%> (-0.01%) ⬇️
Linux_2 55.06% <100.00%> (+<0.01%) ⬆️
Linux_3 45.25% <28.57%> (+0.01%) ⬆️
Linux_4 34.82% <28.57%> (-0.01%) ⬇️
Windows_1 33.12% <28.57%> (-0.01%) ⬇️
Windows_2 55.01% <100.00%> (+<0.01%) ⬆️
Windows_3 45.25% <28.57%> (-0.02%) ⬇️
Windows_4 34.82% <28.57%> (-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.

Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

@AMoo-Miki can you add a test for this

ananzh
ananzh previously approved these changes Jun 6, 2024
Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

Holding off accidentally merging it without a test

Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for adding the tests :)

Nit: Lets add a readme here for these overlay's and other core API's so that they show up in the developer docs

@AMoo-Miki AMoo-Miki merged commit 6bbace1 into opensearch-project:main Jul 1, 2024
67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 1, 2024
…#6923)

Signed-off-by: Miki <miki@amazon.com>
(cherry picked from commit 6bbace1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ananzh pushed a commit that referenced this pull request Jul 3, 2024
…#6923) (#7137)

(cherry picked from commit 6bbace1)

Signed-off-by: Miki <miki@amazon.com>
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>
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