-
Notifications
You must be signed in to change notification settings - Fork 29
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d877259
to
feb8d99
Compare
GnsP
reviewed
Sep 6, 2023
sumengwang
reviewed
Sep 6, 2023
size="small" | ||
onClick={handleToggleExtendedMessage} | ||
color="inherit" | ||
title={isExpanded ? 'Hide details' : 'Show details'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i18n
There was a problem hiding this comment.
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?
njbriggs
reviewed
Sep 6, 2023
9ff3be9
to
7031c5b
Compare
GnsP
approved these changes
Sep 12, 2023
sumengwang
approved these changes
Sep 12, 2023
njbriggs
approved these changes
Sep 12, 2023
seanfeld
approved these changes
Sep 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add new component for confirmation dialog
Description
Add new component for confirmation dialog using react material components.
PR Type
Links
Jira: CDAP-20796
Test Plan
N/A
Screenshots
Confirm dialog with confirmation text
![image](https://private-user-images.githubusercontent.com/107839049/264955640-8e2062e6-6d07-4475-a8a4-716845193c51.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjY3MTMsIm5iZiI6MTczOTgyNjQxMywicGF0aCI6Ii8xMDc4MzkwNDkvMjY0OTU1NjQwLThlMjA2MmU2LTZkMDctNDQ3NS1hOGE0LTcxNjg0NTE5M2M1MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxN1QyMTA2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iOGQwYTIzODBmNWQxNDY0NWFkYjYyYmU2ZmM2MmVlOTcyNGJjYjY0YmZiYWZhYmQwNzk1YWNiM2NmYWM0MjJjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.oua62Th6SWehb-Wu4FUP4xUwaP3Kvp7dP7Ij-EmWxQU)
Confirm dialog with Error message
![image](https://private-user-images.githubusercontent.com/107839049/264955553-c9530f87-9c3d-412b-a4eb-b5a3d5babeb1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjY3MTMsIm5iZiI6MTczOTgyNjQxMywicGF0aCI6Ii8xMDc4MzkwNDkvMjY0OTU1NTUzLWM5NTMwZjg3LTljM2QtNDEyYi1hNGViLWI1YTNkNWJhYmViMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxN1QyMTA2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNzliOTQwMjg2MDU5YTM4YmJhMDIyZDczOGM0MmFlZjc0ZTI3NDU1NWVkYjc3Y2E3OTJhOTcxZGU1OTNjZjkyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ZJRZ-PBkh4uQBJkJWxLe0C3kgMx1-Ntc9KM5B4V4FBM)
Confirm dialog with Error message and more details expanded
![image](https://private-user-images.githubusercontent.com/107839049/264955782-33dcbf6c-c23f-4e0d-b875-f52ae3bf0164.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjY3MTMsIm5iZiI6MTczOTgyNjQxMywicGF0aCI6Ii8xMDc4MzkwNDkvMjY0OTU1NzgyLTMzZGNiZjZjLWMyM2YtNGUwZC1iODc1LWY1MmFlM2JmMDE2NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxN1QyMTA2NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMTQ4MWMxZTI2NWRlZjliYTlkNWJiZjNmNWI1MTQ2M2NhZmIxYzhjMTRmNjhhNzg0NTQ3YTVhNTg1ZjdlZDMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.CxtXhPlavcihQfjvT4LOvO6pohhE4BwaFAl5BMy9gyg)