Repository navigation
feat(windows): TablePro Sync settings, status and end-to-end encryption - #4651
Merged
Merged
Conversation
…flight, switches reach a late open
…e the core's own close to it
…ew signature asks
…om this PC's own approval
…e codes are worded
This was referenced Nov 28, 2026
datlechin
added a commit
that referenced
this pull request
Nov 28, 2026
This was referenced Nov 28, 2026
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
Settings and status:
TableProCore.OpenSyncAsyncandTableProSyncover the core'sSyncService: status, scopes, key state, categories, history window, provider choice, upload plan, open upload, the prompt for another account, and one wake for the core's status and keys signals.CoreError.Synccarries a refusal's step-up, retry delay, refused change or lock.SyncHostinTablePro.App.Model: one service per app, opened at launch on a PC on TablePro Sync and on first use otherwise, opened again after each sign-in or provider change. The first upload is bound to the sign-in it was confirmed under, waits for the account's keys and keeps TablePro Sync only once the core returned. An upload a restart cut short is kept once it arrived.SyncPanedecides the Settings section as the macOSSyncPaneLayoutdoes for TablePro Sync: status (starting, up to date, syncing, waiting to retry, downloading only, waiting for approval, recovery key needed, locked, unavailable with its reason), uploads paused, another account, the plan gate, the server's switches.AppSettings.Synckeeps the provider, the switches and the last sign-in.sync.*,keys.*andaccount.*code the core can return on Windows is worded; a new test reads the codes from the core's sources. Failures nobody saw are logged by code only.service_syncjoins the plan's features in Settings.LicenseGateTests.EveryPaidCodeOfTheMacAppIsListedOnceAndSettingsShowsOnlyWhatThisAppHasis updated for it.windows/docs/decisions/0029-tablepro-sync.md.End-to-end encryption (#4655, merged into this branch):
TableProSync(set-up, replace and recover with the recovery key, approval on both sides, devices and their removal, reset, notices, sign-out's erase);CoreError.StepUpandTableProAccount.StepUpAsyncfor RFC 9470 step-up.IKeyFlowsand tested against a fake:RecoveryKeyFlow,RecoverFlow,ApprovalFlow(1.5 s polling, five words shown once, cancelled on close),RemovalFlow(recovery key, review of devices and teammates, seats, rotation),ResetKeysandResetProposal,AccountKeysPage,KeysSignOut,StepUpRetry.windows/docs/decisions/0030-end-to-end-encryption.md.Test plan
TablePro.App.Model.Tests:SyncHostTests,SyncPaneTests,SyncSettingsTests,LocalizationTests.Sync.TablePro.Interop.Tests:SyncTestsagainst the real core with no sign-in.SettingsShowSyncOffAndTableProSyncAsksForAPlanWhileSignedOut, screenshots62-settings-syncand63-settings-sync-plan, light and dark, from the Windows jobs.TablePro.App.Model.Tests:KeyFlowTests,LocalizationTests.Sync(every key flow string).TablePro.Interop.Tests:SyncTests.KeyCallsNameTheirDraftsAndNeedASignIn.SyncTestsleave the history and saved queries' files to the core's own close on Windows, asHistoryTestsdoes.