-
Notifications
You must be signed in to change notification settings - Fork 125
Add File System Access showOpenFilePicker #137
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
Conversation
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.
This needed a make format
, but looks good to me!
displayOutcome( | ||
"open-file-picker", | ||
"error", | ||
)("window.showOpenFilePicker not available"); |
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.
Looks like this logging is actually broken. I've pushed a separate fix: 144752c
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.
Thanks, checking in, this is resolved now?
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.
Yeah, should be fixed.
index.html
Outdated
<button id="eme">Encrypted Media (EME)</button> | ||
<button id="idle-detection">Idle Detection</button> | ||
<button id="persistent-storage">Persistent Storage</button> | ||
<button id="open-file-picker">Open File Picker</button> |
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.
Arguably it might make sense to match the API names and use "show" instead of "open", but I personally don't feel strongly.
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.
uh, I guess this more specifically applies to .showDirectoryPicker(…)
(which does not contain "open").
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.
Updated to use method names verbatim.
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.
Thanks!
Updates made, ready for re-review. |
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.
Looks good to me!
Thanks, I don't have close + squash access on that repo. |
I should be able to merge! |
No description provided.