-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
KV Download Value Stringify Toggle #23747
Conversation
Build Results: |
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.
Small suggestion, otherwise looks good!
as |F| | ||
> | ||
<F.Label>Stringify secret value</F.Label> | ||
<F.HelperText>Preserve formatting for JSON values.</F.HelperText> |
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.
Minor nit, but the language here is unclear whether the current value will preserve formatting, or checking this option will preserve formatting. Maybe update to:
<F.HelperText>Preserve formatting for JSON values.</F.HelperText> | |
<F.HelperText>Selecting this option preserves formatting for JSON values.</F.HelperText> |
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.
I had something similar originally and this is the update I got from design. 🤷♂️
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.
alright then! 🤷
* adds stringify toggle to masked-input download modal * updates stringify toggle copy and adds a test * adds changelog entry
* adds stringify toggle to masked-input download modal * updates stringify toggle copy and adds a test * adds changelog entry
* KV Download Value Stringify Toggle (#23747) * adds stringify toggle to masked-input download modal * updates stringify toggle copy and adds a test * adds changelog entry * adds modal wormhole to test
* KV Download Value Stringify Toggle (#23747) * adds stringify toggle to masked-input download modal * updates stringify toggle copy and adds a test * adds changelog entry * removes extra test from backport for masked input * adds modal wormhole to test
This PR adds a toggle to the KV secrets engine value download modal to optionally stringify the value. Previously the default behavior was to stringify which was adding escape characters for things like new lines that some users did not want. This will give control over how the value is represented in the downloaded file.
Closes #22279