WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.64k stars 257 forks source link

Use persistent permissions when accessing a local directory #1670

Open adamziel opened 3 months ago

adamziel commented 3 months ago

Playground enables loading a local WordPress site in the browser. Unfortunately, the user may be asked to grant directory permissions on each visit. Chrome now allows persisting the folder permissions – let's explore that:

https://developer.chrome.com/blog/persistent-permissions-for-the-file-system-access-api

But even if you have granted write permission to the folder before, you now need to grant access again. This gets tiring really quickly.

bgrgicak commented 3 months ago

I'm adding this to the Web app redesign project because it will significantly improve the user experience of the site manager.