Skip to content
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

chore(query-bar, crud, schema): remove query-changed, query-reset, subtab-changed events from the app COMPASS-7543 COMPASS-7544 #5814

Merged
merged 3 commits into from
May 21, 2024

Conversation

gribnoysup
Copy link
Contributor

@gribnoysup gribnoysup commented May 14, 2024

(Finally had some time to deal with the crud tests and can open this for review) This patch removes some unnecessary state and events from crud and schema plugins that we had to keep around before to be able to get the applied query value in store and to show the "outdated" banner when query was applied by a different source. Instead of using events to keep track of query bar state changes and plugin subtab change and syncing them to the reflux stores, we consolidate all "applied query" state in the query bar plugin where it belongs and expose it through a few new hooks.

@gribnoysup gribnoysup merged commit fb39a27 into main May 21, 2024
13 of 16 checks passed
@gribnoysup gribnoysup deleted the compass-7543-remove-change-query-events branch May 21, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants