Repository navigation
feat(windows): sync parity with the Mac for approvals, company servers, profile secrets, device removal and sign-out - #4734
Merged
Merged
Conversation
…ata an involuntary sign-out left
# Conflicts: # windows/src/TablePro.App/Strings/en-US/Resources.resw
…ther devices and from teammates
# Conflicts: # windows/docs/decisions/README.md # windows/src/TablePro.App/Services/Workbench.Sync.cs
…Credential Manager for TablePro Sync
… service opens, and Sign Out clears the owner it deleted
… on the Mac, and the card names the plan from the licenses
…s them all and reloads the library once
…ver reaches the core once a sign-in overtook it
…ives rustup's stderr" This reverts commit 556443b.
# Conflicts: # core/docs/decisions/README.md
# Conflicts: # core/docs/decisions/README.md # windows/AGENTS.md # windows/docs/decisions/0031-team-library-and-team-keys.md # windows/docs/decisions/README.md # windows/src/TablePro.App.Model/AccountPanel.cs # windows/src/TablePro.App/MainWindow.xaml # windows/src/TablePro.App/MainWindow.xaml.cs # windows/src/TablePro.App/Services/AccountSetup.cs # windows/src/TablePro.App/Services/Workbench.Sync.cs # windows/src/TablePro.App/Views/SettingsView.License.cs # windows/src/TablePro.Interop/Account.cs
…ynced secrets store
# Conflicts: # core/docs/decisions/README.md # windows/AGENTS.md # windows/docs/decisions/0029-tablepro-sync.md # windows/docs/decisions/README.md # windows/src/TablePro.Interop/TableProCore.cs
# Conflicts: # core/crates/ffi/src/credential_manager.rs # core/docs/decisions/README.md # windows/src/TablePro.App/MainWindow.xaml
# Conflicts: # windows/docs/decisions/README.md
datlechin
added a commit
that referenced
this pull request
Nov 30, 2026
datlechin
added a commit
that referenced
this pull request
Nov 30, 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
ServerInfo, so the registry policy work needs no change here. Windows ADR 0036.HasPaidfrom feat(account): every app asks for a license the same way, as support, and never asks someone who paid #4729); a development stack or a company server names none (E2E W3). feat(account): every app asks for a license the same way, as support, and never asks someone who paid #4729's Upgrade link and the Buy link stay off for a company server's people.TABLEPRO_API_URLis the API's origin, as on the Mac, and the core gets its/v2base;TABLEPRO_LICENSE_KEYSreach the core, with the stack or alone (E2E W2).HostSyncedSecrets, under its credential lock, when the app passes none; a profile's delete takes every item, the one-time code secret included. Core ADR 0088.DeleteOtherTeamLibraryData), one cleanup at a time and before the next sync service opens; edits the last account never uploaded are named in an InfoBar. The same account signing in again keeps its edits.sync.state.wrong_identity,sync.state.integrity), as the Mac does since fix(sync): a device signed in again after its removal takes over its state file instead of failing with wrong_identity #4708.LicenseAsk.cs(feat(account): every app asks for a license the same way, as support, and never asks someone who paid #4729) fails CA1859 on its own; reported, not fixed here.core/crates/ffi(credential_manager, core_handle, sync/open, new profile_secrets), core ADRs 0076, 0077 and the index,windows/AGENTS.md.AccountPanelTests.ProIsTheSharedLinksFeatureis replaced by the plan tests, since the card no longer names Pro from theshared_linksfeature.Test plan
TablePro.App.Model.Tests: newSyncApprovalsTests,SyncApprovalItemsTests,TeamLibraryOwnersTests,AccountDevelopmentSetupTests,CompanyServerAddressTests, plus new cases inAccountPanelTests,TeamSignOutTests,TeamLibraryTests,SyncHostTests,SyncPaneTests. On macOS with a placeholder core: 1387 passed; the 8KeymapTeststhat load the real core fail only there and run in CI.TablePro.Interop.Tests: new account server and approvals cases (real core, CI).profile_secretsandsync::opentests on macOS; Credential Manager round trip and the profile delete incredential_manageron Windows.cargo fmtclean;cargo clippy --locked -p tablepro-ffi --all-targets -- -D warningson the merged tree (7973e99): exit 0, after it caught main's new shared-row test buildingSystemSecretswithoutsynced;cargo test -p tablepro-ffi --lib -- profile_secrets synced_secrets_tests sync::secrets core_handle: 18 passed. On tp-win the Windows-only code compiled with no warning; its twocredential_managertests did not finish within the VM hold and are still owed.verify.sh --platform windows:app(Native AOT publish, core built withCargoProfile=dev): PASS. The first two runs caught CS8601 inSettingsView.Server.csand CA1859 inSyncApprovalsView.xaml.cs, both fixed here.uifor the account and sync settings tests (SettingsShowTheAccountSignedOutWithSignIn,SettingsOfferACompanyServerWhoseAddressContinueChecks,SettingsListThePlansFeaturesThisAppHasWithTheLicensingLinks,SettingsShowSyncOffAndTableProSyncAsksForAPlanWhileSignedOut): 8 of 8 passed, light and dark. The full UI suite runs in CI.