-
Notifications
You must be signed in to change notification settings - Fork 920
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
Saved queries new UI #8469
Saved queries new UI #8469
Conversation
src/plugins/data/public/ui/saved_query_flyouts/open_saved_query_flyout.tsx
Outdated
Show resolved
Hide resolved
src/plugins/data/public/ui/saved_query_flyouts/save_query_flyout.tsx
Outdated
Show resolved
Hide resolved
src/plugins/data/public/ui/saved_query_flyouts/save_query_flyout.tsx
Outdated
Show resolved
Hide resolved
src/plugins/data/public/ui/saved_query_flyouts/saved_query_card.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8469 +/- ##
==========================================
- Coverage 60.84% 60.74% -0.11%
==========================================
Files 3793 3798 +5
Lines 90486 90650 +164
Branches 14212 14254 +42
==========================================
+ Hits 55057 55062 +5
- Misses 31939 32093 +154
- Partials 3490 3495 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/data/public/ui/saved_query_flyouts/open_saved_query_flyout.tsx
Outdated
Show resolved
Hide resolved
d437eee
to
39f92ac
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.
I did not have time to pull this down to validate, and looks like there are still some more cases of text to be localized, but approving assuming that and unit tests will be followed up with.
src/plugins/data/public/ui/saved_query_flyouts/open_saved_query_flyout.tsx
Show resolved
Hide resolved
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Rerunning CI Group 6 since the associated fix has been merged. Will merge once its passed |
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-8469-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 463a6c03edcf25285924e84872754cc370cc0cf8
# Push it to GitHub
git push --set-upstream origin backport/backport-8469-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 |
* loading query functional Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * search bar working; save working Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * implemented pagination Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * Changeset file for PR opensearch-project#8469 created/updated * implemented tab for template queries; updated UI elements for new mocks Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * added i18n; minor refactors Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * refactored css Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * addressed comments Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * fixed i18n error Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * show template queries tab only when templates present Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * addressed PR comments Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * fixed unit tests Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * introduced a new gate for the changes Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* loading query functional * search bar working; save working * implemented pagination * Changeset file for PR #8469 created/updated * implemented tab for template queries; updated UI elements for new mocks * added i18n; minor refactors * refactored css * addressed comments * fixed i18n error * show template queries tab only when templates present * addressed PR comments * fixed unit tests * introduced a new gate for the changes --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* loading query functional Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * search bar working; save working Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * implemented pagination Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * Changeset file for PR opensearch-project#8469 created/updated * implemented tab for template queries; updated UI elements for new mocks Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * added i18n; minor refactors Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * refactored css Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * addressed comments Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * fixed i18n error Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * show template queries tab only when templates present Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * addressed PR comments Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * fixed unit tests Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * introduced a new gate for the changes Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
manual backport was merged into 2.x |
Description
This PR updates the UI for saved queries to use Flyouts which give more surface to search and categorize the queries as well as introduce more options when saving them.
Screenshot
Testing the changes
Tested change with local setup.
Changelog
Check List
yarn test:jest
yarn test:jest_integration