[COMPASS-5114] Add web environment testing for shared compass-crud components Created: 27/Sep/21  Updated: 28/Jun/23  Resolved: 09/Sep/22

Status: Closed
Project: Compass
Component/s: Atlas, CRUD, Tech debt
Affects Version/s: None
Fix Version/s: No version

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

Issue Links:
Duplicate
is duplicated by COMPASS-5977 Trigger Data Explorer e2e tests from ... Closed
Documentation Changes: Not Needed

 Description   

Cloud uses some of the parts of `compass-crud` in the cloud. Because of their differing environment (not electron), it's quite possible that we inadvertently introduce a change in the shared code that would not work in cloud. This ticket aims to help prevent these breaking changes and also increase transparency as to what the parts of Compass are used in alternate environments.

This ticket involves moving the shared parts of compass-crud into a different package or packages that have web testing environments. At a glance it looks like the `Document` and `InsertDocumentDialog` components are the two parts of compass-crud used by cloud. https://github.com/10gen/mms/search?q=compass-crud
These changes would also make the interfaces that cloud uses a bit clearer. Before starting on this work we should check with the cloud data explorer team that they intend to keep using these components (wouldn't be worth the work if they're about to replace them or something).



 Comments   
Comment by Maurizio Casimirri [ 09/Sep/22 ]

closing in favor of https://jira.mongodb.org/browse/COMPASS-5977

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