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

UI: improve DR Operation Token flow with PGP #26993

Merged
merged 6 commits into from
May 14, 2024

Conversation

hashishaw
Copy link
Collaborator

@hashishaw hashishaw commented May 13, 2024

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

Before:
19cad09a56b3ddd1e8a29bbbf49f1cfd

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

  • Ent tests pass

@hashishaw hashishaw added this to the 1.16.3 milestone May 13, 2024
@hashishaw hashishaw requested a review from a team as a code owner May 13, 2024 19:31
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label May 13, 2024
Copy link

github-actions bot commented May 13, 2024

Build Results:
All builds succeeded! ✅

Copy link

github-actions bot commented May 13, 2024

CI Results:
All Go tests succeeded! ✅

Copy link
Contributor

@Monkeychip Monkeychip left a 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.

@hashishaw hashishaw merged commit 469ecf0 into main May 14, 2024
31 checks passed
@hashishaw hashishaw deleted the ui/VAULT-27070/generate-operation-token-modal branch May 14, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants