[COMPASS-3523] Create a View from an aggregation pipeline Created: 19/Mar/19  Updated: 29/Oct/23  Resolved: 30/Apr/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: Lucas Hrabovsky (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
Related
related to COMPASS-3041 As a developer, I want to create read... Closed
Epic Link: COMPASS-3420
Story Points: 5
Documentation Changes: Needed
Sprint: Iteration Bison, Iteration Cat

 Description   

User story

As a Compass user
I want to create a View from an aggregation pipeline
So that I can make sure my data is in the right shape to be used in my application or to create a chart from it.

Acceptance criteria

  • When I am in the aggregation pipeline builder and I have written a valid aggregation, I want to be able to save it as a View and give it a name
  • When the server is older than 3.4, Save as a View is hidden
  • When an aggregation is saved as a View, it immediately appears in the sidebar
  • When an aggregation is saved as a View and I open the Database screen, I can see the newly created View
  • It is possible to create a View on top of another View
  • When I am trying to create a new View with the same name of an existing View, I want to see a meaningful error message
  • When the server returns errors (e.g., the user doesn't have the necessary permissions to create a view), Compass needs to handle the errors nicely
  • When the View has been created, Compass will open the new View in the main screen (in a new tab, as soon as tabs are available)


 Comments   
Comment by Githook User [ 30/Apr/19 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: COMPASS-3523: Create a view (#1706)
Branch: COMPASS-3573
https://github.com/10gen/compass/commit/5883b40f9f3adc5e005f996839c62c9e8220de93

Comment by Lucas Hrabovsky (Inactive) [ 30/Apr/19 ]

https://github.com/mongodb-js/compass-aggregations/pull/95

Comment by Githook User [ 29/Apr/19 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: COMPASS-3523: Create a view (#1706)
Branch: master
https://github.com/10gen/compass/commit/5883b40f9f3adc5e005f996839c62c9e8220de93

Comment by Githook User [ 29/Apr/19 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: COMPASS-3523: Create a view
Branch: create-view
https://github.com/10gen/compass/commit/3086d90f2cc738184c2d998a31f46a597646d83b

Comment by Githook User [ 29/Apr/19 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: COMPASS-3523: Update data-service for views support
Branch: view-idcators
https://github.com/10gen/compass/commit/9c0a1109fc0d289f727c79b4ff76a43fe0a28e08

Comment by Githook User [ 26/Apr/19 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: COMPASS-3523: Update data-service for views support
Branch: fix-build
https://github.com/10gen/compass/commit/9c0a1109fc0d289f727c79b4ff76a43fe0a28e08

Comment by Githook User [ 26/Apr/19 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: COMPASS-3523: Update data-service for views support
Branch: COMPASS-3573
https://github.com/10gen/compass/commit/9c0a1109fc0d289f727c79b4ff76a43fe0a28e08

Comment by Githook User [ 24/Apr/19 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: COMPASS-3523: Update data-service for views support
Branch: master
https://github.com/10gen/compass/commit/9c0a1109fc0d289f727c79b4ff76a43fe0a28e08

Comment by Githook User [ 23/Apr/19 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: COMPASS-3523: Update data-service for views support
Branch: data-service-with-views
https://github.com/10gen/compass/commit/9d5f5a34bd70e27f96039acd4ec8782d412b47ff

Comment by Githook User [ 23/Apr/19 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: COMPASS-3523: Add CRUD API's for Views (#140)

  • Test tweaking
Comment by Githook User [ 22/Apr/19 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: COMPASS-3523: Add CRUD API's for Views
Branch: views
https://github.com/mongodb-js/data-service/commit/cc5012228f7c82ee7a7e89e516268cc4804c58b6

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