Optimize DB operations and add migration for tab ordering#257
Merged
ZanderCowboy merged 4 commits into7-implement-draggable-retryfrom Feb 9, 2026
Merged
Optimize DB operations and add migration for tab ordering#257ZanderCowboy merged 4 commits into7-implement-draggable-retryfrom
ZanderCowboy merged 4 commits into7-implement-draggable-retryfrom
Conversation
…ing improvements Co-authored-by: ZanderCowboy <59666243+ZanderCowboy@users.noreply.github.com>
Co-authored-by: ZanderCowboy <59666243+ZanderCowboy@users.noreply.github.com>
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
[WIP] Implement draggable retry for entries
Optimize DB operations and add migration for tab ordering
Feb 9, 2026
ZanderCowboy
added a commit
that referenced
this pull request
Feb 9, 2026
* feat: add changelog and changelog_entry model * feat: create changelog_repository * feat: add changelog_bloc * chore: update FirebaseConfigKeys * feat: update frontend and create ChangelogPage * chore: update changelog.md in cursor commands * docs: changelog * chore: update firebase_service with a forceFetchAndActivate * chore: update styling for changelog_page and add button to refresh * docs: changelog * test: changelog_bloc and changelog_repository * chore: add tests to cursor commands * backend: update entry and tab repository for reordering * backend: update models for reordering and add TODOs * chore: update TabsMapper * chore: update HomeBloc with reordering events * test: update details_bloc, home_bloc, product_bloc, search_bloc * frontend: add Reordering capabilities * chore: update tutorial_page and repo * chore: update analysis_options * docs: changelog * chore: update changelog cursor command * feat(ui): add gap3 and vertical4horizontal0 spacing constants * feat(android): enable onBackInvokedCallback for predictive back gesture * feat(details): add delete functionality to details bloc * feat(details): update details page UI to support delete functionality * feat(layout): implement cross-collection entry dragging in tab layouts * feat(home): update collection tab and entry card for drag support * refactor(edit): update edit pages for consistency * refactor(add): update add widgets for consistency * refactor(presentation): update various pages for consistency and spacing * feat(android): update splash screen to match home page background color - Add color resources for light (#697a91) and dark (#050a19) themes - Update launch_background.xml files to use theme-aware splash_background color - Splash screen now matches home page background in both light and dark modes * feat(ios): update splash screen to match home page background color - Add splash_background color asset with light and dark appearance variants - Update LaunchScreen.storyboard to use theme-aware splash_background color - Splash screen now matches home page background in both light and dark modes * feat(web): update splash screen to match home page background color - Update manifest.json background_color and theme_color to #697a91 - Update index.html body background color to match home page - Splash screen now matches home page background color * chore: add commit cursor command * chore: update create-pr cursor command * chore: update create-pr cursor command * chore: create fix.md cursor command * test: details_bloc * feat: create code-review.agent for github * test: data_exchange_service failing * 7 Draggable Fix Tests (#262) * test: data_exchange_service * test: data_exchange_service whitespaces * test: firebase_service * chore: update test cursor command * chore: update create-pr.md cursor command * Optimize DB operations and add migration for tab ordering (#257) * Initial plan * refactor: address PR review feedback with performance and error handling improvements Co-authored-by: ZanderCowboy <59666243+ZanderCowboy@users.noreply.github.com> * Optimize DB operations and add migration for tab ordering Co-authored-by: ZanderCowboy <59666243+ZanderCowboy@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ZanderCowboy <59666243+ZanderCowboy@users.noreply.github.com> Co-authored-by: Zander Kotze <zanderkotze99@gmail.com> * chore: UI update * docs: changelog * chore: fix dependency injection issue * chore: minor changes --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
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.
Addresses performance issues and data migration concerns from PR #252 review feedback. Multiple tabs with
order=0cause non-deterministic UI ordering on existing installations. Repository methods perform N individual DB calls instead of bulk operations.Database Performance
get()/put()loops withgetAll()/putAll()inupdateTabsOrder(),readEntries(),readTabs(), andgetTab()Tab Order Migration
readTabs()and auto-migrate based on timestampError Handling
isDeleted=truewhen repository confirms successJSON Compatibility
@JsonKey(defaultValue: 0)toTabs.orderandTabsDTO.orderorderfieldMinor Fixes
order=0instead oforder=1(consistent 0-based indexing)ReusableFormusinghasListeners💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.