Skip to content
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

Reopen last selected archive with File System Access API #1221

Merged
merged 6 commits into from
Mar 2, 2024

Conversation

Jaifroid
Copy link
Member

@Jaifroid Jaifroid commented Mar 2, 2024

In browsers that support the File System Access API (only Chromium browsers currently), it is now possible to re-open the last selected archive automatically if the user has given permanent access permissions.

This is a great step towards giving the app native-level UX.

However, there are situations where this could be annoying, so we need to provide a UI option to disable auto-loading.

Nota bene: this does not re-open the last read article like in Kiwix PWA, as that would require more code and more UI to avoid privacy concerns. It might be added in the future.

Fixes #1218.

@Jaifroid
Copy link
Member Author

Jaifroid commented Mar 2, 2024

Also fixes #1217.

@Jaifroid Jaifroid merged commit 0e5db5b into main Mar 2, 2024
9 checks passed
@Jaifroid Jaifroid deleted the Reopen-last-selected-ZIM-archive branch March 2, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment