-
Notifications
You must be signed in to change notification settings - Fork 16
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
DSAT-106: change 'Revoke All' to 'Revoke File' with accompanying functionality #78
Conversation
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.
can we add something to localstorage to keep the revoke state after a refresh? it would also need to get cleared on reset/logout
<div className="RevokeAll-text"> | ||
If you revoke this file, only you will be able to access it. | ||
<p /> | ||
The SDK does not currently support undoing this action. |
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.
what about just
<p>If you revoke this file, only you will be able to access it.</p>
<p>The SDK does not currently support undoing this action.</p>
instead of an empty <p />
?
</div> | ||
<button className="RevokeAll-confirm" onClick={doRevoke}> | ||
Yes, Revoke This File | ||
</button> |
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.
Can we use the Button
component instead?
Revoke All
button to top of Policy layout with change to copy asRevoke File