[COMPASS-1773] Make generic dialog component Created: 22/Aug/17  Updated: 19/Oct/20  Resolved: 19/Oct/20

Status: Closed
Project: Compass
Component/s: Stability, Tech debt, UI / UX
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Satyendra Sinha Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

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


 Comments   
Comment by Rhys Howell [ 19/Oct/20 ]

We might already have this, or gone away.

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