-
Notifications
You must be signed in to change notification settings - Fork 916
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] Allow Save in Top Nav Menu to capture filter and query #6636
Conversation
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
Before this PR, can't save when filter or query change. After this PR, if the canvas is not empty, can save filter and query updates. Issue Resolve opensearch-project#5645 Signed-off-by: Anan Zhuang <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6636 +/- ##
===========================================
+ Coverage 32.93% 67.73% +34.79%
===========================================
Files 2260 3403 +1143
Lines 45769 66613 +20844
Branches 7200 10828 +3628
===========================================
+ Hits 15075 45119 +30044
+ Misses 29984 18854 -11130
- Partials 710 2640 +1930
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
@@ -3,7 +3,8 @@ | |||
* SPDX-License-Identifier: Apache-2.0 | |||
*/ | |||
|
|||
import React, { useEffect, useState } from 'react'; | |||
import React, { useEffect, useState, useRef } from 'react'; | |||
import { isEqual } from 'lodash'; |
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.
guilty of doing this too. but i think we wanted to. avoid using lodash right?
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
Before this PR, can't save when filter or query change. After this PR, if the canvas is not empty, can save filter and query updates. Issue Resolve #5645 Signed-off-by: Anan Zhuang <[email protected]> (cherry picked from commit 7aa7a74) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…6687) Before this PR, can't save when filter or query change. After this PR, if the canvas is not empty, can save filter and query updates. Issue Resolve #5645 (cherry picked from commit 7aa7a74) Signed-off-by: Anan Zhuang <[email protected]> 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>
…rch-project#6636) Before this PR, can't save when filter or query change. After this PR, if the canvas is not empty, can save filter and query updates. Issue Resolve opensearch-project#5645 Signed-off-by: Anan Zhuang <[email protected]>
Description
Before this PR, can't save when filter or query change.
After this PR:
The canvas is empty. Add some aggregations before saving
vb-save-top-nav.mov
embeddable.mov
Issues Resolved
#5645
Testing the changes
We will need to add some cypress tests. Here is the meta issue to track #6635
Changelog
Check List
yarn test:jest
yarn test:jest_integration