kiwix / kiwix-js-pwa

Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
https://pwa.kiwix.org
GNU General Public License v3.0
177 stars 29 forks source link

When using persistent FSA permissions, go straight to article view without showing Config first #573

Closed Jaifroid closed 5 months ago

Jaifroid commented 6 months ago

When using persistent permissions with the PWA, there is a slightly clunky flow. Instead of opening straight to the article view, like in the Electron app, the PWA goes first to Configuration and then switches to the article view. This is probably the result of some prior code that switches to Configuration view if the browser is using the File System Access API. However, this should be done only if permission cannot be obtained.

Note that this is already the case if the user is using the OPFS.