Repository navigation
fix(sync): the move sheet counts only the Local only connections and turned-off categories that stay - #4817
Merged
Conversation
…turned-off categories that stay
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
MovePlanhaslocal_connections(Local only and sample connections) andturned_off(records a turned-off category holds back, passwords included) in place ofstaying_behind. A record of a connection that stays, or of one this device does not hold, is in neither count.SyncMoveSheetand WindowsSyncUploadDialogshow one line per count. Linux has no move or upload sheet.MovePlanInfoand the regenerated Windows bindings follow.Test plan
core/crates/sync/tests/engine/moves.rs,the_plan_counts_what_stays_by_the_names_the_sheet_gives_it: layouts of a synced, a Local only and a deleted connection, saved queries turned off. The old rule counted 8 staying; now 1 connection and 2 turned off.local_only_records_stay_behind_and_the_plan_counts_themmoves to the new fields.tablepro-sync1218/1218,tablepro-ffi sync::74/74, Windows build andTablePro.App.Model.Tests, Mac build andProviderMovesTests52/52, lint, l10n.