captbaritone / captbaritone/webamp
Use showDirectoryPicker when supported
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 796
- PR merge metrics
- No merged PRs in 30d
Description
The current implementation shows an "upload" warning dialog makes it seem like I am sending all my mp3 files to the hosted site :

when in fact I am just giving the web app access to those local files.
[`showDirectoryPicker`](https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker) is supported in a significant portion of browsers ([80% of desktop users](https://caniuse.com/?search=showDirectoryPicker)). It provides a nicer experience by saying "Let site view files?" :

`showDirectoryPicker()` just returns a `Promise`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.