Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-1773

Make generic dialog component

    • Not Needed

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            satyendra.sinha@mongodb.com Satyendra Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: