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: download generated pki key #18381

Merged
merged 10 commits into from
Dec 15, 2022
Merged

Conversation

hellobontempo
Copy link
Contributor

@hellobontempo hellobontempo commented Dec 14, 2022

In macOS the key defaults to opening in Keychain Access because the format is pem. The gif shows opening it in TextEdit for demo purposes.
key-download

@@ -91,9 +91,8 @@
{{/if}}
<DownloadButton
class="button is-ghost"
@data={{this.keyData}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reordered args so that download service and button are consistent: filename, content/data, extension

*/

export default class DownloadButton extends Component {
get extension() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wanted order of getters to be consistent and match arg order...

'store',
'version',
'wizard',
'secret-mount-path',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alphabetized? 🤷

@hellobontempo hellobontempo marked this pull request as ready for review December 15, 2022 00:55
@hellobontempo hellobontempo changed the title UI/vault 12034/download generated key UI: download generated pki key Dec 15, 2022
/**
* @module DownloadButton
* DownloadButton components are an action button used to download data. Both the action text and icon are yielded.
*
* * NOTE: when using in an engine, remember to add the 'download' service to its dependencies (in /engine.js) and map to it in /app.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❗ great reminder!

Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful! 🚀

@hellobontempo hellobontempo enabled auto-merge (squash) December 15, 2022 22:33
@hellobontempo hellobontempo merged commit 0c618d4 into main Dec 15, 2022
@hellobontempo hellobontempo deleted the ui/VAULT-12034/download-generated-key branch December 15, 2022 23:56
AnPucel pushed a commit that referenced this pull request Jan 14, 2023
* rename download service file

* rename file again

* add download-file service to engine

* refactor download button to use service

* refactor download service

* finish refactor download service, make arg  order consistent: filename, content, extension

* add download button to key details

* fix flaky test?
AnPucel pushed a commit that referenced this pull request Jan 25, 2023
* rename download service file

* rename file again

* add download-file service to engine

* refactor download button to use service

* refactor download service

* finish refactor download service, make arg  order consistent: filename, content, extension

* add download button to key details

* fix flaky test?
AnPucel pushed a commit that referenced this pull request Feb 3, 2023
* rename download service file

* rename file again

* add download-file service to engine

* refactor download button to use service

* refactor download service

* finish refactor download service, make arg  order consistent: filename, content, extension

* add download button to key details

* fix flaky test?
jayant07-yb pushed a commit to jayant07-yb/hashicorp-vault-integrations that referenced this pull request Mar 15, 2023
* rename download service file

* rename file again

* add download-file service to engine

* refactor download button to use service

* refactor download service

* finish refactor download service, make arg  order consistent: filename, content, extension

* add download button to key details

* fix flaky test?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants