-
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
UI: download generated pki key #18381
Conversation
…, content, extension
@@ -91,9 +91,8 @@ | |||
{{/if}} | |||
<DownloadButton | |||
class="button is-ghost" | |||
@data={{this.keyData}} |
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.
reordered args so that download service and button are consistent: filename
, content/data
, extension
*/ | ||
|
||
export default class DownloadButton extends Component { | ||
get extension() { |
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.
wanted order of getters to be consistent and match arg order...
'store', | ||
'version', | ||
'wizard', | ||
'secret-mount-path', |
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.
alphabetized? 🤷
/** | ||
* @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 |
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.
❗ great reminder!
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.
Beautiful! 🚀
* 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?
* 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?
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.