-
Notifications
You must be signed in to change notification settings - Fork 938
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
[Data Explorer] Add dismissible callout for discover #4857
Conversation
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #4857 +/- ##
==========================================
- Coverage 66.46% 66.43% -0.03%
==========================================
Files 3390 3396 +6
Lines 64742 64869 +127
Branches 10312 10356 +44
==========================================
+ Hits 43030 43095 +65
- Misses 19169 19215 +46
- Partials 2543 2559 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
CHANGELOG.md
Outdated
@@ -279,6 +279,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | |||
- Temporarily hardcode chromedriver to 112.0.0 to enable all ftr tests ([#4039](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4039)) | |||
- Update MAINTAINERS.md and CODEOWNERS ([#3938](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3938)) | |||
- Add opensearch-dashboards-docker-dev to .gitignore ([#3781](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3781)) | |||
- [Data Explorer] Add dismissible callout for discover ([#4857](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4857)) |
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.
Can you remove this? We dont need changelog entries for the Data Explorer PR's since i've already added on for introducing the feature
title="You're viewing Discover 2.0. The old Discover app will be retired in OpenSearch version 2.11. To switch back to the old version, toggle the New Discover." | ||
iconType="alert" | ||
dismissible | ||
onDismissible={closeCallOut} |
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.
oh, not sure how i missed this in theOUI PR but this should be onDismiss
Think we can get that changed in a followup PR?
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.
sure
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.
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
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-4857-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 58ee450a7a63277222a7e1361865f0c5a8eb5538
# Push it to GitHub
git push --set-upstream origin backport/backport-4857-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 |
Description
Add callout for both legacy discover and data explorer to warn users.
Issues Resolved
Screenshot
Screen.Recording.2023-08-30.at.11.36.05.AM.mov
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr