Skip to content

feat(windows): sync parity with the Mac for approvals, company servers, profile secrets, device removal and sign-out - #4734

Merged
datlechin merged 33 commits into
mainfrom
lane/g1-windows-sync-parity
Nov 30, 2026
Merged

datlechin merged 33 commits into
mainfrom
lane/g1-windows-sync-parity

Conversation

@datlechin

@datlechin datlechin commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Test plan

  • TablePro.App.Model.Tests: new SyncApprovalsTests, SyncApprovalItemsTests, TeamLibraryOwnersTests, AccountDevelopmentSetupTests, CompanyServerAddressTests, plus new cases in AccountPanelTests, TeamSignOutTests, TeamLibraryTests, SyncHostTests, SyncPaneTests. On macOS with a placeholder core: 1387 passed; the 8 KeymapTests that load the real core fail only there and run in CI.
  • TablePro.Interop.Tests: new account server and approvals cases (real core, CI).
  • Rust: profile_secrets and sync::open tests on macOS; Credential Manager round trip and the profile delete in credential_manager on Windows. cargo fmt clean; cargo clippy --locked -p tablepro-ffi --all-targets -- -D warnings on the merged tree (7973e99): exit 0, after it caught main's new shared-row test building SystemSecrets without synced; 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 two credential_manager tests did not finish within the VM hold and are still owed.
  • tp-win (Windows 11 Arm64), verify.sh --platform windows:
    • app (Native AOT publish, core built with CargoProfile=dev): PASS. The first two runs caught CS8601 in SettingsView.Server.cs and CA1859 in SyncApprovalsView.xaml.cs, both fixed here.
    • ui for the account and sync settings tests (SettingsShowTheAccountSignedOutWithSignIn, SettingsOfferACompanyServerWhoseAddressContinueChecks, SettingsListThePlansFeaturesThisAppHasWithTheLicensingLinks, SettingsShowSyncOffAndTableProSyncAsksForAPlanWhileSignedOut): 8 of 8 passed, light and dark. The full UI suite runs in CI.
    • The FFI crate, with the new Windows-only profile secrets code, built with no rustc warning.
  • Codex review: 3 rounds; 7 defects found and fixed (approval bound to its service, owner cleanups ordered and gating the next open, Sign Out reading a failed engine start, owner identity at Sign Out, the review page's first read, comments), last round clean.

# Conflicts:
#	windows/src/TablePro.App/Strings/en-US/Resources.resw
# Conflicts:
#	windows/docs/decisions/README.md
#	windows/src/TablePro.App/Services/Workbench.Sync.cs
… service opens, and Sign Out clears the owner it deleted
… on the Mac, and the card names the plan from the licenses
…ver reaches the core once a sign-in overtook it
# 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
# 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
datlechin merged commit 03419c0 into main Nov 30, 2026
1 check passed
datlechin added a commit that referenced this pull request Nov 30, 2026
datlechin added a commit that referenced this pull request Nov 30, 2026
@datlechin
datlechin deleted the lane/g1-windows-sync-parity branch November 30, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant