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

NMS-16116: Update node structure page to accept query strings #6773

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

synqotik
Copy link
Contributor

@synqotik synqotik commented Oct 13, 2023

Updates the Node Structure page to accept query strings and convert them to query filters.

When certain query strings are included in the node Vue page link, they will be converted and added to the nodeStructure pinia store and query relaunched, and query string removed from the URL (so it's doesn't get re-processed). Query strings will come from legacy pages that currently link to the legacy node list page.

Refactored how the search works, basically search updates are saved in the pinia store and the watch in NodesTable.vue watches for those changes. Otherwise updates were coming from multiple places and clobbering each other.

Refactored utils.ts into separate hooks, it was getting unwieldy.

Still more work to be done on this but will follow up in a subsequent PR. Targeting develop as it's all on the new Vue page.

External References

Copy link
Contributor

@mikewrosey mikewrosey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@synqotik synqotik merged commit f9d45c3 into develop Oct 17, 2023
4 checks passed
@synqotik synqotik deleted the jira/NMS-16116-node-structure-handle-query-strings branch October 17, 2023 13:08
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.

2 participants