Fix/368 dont store appended files in indexdb as base64#370
Merged
felix-schultz merged 4 commits intodevfrom Nov 6, 2025
Merged
Fix/368 dont store appended files in indexdb as base64#370felix-schultz merged 4 commits intodevfrom
felix-schultz merged 4 commits intodevfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a robust offline file handling mechanism for the desktop app, allowing files to be stored and accessed locally when offline, while continuing to use signed URLs for online scenarios. The changes span both the frontend and backend, including new APIs, local file post-processing, and a temporary file database. Additionally, there are minor improvements to code style and dependency management.
Offline File Handling and Temporary File Storage:
fileToUrlmethod inHelperState, allowing files to be stored in the app cache and accessed via a local URL when offline. This includes post-processing the file, renaming it by hash, and storing metadata in a newtemporaryFilesDbDexie database. [1] [2] [3]post_process_local_fileto hash, rename, and canonicalize locally stored files, ensuring consistent file access and deduplication. [1] [2] [3]Frontend Integration:
Backend and Utility Improvements:
HEADmethod in the storage backend to enhance interaction with remote storage services.Dependency Updates:
urlencoding,tracing) to the catalog package to support improved logging and URL handling.