-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
UI: improve DR Operation Token flow with PGP #26993
Merged
hashishaw
merged 6 commits into
main
from
ui/VAULT-27070/generate-operation-token-modal
May 14, 2024
Merged
UI: improve DR Operation Token flow with PGP #26993
hashishaw
merged 6 commits into
main
from
ui/VAULT-27070/generate-operation-token-modal
May 14, 2024
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
Build Results: |
CI Results: |
Monkeychip
reviewed
May 13, 2024
Monkeychip
approved these changes
May 13, 2024
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.
One question, non-blocking. Great solution.
1 task
hashishaw
added a commit
that referenced
this pull request
May 28, 2024
hashishaw
added a commit
that referenced
this pull request
May 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
This PR improves the DR Operation Token flow when using a PGP key. It replaces the CopySnippet component with CodeBlock which supports line wrapping, and it is updated so that errors returned from the API after clicking "Generate Operation Token" will show on the PGP screen.
After:
![image](https://private-user-images.githubusercontent.com/82459713/330493129-6e7e9b22-2334-4224-9f6f-7c48fe4777e8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2Nzg5NTUsIm5iZiI6MTcyNTY3ODY1NSwicGF0aCI6Ii84MjQ1OTcxMy8zMzA0OTMxMjktNmU3ZTliMjItMjMzNC00MjI0LTlmNmYtN2M0OGZlNDc3N2U4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDAzMTA1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlMTY5YTc3NDI3YWYzZGJlOTBjNzkyMTE5NTAyYTYwODQ4MTdiNjUwYTQxZWQyOTUwYWI1NjVjZDdjMjU2ODcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xHRJl4wwF_t6Mjca6mYT6ohs1gYAF4Tu7__uC22E32Y)
Before:
![19cad09a56b3ddd1e8a29bbbf49f1cfd](https://private-user-images.githubusercontent.com/82459713/330181544-c78b3b17-f419-4a9e-b5d3-2e2365999ff6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2Nzg5NTUsIm5iZiI6MTcyNTY3ODY1NSwicGF0aCI6Ii84MjQ1OTcxMy8zMzAxODE1NDQtYzc4YjNiMTctZjQxOS00YTllLWI1ZDMtMmUyMzY1OTk5ZmY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDAzMTA1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiZTgyN2E2YmViNDZlZmNjMTU0NTE1YTk5MWViY2RlNjU0OGY3MDNmNTgzM2U1YzViMjM4M2RjZGNlZjBjZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D6usDynORwXJRuqDxMgNtgMs5XySt_QLZfX2DekDF7E)
This is only being backport to 1.16 because CodeSnippet was released in Helios 3.1.0 and Vault upgraded to v3 in 1.16