Here is a summary of the Hacker News post in Markdown format:
Positive Sentiment
-
The post introduces new web APIs that enable building advanced web apps, like using system level contact picker, saving files directly to disk, accepting file uploads etc. This will allow developing full-featured web apps that rival native apps.
-
showSaveFilePicker()
provides a better user experience than just downloading a file, since it allows editing and incrementally saving a file. -
Being able to retain file access permissions between sessions is a useful upcoming feature.
Negative Sentiment
-
The APIs have poor browser support currently. A browser compatibility matrix should have been provided.
-
The file access APIs may be unexpected and seem unnatural to users. Clear user prompts need to be shown when accessing user files.
-
Some feel web apps should not try to replace native apps and traditional editors.
Recommended Actions
-
Provide a browser compatibility matrix to inform developers.
-
Educate users on how file access works, show clear prompts before accessing user files.
-
Prioritize user control, privacy and security as these powerful web APIs roll out.
Interesting links
-
Browser support matrix: https://web.dev/patterns/advanced-apps/contacts/#:~:text=con...
-
Powering browser support matrix using Eleventy and MDN data: https://github.com/mdn/browser-compat-data
-
File handling spec: https://web.dev/patterns/files/
-
Permission persistence flag in Chromium: --enable-features=kFileSystemAccessPersistentPermissions
-
Example editors:
I lead the Chrome Developer Relations team at Google.
We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.
Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.