perf: optimize sync engine for large file batches + less UI junk - #64
Open
chedy256 wants to merge 4 commits into
Open
perf: optimize sync engine for large file batches + less UI junk#64chedy256 wants to merge 4 commits into
chedy256 wants to merge 4 commits into
Conversation
chedy256
commented
Jul 15, 2026
Contributor
- Replace sequential downloads with parallel Isolate-based workers
- Cache parsed JSON responses to avoid redundant CPU work
- Reduce UI jank during sync by throttling progress updates
- Add batch size tuning for mobile
… on flutter version 3.44) and adjust file picker settings (as allow multiple is deprecated and became useless)
- Added main_screen_entity_menu.dart for entity menu actions including rename, delete, sync, share, and properties. - Introduced main_screen_inside_folder.dart to manage folder contents, file selection, and actions like upload and create folder. - Created main_screen_widgets.dart for reusable widgets such as FAB options, drawer items, and synced FAB. - Enhanced user experience with file sharing, syncing, and improved UI for file properties.
Explicit return after await Isolate.run() to satisfy non-nullable Future<Map<String, dynamic>> return type. fix(sync_engine): make UnimplementedError async in test mocks Change FailingHttpClient.read() and readBytes() from sync throw to async => throw to match real HTTP client behavior. fix(sync_engine): fix tmp.delete() catchError type mismatch Replace .catchError((_) => tmp) with nested try/catch to discard errors without returning File.
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.