Skip to content

UI: improve DR Operation Token flow with PGP #26993

Merged
hashishaw merged 6 commits intomainfrom
ui/VAULT-27070/generate-operation-token-modal
May 14, 2024
Merged

UI: improve DR Operation Token flow with PGP #26993
hashishaw merged 6 commits intomainfrom
ui/VAULT-27070/generate-operation-token-modal

Conversation

@hashishaw
Copy link
Contributor

@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
@github-actions
Copy link

github-actions bot commented May 13, 2024

Build Results:
All builds succeeded! ✅

@github-actions
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.

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.

2 participants