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

Add new component for confirmation dialog #1104

Merged
merged 1 commit into from
Sep 13, 2023
Merged

Conversation

radhikav1
Copy link
Collaborator

@radhikav1 radhikav1 commented Aug 31, 2023

Add new component for confirmation dialog

Description

Add new component for confirmation dialog using react material components.

PR Type

  • Bug Fix
  • Feature
  • Build Fix
  • Testing
  • General Improvement
  • Cherry Pick

Links

Jira: CDAP-20796

Test Plan

N/A

Screenshots

Confirm dialog with confirmation text
image

Confirm dialog with Error message
image

Confirm dialog with Error message and more details expanded
image

@radhikav1 radhikav1 marked this pull request as ready for review September 1, 2023 08:45
@radhikav1 radhikav1 requested review from seanfeld and de-lan September 6, 2023 06:44
size="small"
onClick={handleToggleExtendedMessage}
color="inherit"
title={isExpanded ? 'Hide details' : 'Show details'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i18n

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here title is html attribute and not allowed to give other than strings. Suggest me if there is any other way?

@radhikav1 radhikav1 merged commit 1f73de0 into develop Sep 13, 2023
@radhikav1 radhikav1 deleted the newux/confirmdialog branch September 13, 2023 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants