-
Notifications
You must be signed in to change notification settings - Fork 915
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
[BUG] Fix management overview page duplicate rendering #4636
[BUG] Fix management overview page duplicate rendering #4636
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4636 +/- ##
==========================================
- Coverage 66.43% 66.43% -0.01%
==========================================
Files 3396 3397 +1
Lines 64869 64882 +13
Branches 10358 10359 +1
==========================================
+ Hits 43096 43102 +6
- Misses 19214 19300 +86
+ Partials 2559 2480 -79
Flags with carried forward coverage won't be shown. Click here to find out more.
|
ebd9a24
to
fd252cd
Compare
@ashwin-pc @manasvinibs @ananzh could you help to review the fix? |
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, can you resolve the changelog conflict though?
fd252cd
to
b3d7c13
Compare
rebased from main. |
b3d7c13
to
892474e
Compare
Link check failed due to, not sure whether it's transient issue
|
@ashwin-pc conflicts merged and please help to add backport 2.x label. |
892474e
to
5004ee0
Compare
src/plugins/management_overview/public/__snapshots__/application.test.tsx.snap
Outdated
Show resolved
Hide resolved
30444a0
to
c506258
Compare
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 :)
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.
Looks good - I have one question for other maintainers to clarify first.
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
4b9f56c
to
bad97e2
Compare
* refactor for management overview page Signed-off-by: Hailong Cui <[email protected]> * Add missing changelog Signed-off-by: Hailong Cui <[email protected]> * Add unit test Signed-off-by: Hailong Cui <[email protected]> * remove duplicate snapshot validation Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/management_overview/public/application.test.tsx Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/management_overview/public/application.test.tsx Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * export empty plugin start to make it consistent Signed-off-by: Hailong Cui <[email protected]> * export empty plugin start to make it consistent Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> Co-authored-by: Josh Romero <[email protected]> Co-authored-by: Ashwin P Chandran <[email protected]> (cherry picked from commit 16b1e29) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* refactor for management overview page Signed-off-by: Hailong Cui <[email protected]> * Add missing changelog Signed-off-by: Hailong Cui <[email protected]> * Add unit test Signed-off-by: Hailong Cui <[email protected]> * remove duplicate snapshot validation Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/management_overview/public/application.test.tsx Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/management_overview/public/application.test.tsx Co-authored-by: Josh Romero <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * export empty plugin start to make it consistent Signed-off-by: Hailong Cui <[email protected]> * export empty plugin start to make it consistent Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> Co-authored-by: Josh Romero <[email protected]> Co-authored-by: Ashwin P Chandran <[email protected]> (cherry picked from commit 16b1e29) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Refactor management overview page add
useMemo
to avoid duplicate rendering.Issues Resolved
#4287 Add a new management overview page, whenever go to
app/opensearch_management_overview
page, the console reports below errors.Screenshot
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr