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

DSAT-106: change 'Revoke All' to 'Revoke File' with accompanying functionality #78

Merged
merged 5 commits into from
Aug 2, 2019

Conversation

robbtraister
Copy link

  • move Revoke All button to top of Policy layout with change to copy as Revoke File
  • add warning modal before revoking file
  • disable all input elements after policy is revoked

@dmihalcik-virtru dmihalcik-virtru self-requested a review August 2, 2019 20:23
Copy link

@NathanAB NathanAB left a 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.
Copy link

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>
Copy link

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?

@biscoe916 biscoe916 merged commit a189fbd into develop Aug 2, 2019
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.

3 participants