[COMPASS-4890] Disable capped collection or time-series collection check boxes when not enabled Created: 21/Jun/21  Updated: 29/Oct/23  Resolved: 08/Jul/21

Status: Closed
Project: Compass
Component/s: Collection
Affects Version/s: None
Fix Version/s: 1.28.1

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Firenze, Iteration Geneva

 Description   

When creating a collection in Compass on a server > 5.0, we give the option to create a time-series collection. Time-series collections currently cannot also be created as capped collections. In the create collection modal we should disable the other when one is selected with a hover tooltip describing why it's disabled. Currently the server will give a descriptive error, this ticket is more to improve the UX around it.



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

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(databases-collections): Disable capped or time-series collection checkboxes when another is enabled COMPASS-4890 (#2332)
Branch: install-before-publish
https://github.com/mongodb-js/compass/commit/83cb2e45bf74ec6c27aaadb537fd2173bbd54d56

Comment by Githook User [ 08/Jul/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(databases-collections): Disable capped or time-series collection checkboxes when another is enabled COMPASS-4890 (#2332)
Branch: main
https://github.com/mongodb-js/compass/commit/83cb2e45bf74ec6c27aaadb537fd2173bbd54d56

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