[COMPASS-4860] Allow to create a time-series collection from create database Created: 31/May/21  Updated: 15/Jun/21  Resolved: 14/Jun/21

Status: Closed
Project: Compass
Component/s: DDL
Affects Version/s: None
Fix Version/s: 1.27

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

Epic Link: COMPASS-4391
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Düsseldorf, Iteration Edinburgh

 Description   

Allow to create a time-series collection from create database.

Merge `compass-collections-ddl` and `compass-databases-ddl` in one package exposing the 2 plugins (similar to import / export).

In dev mode, allow to pick which screen to show with a link.

Also the create collection dialog and database form should be implemented as in: https://www.figma.com/file/87zPLdTixQ82B3fK4Fb6YG/Compass?node-id=402%3A6212

An example of implementation of the form is here: https://github.com/mongodb-js/compass/pull/2216/files



 Comments   
Comment by Githook User [ 15/Jun/21 ]

Author:

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

Message: feat(databases-collections): Create a time-series collection from create database COMPASS-4860 (#2222)

  • add databases-collections package, remove collections-ddl and databases-ddl
  • Move toolbars and tables into databases and collections folders
  • seperate stores, use collection fields in databases modal
  • add sort action
  • Make collation work, remove old collation
  • Update tests, add time series test
  • Update create database and collection modal tests
  • re-add collation because compass-indexes uses it (we should address this duplicate code at some point)
  • Use ampersand model instance syntax
  • Ensure toggles update the state of the new collection properties
  • Remove usage of 'ddl' acronym
  • Update readme and remove extra comment
  • remove unused component state props
  • Add blank href to anchor
  • Add collection fields tests and update styles
  • remove outdated license, remove autofocus, add margin to banner
  • Move parts in various components, share collation with index creation
  • bump new leafygreen components to latest patch
  • forgot to include package-lock.json in last commit
  • use controlled components
Comment by Githook User [ 14/Jun/21 ]

Author:

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

Message: feat(databases-collections): Create a time-series collection from create database COMPASS-4860 (#2222)

  • add databases-collections package, remove collections-ddl and databases-ddl
  • Move toolbars and tables into databases and collections folders
  • seperate stores, use collection fields in databases modal
  • add sort action
  • Make collation work, remove old collation
  • Update tests, add time series test
  • Update create database and collection modal tests
  • re-add collation because compass-indexes uses it (we should address this duplicate code at some point)
  • Use ampersand model instance syntax
  • Ensure toggles update the state of the new collection properties
  • Remove usage of 'ddl' acronym
  • Update readme and remove extra comment
  • remove unused component state props
  • Add blank href to anchor
  • Add collection fields tests and update styles
  • remove outdated license, remove autofocus, add margin to banner
  • Move parts in various components, share collation with index creation
  • bump new leafygreen components to latest patch
  • forgot to include package-lock.json in last commit
  • use controlled components
Comment by Githook User [ 11/Jun/21 ]

Author:

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

Message: feat(databases-collections): Create a time-series collection from create database COMPASS-4860 (#2222)

  • add databases-collections package, remove collections-ddl and databases-ddl
  • Move toolbars and tables into databases and collections folders
  • seperate stores, use collection fields in databases modal
  • add sort action
  • Make collation work, remove old collation
  • Update tests, add time series test
  • Update create database and collection modal tests
  • re-add collation because compass-indexes uses it (we should address this duplicate code at some point)
  • Use ampersand model instance syntax
  • Ensure toggles update the state of the new collection properties
  • Remove usage of 'ddl' acronym
  • Update readme and remove extra comment
  • remove unused component state props
  • Add blank href to anchor
  • Add collection fields tests and update styles
  • remove outdated license, remove autofocus, add margin to banner
  • Move parts in various components, share collation with index creation
  • bump new leafygreen components to latest patch
  • forgot to include package-lock.json in last commit
  • use controlled components
Generated at Wed Feb 07 22:37:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.