-
Notifications
You must be signed in to change notification settings - Fork 894
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
[MD] Able to hide "Local Cluster" option #5827
[MD] Able to hide "Local Cluster" option #5827
Conversation
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5827 +/- ##
=======================================
Coverage 66.98% 66.98%
=======================================
Files 3304 3304
Lines 63563 63572 +9
Branches 10149 10153 +4
=======================================
+ Hits 42575 42583 +8
- Misses 18520 18521 +1
Partials 2468 2468
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ected. 2. Add unit tests Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
… issue Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
…ultCluster to hideLocalCluster Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
…alCluster Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
…option removed and no datasource created Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
…nent Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Hi @kgcreative , yeah, I can change the prepend! |
hi all, could we address that in separate PR to keep scope of this issue clear 🥹 |
Thanks for @BionIT @bandinib-amzn @Flyingliuhub's feed back. We have following action items:
|
…ncy on UI config Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
21b0b4e
Do we need to backport this PR to 2.x? @xinruiba |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-5827-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 26fc902cac3d2dc313c19be1b9fb2dea15a99e79
# Push it to GitHub
git push --set-upstream origin backport/backport-5827-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
Sure, thanks for the notice, taking a look~ |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-5827-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 26fc902cac3d2dc313c19be1b9fb2dea15a99e79
# Push it to GitHub
git push --set-upstream origin backport/backport-5827-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
* [LocalCluster] support in devtool and index pattern creation page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> * [LocalCluster] support default cluster in home tutorial page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> * [LocalCluster] support default cluster in object import page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> --------- Signed-off-by: Xinrui Bai <xinruiba@amazon.com> (cherry picked from commit 26fc902)
* [MD] Able to hide "Local Cluster" option (#5827) * [LocalCluster] support in devtool and index pattern creation page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> * [LocalCluster] support default cluster in home tutorial page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> * [LocalCluster] support default cluster in object import page Signed-off-by: Xinrui Bai <xinruiba@amazon.com> --------- Signed-off-by: Xinrui Bai <xinruiba@amazon.com> (cherry picked from commit 26fc902) * Remove unneeded changelog.md change Signed-off-by: Xinrui Bai <xinruiba@amazon.com> --------- Signed-off-by: Xinrui Bai <xinruiba@amazon.com>
Manual Backport #5904 |
Description
PR to enabled local cluster hidden with MD enabled. Please check #5754 for more context.
Issues Resolved
#5754
Screenshot
MD-RemoveLocalCluster.mov
Testing the changes
1. When MD turn off:
2. When MD turn on and RemoveLocalCluster turn on:
3. When MD turn on and RemoveLocalCluster turn off:
Check List
yarn test:jest
yarn test:jest_integration