Skip to content

feat(windows): Team Library saved queries and team keys - #4658

Merged
datlechin merged 24 commits into
feat/windows-sync-settingsfrom
feat/windows-team-library
Nov 28, 2026
Merged

datlechin merged 24 commits into
feat/windows-sync-settingsfrom
feat/windows-team-library

Conversation

@datlechin

@datlechin datlechin commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Interop: TableProSync team calls (teams, items, scope status, publish, remove, unsent edits, discard, delete after sign-out, conflicts, team keys) and SavedQueries.GetAllAsync over the core's Contents().
  • Merges main for core feat(core): Team Library connections cross as library records, and every Team Library call names its owner #4661: each Team Library call takes the TeamLibraryOwner from GetTeamLibraryOwner; sync.team_library.other_owner is worded; a team item's connection maps from the core's record, no bundle JSON in C#.
  • TeamLibraryModel: teams with folders and queries read from the fields JSON, last changed by, unsent edits, conflicts with Keep mine or Keep theirs by digest, publish bound to the sign-in and owner the team was read under; reads again on sync and key changes, clears on a sign-in change.
  • TeamKeysModel: the macOS status rules, confirm, key change, rotate, start over with the compared members, held restart compare and accept, notices.
  • team_library now listed on Windows (PlanFeatures.OnWindows) and gates the section, publish and Team keys card through Workbench.Gate.
  • Saved queries pane: read-only Team Library section per team, double-click or Enter opens a new query tab, Publish to team with a count confirm, a bar for outcome, conflicts (Resolve) and unsent edits (Discard).
  • Conflict ContentDialog: fields on both sides, changed by, Keep mine, Keep theirs, Decide later.
  • Settings > Sync > Team keys page: Show my words for every member, a card per team with status and action, members and stopped devices for owners and admins. Words only, no QR.
  • Sign out's Team Library step (feat(windows): Team Library's sign-out step #4663, merged into this branch): unsent edits ask Upload, Discard or Cancel before the keys erase; the account's Team Library data is deleted after sign-out through SyncHost.LeaseAsync. TeamSignOutFlow asks before any delete (also when the edits cannot be listed), starts the service again on Upload, and erases the keys on the leased service; Codex round 3's three findings are fixed.
  • Team connections are counted only; showing and publishing them over PublishTeamConnections comes next.
  • ADR windows/docs/decisions/0031-team-library-and-team-keys.md.

Test plan

  • New: TeamLibraryTests, TeamKeysTests, SyncHostTests.ALeaseKeepsTheServiceOfASignInThatEndedUntilItIsReleased, TeamSignOutTests (one per sign-out finding), LocalizationTests.EveryTeamStateTheTeamViewsShowHasItsWords.
  • Updated on purpose: LicenseGateTests.EveryPaidCodeOfTheMacAppIsListedOnceAndSettingsShowsOnlyWhatThisAppHas and the UI test AccountSettingsTests now list team_library on Windows.
  • CI's Windows jobs build and run them; no local build (builds on the mini are paused).

@datlechin
datlechin force-pushed the feat/windows-sync-keys branch from a41f8b8 to 391c7fd Compare November 28, 2026 00:06
@datlechin
datlechin force-pushed the feat/windows-team-library branch from cbe240b to dd3b47e Compare November 28, 2026 00:07
Base automatically changed from feat/windows-sync-keys to feat/windows-sync-settings November 28, 2026 00:59
@datlechin
datlechin marked this pull request as ready for review November 28, 2026 01:25
@datlechin
datlechin merged commit f5c421d into feat/windows-sync-settings Nov 28, 2026
9 of 13 checks passed
@datlechin
datlechin deleted the feat/windows-team-library branch November 28, 2026 01:29
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