[COMPASS-3525] Modify a View Created: 19/Mar/19  Updated: 12/Aug/19  Resolved: 01/Jul/19

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, Views
Affects Version/s: None
Fix Version/s: 1.19.0

Type: Story Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Durran Jordan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Epic Link: COMPASS-3420
Story Points: 5
Documentation Changes: Needed
Documentation Changes Summary:

With this feature, we are artificially creating a concept that does not exist in the server: the ability to modify a view. Because this concept does not exist in the server, when we get the aggregation pipeline that is backing a View, the server does not give us the collation information (if it was set) so we cannot save it back and it gets lost.

Because there is not much we can do about it, let's just document the behavior.

Sprint: Iteration Dingo, Iteration Echidna, Iteration Giraffe, Iteration Ferret, Iteration Hedgehog

 Description   

User story

As a Compass user
I want to edit a View (as in "edit the aggregation pipeline behind the View")
So that I can go and adjust the details if the documents I am seeing are not in the shape I expected them to be

Acceptance criteria

  • In the sidebar, I have an entry point to go and edit the aggregation behind each View
  • In the main screen, when I am looking at a View, I have entry points to go and edit the aggregation behind the View
  • When I go and edit the aggregation behind a View, I am editing it in the aggregation pipeline builder of the Collection or View the View I am editing is based on
  • When I am done with editing the aggregation pipeline, I can update the View with the new pipeline
  • When the server returns errors (e.g., the user doesn't have the necessary permissions to modify a View), Compass needs to handle the errors nicely

Questions

  • When a View has been updated, can we jump back to wherever the user was when they clicked on an entry point to editing the View?


 Comments   
Comment by Githook User [ 21/Jul/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3525: Handle modify view navigation
Branch: master
https://github.com/10gen/compass/commit/807e924034ee8f9bc6027844da129cab09123b9a

Comment by Githook User [ 25/Jun/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3525: Handle modify view navigation
Branch: COMPASS-3525
https://github.com/10gen/compass/commit/7200433984fb3f9c534deea69e19d4556d981282

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