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).