Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create custom Modals #3908

Closed
Tracked by #3742
khavinshankar opened this issue Nov 1, 2022 · 2 comments · Fixed by #4064
Closed
Tracked by #3742

Create custom Modals #3908

khavinshankar opened this issue Nov 1, 2022 · 2 comments · Fixed by #4064
Assignees

Comments

@khavinshankar
Copy link
Member

Is your feature request related to a problem? Please describe.
This is part of moving away from material ui

Describe the solution you'd like
Create a custom Modal with tailwind and headlessui and replace the existing mui dialog or modals

cc: @nihal467

@mathew-alex mathew-alex added this to Care Nov 1, 2022
@mathew-alex mathew-alex moved this to Triage in Care Nov 1, 2022
@rithviknishad rithviknishad self-assigned this Nov 1, 2022
@mathew-alex mathew-alex moved this from Triage to In Progress in Care Nov 1, 2022
@rithviknishad rithviknishad mentioned this issue Nov 1, 2022
41 tasks
@rithviknishad
Copy link
Member

Components to be built

  • Dialog
expected props:
- title
- description (optional)
- children
- onClose (optional)
- show
  • ConfirmActionDialog (useful for confirm archive/delete or other critical operations)
props additional to above:
- action: string (eg. "Delete")
- severity: warning / danger
- onConfirm
- onCancel
- confirmationText

example:
image

cc: @khavinshankar @gigincg

@github-actions
Copy link

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

@github-actions github-actions bot added the stale label Nov 16, 2022
@github-actions github-actions bot removed the stale label Nov 17, 2022
Repository owner moved this from In Progress to Done in Care Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants