|
Modals/Dialogs are currently implemented using React-Bootstrap's modal. There are usually 3 elements, a header, body and footer.
There are several places throughout Compass & Charts e.g. create-collection-dialog, create-database-dialog, create-dashboard-dialog etc. These elements are generic enough that they could be built using the same generic pattern i.e. a single component that wrapper around React-Bootstrap's modal header, body and footer.
Acceptance Criteria:
- generic dialog component
- apply pattern to currently existing dialogs
- remove files that only show a dialog
|