[COMPASS-7480] Update saved queries and aggregations after renaming a collection Created: 27/Nov/23  Updated: 31/Jan/24

Status: Ready for Work
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Bailey Pearson Assignee: Bailey Pearson
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after COMPASS-5704 Rename collection from the UI Closed
has to be done after COMPASS-7354 [Workspaces] Create new compass-works... Closed
Epic Link: COMPASS-7227
Sprint: Iteration Pterodactyl, Iteration Qantassaurus, Iteration Utahraptor

 Description   

COMPASS-5704 added a `rename collection` modal to Compass' sidebar.  There are still several places in Compass that need to be refreshed when the user renames a collection

  • Saved aggregation pipelines
  • Saved queries
  • recent queries
  • If the renamed collection is the currently selected collection in the sidebar, the new namespace needs to be re-selected


 Comments   
Comment by Sergey Petushkov [ 14/Dec/23 ]

Now that COMPASS-7354 is resolved, this particular issue mentioned gone away:

> If the renamed collection is the currently selected collection in the sidebar, the new namespace needs to be re-selected

Current workspace state in the sidebar doesn't depend on the events anymore and so doesn't need to be manually synced

Generated at Wed Feb 07 22:46:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.