Add list/grid view modes, category filter bar, in-place encrypt/decrypt, and cancel token support#53
Merged
Merged
Conversation
- Allow users to skip a specific update version - Check for skipped versions before showing update dialog
Replace TabBar with PageView and bottom navigation bar for file category filtering. Introduce VaultCategory enum with all, images, videos, songs, and docs tabs. Add shared preferences persistence for enabled categories and a customize bar option in the overflow menu.
Introduce a new list view alongside the existing grid view for displaying folders and files. The view mode is determined by the `ExplorerViewMode.list` enum value, allowing users to switch between a compact grid layout and a detailed list layout.
Refactor reEncryptFile to use _isLegacyCbcFile instead of detectFileFormat for reliable CBC detection until header_codec endianness bug is fixed
Extend `VaultService` with `encryptVaultFiles` and `removeEncryption` methods for in-place encryption/decryption of vault files. Refactor `reEncryptVault` to report per-file progress, handle missing IVs gracefully, filter files from journal recovery, and use async key derivation to avoid UI hangs.
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.
Summary
Adds list and grid view modes for the explorer, a category filter bottom bar replacing TabBar, in-place file encryption/decryption with management screen, cancel token support for the decrypt pipeline, and an animated Latch logo widget.
Changes
View Modes
Category Filter
File Encryption/Decryption
encryptFileInPlaceanddecryptFileInPlacewith progress callbackreEncryptVaultto report per-file progress and use async key derivationFileInfoSheet
FileInfoSheetwidgetCancel Token
getVaultedFilemethodUI
AuthMethodCardto context-based themingUpdate Dialog