Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
6cdb499
feat(duckdb): connect to MotherDuck and update DuckDB to 2.0.1 (#4461)
datlechin Nov 24, 2026
3eb0d7b
docs(core): ADR 0046, a monthly self-hosted license has 7 days' grace…
datlechin Nov 24, 2026
78ec49e
fix(mcp): bind approvals to the scope they showed and harden scope ru…
datlechin Nov 24, 2026
75d2bb4
docs(core): ADR 0048, a self-hosted install signs in through OIDC or …
datlechin Nov 24, 2026
9cf15f0
perf(editor): restyle a long line without typesetting it again (#4475)
datlechin Nov 24, 2026
ddf5288
perf(dashboard): publish one board per Server Dashboard refresh (#4476)
datlechin Nov 24, 2026
32dc16b
fix(focus): keep the sidebar selection accent and the keyboard when a…
datlechin Nov 25, 2026
a1238a1
feat(ai): read models from each provider and a shared catalog (#4477)
datlechin Nov 25, 2026
8955f77
feat(core): sign in to a company server and verify its license (#4470)
datlechin Nov 25, 2026
dfaf912
docs(core): ADR 0050, a self-hosted license renewal is requested by t…
datlechin Nov 25, 2026
fe6a624
docs(core): ADR 0055, managed policies for the sync provider and tabl…
datlechin Nov 25, 2026
e2b0999
feat(filter): list the filter column picker alphabetically on request…
datlechin Nov 25, 2026
2f1d007
feat(core): require RFC 9207 iss where the server promises it, compar…
datlechin Nov 25, 2026
5f4a17f
docs(core): ADR 0051, the sync protocol and its record rules (#4488)
datlechin Nov 25, 2026
3a14cbf
test(core-sqlite): measure the linked SQLite's stored tail check inst…
datlechin Nov 25, 2026
274dcd4
docs(core): 0055's personalSync keeps the key kinds, as amended by 00…
datlechin Nov 25, 2026
54efc4f
docs(core): ADR 0051, G0 round 1 fixes (#4491)
datlechin Nov 25, 2026
cd9b322
docs(core): ADR 0052, synced records have canonical ids and saved que…
datlechin Nov 25, 2026
3b3516e
docs(core): ADR 0051, G0 round 3 security fixes (#4496)
datlechin Nov 25, 2026
43753ff
docs(core): ADR 0054, one sync engine in the core for TablePro Sync a…
datlechin Nov 25, 2026
3c7724f
docs(core): ADR 0053, end-to-end sync keys under the recovery key, an…
datlechin Nov 25, 2026
f1bd5ca
docs(core): 0044 names what 0053 amends (#4499)
datlechin Nov 25, 2026
5f9ac36
docs(core): ADR 0051, G0 round 5 fixes (#4500)
datlechin Nov 25, 2026
c9ded5a
docs(core): 0054's key versions count from the chain, reset generatio…
datlechin Nov 25, 2026
836625e
docs(core): 0054 drop rule, generations without S, head times, fork b…
datlechin Nov 25, 2026
e0c55c6
docs(core): ADR 0053 G0 round 5, equivocation-only forks, new generat…
datlechin Nov 25, 2026
6a202f5
docs(core): ADR 0051, new generations and identity-key team statement…
datlechin Nov 25, 2026
9bdaa24
docs(core): ADR 0052, identity, device and member ids carry the gener…
datlechin Nov 25, 2026
8d79637
fix(transfer): show progress and results inside the import, export an…
datlechin Nov 25, 2026
e2c9a12
docs(core): ADR 0056, end-to-end keys on the 1Password and Bitwarden …
datlechin Nov 25, 2026
0aa3828
docs(core): align 0051, 0052, 0054, 0044 and 0055 with ADR 0056 (#4507)
datlechin Nov 25, 2026
4af6f5d
docs(core): ADR 0056 r2 and 0051, 0052, 0054 amendments for G0 round …
datlechin Nov 25, 2026
c2d418a
feat(policy): apply the ADR 0055 managed policy keys on the Mac and i…
datlechin Nov 25, 2026
26f3157
docs(core): ADR 0056 r3 and 0051, 0054 amendments for G0 round 2 (#4509)
datlechin Nov 25, 2026
c8f9b84
docs(core): ADR 0056 r4 and 0051, 0054 amendments for G0 round 3 (#4511)
datlechin Nov 25, 2026
d95bf4e
chore(skills): verify.sh takes a jobs cap (#4510)
datlechin Nov 25, 2026
1f95b43
docs(core): ADR 0056 r5 and 0051, 0054 amendments for G0 round 4 (#4512)
datlechin Nov 25, 2026
d881b57
docs(core): ADR 0056 r6 and 0051, 0054 amendments for G0 round 5 (#4513)
datlechin Nov 25, 2026
9072f9e
docs(core): ADR 0056 r7 and 0051, 0054 amendments for G0 round 6 (#4514)
datlechin Nov 25, 2026
e56ddf6
docs(core): ADR 0056 r8 and 0051, 0054 amendments for G0 round 7 (#4515)
datlechin Nov 25, 2026
f8e4ec2
fix(ios): keep plugin enum labels and always identities, and name an …
mvanhorn Nov 25, 2026
5402042
docs(core): accept ADRs 0051, 0052, 0054 and 0056 after G0 (#4517)
datlechin Nov 25, 2026
f5e5ea6
refactor(core): move the generated /v2 client into tablepro-cloud-api…
datlechin Nov 25, 2026
e0f17c7
feat(onboarding): setup guide, import hand-off and shortcut presets o…
datlechin Nov 25, 2026
20eab6b
feat(ios): sign in to a TablePro account through the shared core (#4492)
datlechin Nov 25, 2026
fdc66a8
feat(core): tablepro-records crate for synced kinds (#4518)
datlechin Nov 25, 2026
79e19fc
feat(core): tablepro-keys crate for the end-to-end design (#4519)
datlechin Nov 25, 2026
3dfce83
feat(core): store models, change journal and store generation (#4560)
datlechin Nov 25, 2026
fcb8da7
docs(core): ADR 0059, key errors name the expected signer and two lib…
datlechin Nov 25, 2026
01be1a3
docs(core): ADR 0060, the change journal names the records each write…
datlechin Nov 25, 2026
052faa7
docs(core): ADR 0061, the records crate settles six record rules (#4569)
datlechin Nov 25, 2026
743a2e0
docs(core): ADR 0062, a stopped scope records why it stopped (#4574)
datlechin Nov 25, 2026
5edaa79
test(ci): iOS runs on the shortcut presets now that it links the core…
datlechin Nov 26, 2026
018f999
docs(core): ADR 0064, a team restart waits for a word comparison, and…
datlechin Nov 26, 2026
e0cbe8e
docs(core): ADR 0063, the macOS app holds its results in the core bef…
datlechin Nov 26, 2026
295f67b
perf(editor): redraw only the lines a caret move or edit changes (#4570)
datlechin Nov 26, 2026
f8cacd7
perf(editor): parse edits off the main thread without copying the doc…
datlechin Nov 26, 2026
9221796
perf(autocomplete): size the completion popup before showing it and u…
datlechin Nov 26, 2026
594d9f7
docs(core): ADR 0065 and 0066, the WAL timeline check, refused change…
datlechin Nov 26, 2026
08bdd75
fix(core-storage): copy history.db into a name that does not exist ye…
datlechin Nov 26, 2026
3968cbd
fix(core): G1 round 1 fixes for tablepro-keys vectors and hardening (…
datlechin Nov 26, 2026
b055e28
feat(core): UUID record ids for synced kinds (#4587)
datlechin Nov 26, 2026
ba7b463
feat(core): sync crate contracts, FFI sync surface and fakes (#4572)
datlechin Nov 26, 2026
25b1d50
feat(core): store parity for the Mac library (ids, icons, SSH/TLS fie…
datlechin Nov 26, 2026
68b47a8
perf(import): read transaction state only when it can move, and trans…
datlechin Nov 26, 2026
4e39c02
feat(ios): connection library on the core store models (#4608)
datlechin Nov 26, 2026
b40e760
perf(export): start an export from the catalog's row estimate, not an…
datlechin Nov 26, 2026
0ddc1f4
perf(export): read a dump's table DDL once per schema (#4592)
datlechin Nov 26, 2026
baf645f
perf(connections): read the catalog side kinds in one round trip per …
datlechin Nov 26, 2026
4643c81
perf(editor): bound the memory each document's undo history holds (#4…
datlechin Nov 26, 2026
b2791c6
perf(editor): answer attributedString() with the text storage (#4562)
datlechin Nov 26, 2026
c2524df
perf(connections): reconnect when the network returns and ping less w…
datlechin Nov 26, 2026
d1e2db4
feat(macos): saved queries and history on the core stores (#4611)
datlechin Nov 26, 2026
9c5bfa3
perf(autocomplete): run completion requests off the main thread with …
datlechin Nov 26, 2026
77cff41
perf(redis): page keys from a saved scan cursor and send cluster pipe…
datlechin Nov 26, 2026
9df1cb2
fix(core): replace_library refuses a file that changed since it was r…
datlechin Nov 26, 2026
7b91fec
perf(ssh): share one session per route, use the probe channel, keep l…
datlechin Nov 26, 2026
3552158
test(editor): queue each TreeSitter edit burst before any of it can p…
datlechin Nov 26, 2026
10857f3
chore(windows): add changelog.d and towncrier notes (#4612)
datlechin Nov 26, 2026
2e551d4
perf(export): stream gzip while writing a dump and while reading one …
datlechin Nov 26, 2026
62b1297
perf(drivers): decode ClickHouse and SQL Server cells without per-fie…
datlechin Nov 26, 2026
971456a
feat(core): re-vendor /v2 with sync and key operations, and RFC 9470 …
datlechin Nov 26, 2026
917c297
perf(editor): scan a large script's run controls off the main thread …
datlechin Nov 26, 2026
1f3363e
perf(sidebar): match ASCII names by bytes and filter each container o…
datlechin Nov 26, 2026
6400623
perf(connections): use the idle session for the first listing and rea…
datlechin Nov 26, 2026
32b4099
perf(idle): save tabs only after a change and let the app nap with a …
datlechin Nov 27, 2026
0a2120f
perf(connections): send session setup with the connect instead of in …
datlechin Nov 27, 2026
cc50546
perf(editor): keep each query tab's document when switching tabs (#4588)
datlechin Nov 27, 2026
8c47b6c
test(memory): pin that a closed tab lets go of its rows and its resul…
datlechin Nov 27, 2026
ee20f01
ci(ios): install the simulator runtime when the runner image lacks it…
datlechin Nov 27, 2026
2dc1d14
ci(linux): pull Docker Hub images through mirror.gcr.io instead of an…
datlechin Nov 27, 2026
fec5b18
test(core): let each step-up test permit release one sign-in page (#4…
datlechin Nov 27, 2026
422d6ac
test(ios): fail the sync merge save with a read-only folder, not a de…
datlechin Nov 27, 2026
22f3ad1
fix(core-postgres): read the catalogs of PostgreSQL 10 to 13 (#4613)
datlechin Nov 27, 2026
98f6883
test(windows): live-server tests for PostgreSQL (#4614)
datlechin Nov 27, 2026
4079a88
fix(plugin-oracle): follow TNS listener redirects (#4610)
datlechin Nov 27, 2026
20770d4
ci(deps): bump the actions group across 1 directory with 2 updates (#…
dependabot[bot] Nov 27, 2026
873fc11
perf(memory): build each result row at its exact size in every driver…
datlechin Nov 27, 2026
d465598
perf(results): run the adapter's side of every driver call off the ma…
datlechin Nov 27, 2026
f51edc1
perf(autocomplete): rank table names from a prebuilt index instead of…
datlechin Nov 27, 2026
e60d667
fix(ios): a library write after the core's file went missing writes i…
datlechin Nov 27, 2026
3fd812b
perf(data-grid): read large text, JSON and binary cells as a head and…
datlechin Nov 27, 2026
d42bb33
fix(results): check for Stop just before a user statement reaches the…
datlechin Nov 27, 2026
c5d735a
feat(connections): projects that keep one product's connections, quer…
datlechin Nov 27, 2026
bb6d4a3
perf(sqlite): run SQLite statements on their own thread, not Swift's …
datlechin Nov 27, 2026
7407caf
perf(postgresql): read rows in libpq chunks instead of one result per…
datlechin Nov 27, 2026
5b45237
perf(mongodb): read each document's BSON once with libbson's iterator…
datlechin Nov 27, 2026
f1dffe0
feat(core-ai): tool calling for both provider protocols (#4630)
datlechin Nov 27, 2026
0404813
feat(windows): per-shortcut rebinding with a recorder (#4627)
datlechin Nov 27, 2026
cb48f3e
feat(windows): command palette / quick switcher (#4628)
datlechin Nov 27, 2026
f0fc0b5
feat(core): query-plan model, parsers and FFI (#4622)
datlechin Nov 27, 2026
e753de7
feat(core): SSH and credential profiles go through the checked librar…
datlechin Nov 27, 2026
67d604f
fix(linux): read the assistant message text through ChatMessage::text…
datlechin Nov 27, 2026
065acfd
perf(paging): seek on the primary key for next, previous and last pag…
datlechin Nov 27, 2026
90fe85f
fix(plugin-oracle): load the sidebar, long values and CLOBs on Oracle…
datlechin Nov 27, 2026
8af8705
fix(theme): stop a themed window covering the sidebar in full screen …
datlechin Nov 27, 2026
03d311e
fix(theme): make selections visible in every built-in theme (#4636)
datlechin Nov 27, 2026
98bb0b7
feat(core): end-to-end sync engine, accounts and keys (ADR 0044, 0056…
datlechin Nov 27, 2026
dc15243
fix(windows): make the command palette's commit event args a class (#…
datlechin Nov 27, 2026
ddafb12
test(core-storage): the report test builds its profile without serde_…
datlechin Nov 27, 2026
806d4c9
fix(windows): mark ShortcutRecorderButton partial for the AOT publish…
datlechin Nov 27, 2026
8271f51
fix(core-sync): a reopened service waits for its state file, and key …
datlechin Nov 27, 2026
e50a954
docs(core): ADR 0068 moves the pending-edit tracker and undo to the c…
datlechin Nov 27, 2026
051bb76
feat(core): sync connection projects (#4642)
datlechin Nov 27, 2026
2cce543
feat(core): the host peeks and acknowledges the library writes the co…
datlechin Nov 27, 2026
f28a8b6
feat(core): Team Library connections cross as library records, and ev…
datlechin Nov 27, 2026
ec95fcc
docs(core): ADRs 0069 to 0075 settle the full-sync milestone's ruling…
datlechin Nov 28, 2026
6bedf84
fix(macos): stop typing in the connection form's Tags field from cras…
datlechin Nov 28, 2026
ea66de3
fix(macos): open row context menus from VoiceOver and the keyboard (#…
datlechin Nov 28, 2026
4d4925a
feat(core-sync): sync passwords end to end as personal envelopes (#4665)
datlechin Nov 28, 2026
bed162f
fix(windows): run the shortcuts UI test serially and scroll to its ca…
datlechin Nov 28, 2026
c89f096
feat(core): grid copy and display text into the core (C-11) (#4653)
datlechin Nov 28, 2026
eeff06a
feat(windows): agent mode for the AI assistant (1b, 1c, 2) (#4657)
datlechin Nov 28, 2026
0a7066e
fix(core): no state transaction held across a nested begin or a netwo…
datlechin Nov 28, 2026
a262573
feat(core): table structure/DDL and SQL dump/import through the FFI (…
datlechin Nov 28, 2026
d8e4772
fix(core): list and decide sync approvals per record, show them in th…
datlechin Nov 28, 2026
d970079
fix(macos): build the menu anchor test's selection without the reduce…
datlechin Nov 28, 2026
6afee86
feat(core): script runner with a batch error policy into the core (C-…
datlechin Nov 28, 2026
bb41eb8
fix(linux): drop the icu deps the app no longer uses (#4670)
datlechin Nov 28, 2026
4a57f48
feat(core): move the pending-edit tracker and undo to the core, keyed…
datlechin Nov 28, 2026
1b5d480
fix(core): route a personal approval to the engine that listed it (#4…
datlechin Nov 28, 2026
38ea5cc
fix(core-sync): a refused envelope waits for its record, never as a r…
datlechin Nov 28, 2026
bfc26fc
fix(core-sync): the app's synced secrets host takes every kind it nam…
datlechin Nov 28, 2026
5a8deb8
fix(windows): compare stored shortcut values in the shortcuts UI test…
datlechin Nov 28, 2026
3c7e87a
fix(core-sync): the engine opens with the server out of reach and kee…
datlechin Nov 28, 2026
8583a18
fix(core): settle SSH profile names by lowest id, as credential profi…
datlechin Nov 28, 2026
4b0e421
fix(core): a log sink set from any thread never turns tracing off for…
datlechin Nov 28, 2026
97e2b02
test(windows): expect the integer rendering for a toggled boolean cel…
datlechin Nov 28, 2026
ca28319
fix(core): name signed-out key devices and log a public code with eve…
datlechin Nov 28, 2026
7cb317c
test(core): name the captured log line type in the log code tests (#4…
datlechin Nov 28, 2026
dc43cf4
test(core): the project import fakes return the credential write resu…
datlechin Nov 28, 2026
f9adcff
feat(core-sync): team connection secrets as team envelopes (#4682)
datlechin Nov 28, 2026
9ebc4f0
test(ios): lock the folder a failing sync merge save writes to, since…
datlechin Nov 28, 2026
10a30d0
fix(core): a Team Library copy carries no device credential path, and…
datlechin Nov 28, 2026
b85cf95
fix(macos): a Team Library or linked-folder row asks before it uses t…
datlechin Nov 28, 2026
07a3028
feat(windows): TablePro Sync settings, status and end-to-end encrypti…
datlechin Nov 28, 2026
99b8ec6
fix(core): a run's times cross in microseconds, so a run under a mill…
datlechin Nov 28, 2026
6d09ec8
fix(core-sync): a server that never answers is out of reach in second…
datlechin Nov 28, 2026
61457a0
fix(windows): passwords sync under TablePro Sync by default (#4689)
datlechin Nov 28, 2026
ce1706f
fix(macos): start a new folder's rename and keep a rename across a re…
datlechin Nov 28, 2026
1d3292c
fix(macos): keep a rename's caret and selection across a Favorites re…
datlechin Nov 28, 2026
018bb66
test(macos): the history downgrade probe checks the stores 0.88.0 rea…
datlechin Nov 28, 2026
d02dfdb
fix(windows): settings cards set Content only when there is one (#4693)
datlechin Nov 28, 2026
c8beb2d
fix(macos): explain a feature a company license leaves out instead of…
datlechin Nov 28, 2026
6876e08
ci(ios): boot an iPhone on the selected Xcode's simulator runtime and…
datlechin Nov 28, 2026
bebe73c
fix(macos): a file row's sign-in question names the file it opens on …
datlechin Nov 28, 2026
3bb881e
build(linux): drop indexmap from the app, unused since pending edits …
datlechin Nov 28, 2026
39682c2
feat(macos): TablePro Sync on the core, with keys, approvals, passwor…
datlechin Nov 28, 2026
d51334d
chore(release): move release/0.89 to main 39682c25a4 for v0.89.0-beta.2
datlechin Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .claude/rules/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ paths:

# Changelog

- A user-visible change adds one towncrier fragment to its app, `apple/changelog.d/<PR>.<type>.md` or `linux/changelog.d/<PR>.<type>.md`, where `<PR>` is the pull request that adds it. A second entry of one type adds a counter: `3452.fixed.1.md`.
- A user-visible change adds one towncrier fragment to its app, `apple/changelog.d/<PR>.<type>.md`, `linux/changelog.d/<PR>.<type>.md` or `windows/changelog.d/<PR>.<type>.md`, where `<PR>` is the pull request that adds it. A second entry of one type adds a counter: `3452.fixed.1.md`.
- `<type>` is `added`, `changed`, `deprecated`, `removed`, `fixed` or `security`.
- One sentence per entry, in the user's terms, at most 120 characters, ending with a period. Fixed names the bug, not the fix. No bullet, PR link or credit: towncrier and `notes.py` add them.
- Only a `chore(release)` pull request edits `apple/CHANGELOG.md` or `linux/CHANGELOG.md`; `scripts/ci/check-changelog-edits.sh` refuses any other, in CI's Lint job and in PR title.
- The release, the lead and `[CRITICAL]`: `apple/RELEASING.md`, Notes, and `linux/docs/releasing.md`.
- Only a `chore(release)` pull request edits `apple/CHANGELOG.md`, `linux/CHANGELOG.md` or `windows/CHANGELOG.md`; `scripts/ci/check-changelog-edits.sh` refuses any other, in CI's Lint job and in PR title.
- The release, the lead and `[CRITICAL]`: `apple/RELEASING.md`, Notes, `linux/docs/releasing.md` and `windows/RELEASING.md`.
10 changes: 7 additions & 3 deletions .claude/rules/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ paths:
- The base is a PR's base SHA, or on a push the head SHA of the last green CI push run on the same branch. No such run, as on the first push of a release line, or a dispatch, runs everything. A dispatch never counts as a branch's last green run or for a tag.
- A release PR changes only the changelog, which no suite reads, so its merge runs Lint only. `version.py check` then takes each test job from the line's last run that passed it (`apple/RELEASING.md`, Branches).
- Concurrency in `ci.yml`: a PR keeps its newest run, main pushes run one at a time and a newer pending run replaces the older, and each `release/**` commit and dispatch has its own group. `linux-packages.yml` runs only when called or dispatched, under its caller's concurrency.
- `nightly.yml` is the one schedule, at 19:17 UTC: every suite in full on main, with core's Arm64 SSH tunnel tests and `build-linux.yml` extended, then `linux-packages.yml` with the Flatpak repository (arm64 too on Sundays, the second cron line), and the Release Build job, which builds and packages the app and every registry plugin as a tag does, unsigned, on `xcode-27`. No tag waits for it. GitHub mails a red run to whoever last edited the schedule.
- `nightly.yml` is the one schedule, at 19:17 UTC: every suite in full on main, with core's Arm64 SSH tunnel tests and `build-linux.yml` extended, then `linux-packages.yml` with the Flatpak repository (arm64 too on Sundays, the second cron line), and the Release Build job, which builds and packages the app and every registry plugin as a tag does, unsigned, on `xcode-27`, and `ai-models.yml`, which regenerates the AI model catalog from models.dev and pushes it to gh-pages as `ai/models-v1.json`. No tag waits for it. GitHub mails a red run to whoever last edited the schedule. A push to main that changes `core/crates/ai/ai-models.json` runs `ai-models.yml` too, which publishes that file as committed.
- macOS Tests runs the Unit and UI plans in full, with no shard, parallel, iteration or retry flag.
- `core.yml` runs the core on Windows x64 and Arm64 and on macOS, where the same job builds and tests the Swift bindings, and SQL Server's integrated login on Windows x64. The SSH tunnel tests through Windows' OpenSSH Server run on x64; Arm64, whose image installs the server in about 20 minutes, runs them nightly.
- `core.yml` runs the core on Windows x64 and Arm64 and on macOS, where the same job builds the macOS and iOS slices and tests the Swift bindings, and SQL Server's integrated login on Windows x64. iOS and Package Tests builds the Simulator's slice. The SSH tunnel tests through Windows' OpenSSH Server run on x64; Arm64, whose image installs the server in about 20 minutes, runs them nightly.
- A `v*` tag runs only `release.yml`, a `linux-v*` tag only `release-linux.yml`, a `windows-v*` tag only `release-windows.yml`. The last two also run by dispatch: `release-windows.yml` then publishes nothing (`windows/RELEASING.md`), and `release-linux.yml` publishes nothing with `dry-run` and otherwise uploads a packaging fix (`linux/docs/releasing.md`).
- `windows.yml`'s live job runs the interop tests against MySQL, SQL Server, ClickHouse, Cassandra, MongoDB and Redis on `windows-2025`, beside the x64 job (`windows/docs/decisions/0016-live-server-tests.md`).
- `windows-grid-gate.yml` runs only by dispatch: the Windows data grid's timing and behavior gate on `windows-2025` and `windows-11-arm`, whose numbers vary too much between hosted runners to gate a merge (`windows/docs/decisions/0003-data-grid-control.md`, Gate). `windows.yml` runs the grid's tests on every change.
Expand All @@ -47,6 +47,7 @@ paths:

- `scripts/ci/detect-changed-paths.sh [--base <sha>] [--head <rev>] <suite>` prints `true` or `false`. No base prints true; an all-zero base diffs from the merge base with `origin/main`.
- Suites: `macos`, `plugins`, `ios`, `oracle`, `hana`, `swiftlint`, `linux` (`linux/`, `core/` and the Cargo workspace files at the top; no Markdown but `linux/CHANGELOG.md`, `linux/docs/regression-tests.md` and `linux/data/`), `linux-docs`, `linux-deps` (Cargo manifests and lock, toolchain, `deny.toml`, the Flatpak manifests, the Debian build dependencies), `packages` (Cargo manifests and lock, toolchain, Meson files, `linux/build-aux/` but its tests, `po/LINGUAS`; no Markdown), `core` (`core/`, `Cargo.toml`, `Cargo.lock`, `rust-toolchain.toml`, the FFI Swift package and what builds it; no Markdown), `windows` (`windows/`, `core/`, `Cargo.toml`, `Cargo.lock` and `rust-toolchain.toml` at the top; no Markdown), `release` (what the Release Build job reads) and `shipped` (`release` without `.github/`; `version.py check` reads it, and `macos` and `ios` for a test job a tag's run left out).
- `macos`, `ios`, `release` and `shipped` also watch the core the apps link: `core/` but its drivers, its crates' `tests/` and its Markdown, the Cargo workspace files and `apple/scripts/build-core.sh`.
- Every suite but `shipped` watches `ci.yml` and its own workflow. A path a suite newly reads joins its pattern in the same change.

## Runners
Expand All @@ -62,11 +63,14 @@ paths:
## Caches

- `~/.spm-cache`, keyed on the app's `Package.resolved`. macOS Tests saves it on a push or nightly miss; Release and the Release Build job only restore it. `~/.spm-cache-ios`, keyed on the iOS project's, is the same for iOS and Package Tests.
- `build-linux.yml`, `core.yml` and `windows.yml` cache Cargo through `Swatinem/rust-cache`, saved from main only (pushes and the nightly), since a pull request's cache serves that pull request alone and evicts main's. They build with line tables only (`CARGO_PROFILE_DEV_DEBUG`), about 30% less cache than full debug info, since every cache shares the repository's 10 GB and the least recently used goes first. A Docker suite's cache is the package's, whichever server release the job runs. `windows.yml`'s live job reads the x64 job's cache and saves none, and the macOS job caches the pinned uniffi-bindgen-cs. `release-windows.yml` restores no cache. No libs or DerivedData cache: the libs download takes about 16 seconds.
- `build-linux.yml`, `core.yml`, `windows.yml` and the `prepare-build` action, which builds the core every macOS project build needs (`core-arch`: arm64 by default, each leg's arch in Release, both in the Release Build job), cache Cargo through `Swatinem/rust-cache`, saved from main only (pushes and the nightly), since a pull request's cache serves that pull request alone and evicts main's. They build with line tables only (`CARGO_PROFILE_DEV_DEBUG`), about 30% less cache than full debug info, since every cache shares the repository's 10 GB and the least recently used goes first. A Docker suite's cache is the package's, whichever server release the job runs. `windows.yml`'s live job reads the x64 job's cache and saves none, and the macOS job caches the pinned uniffi-bindgen-cs. `release-windows.yml` restores no cache. No libs or DerivedData cache: the libs download takes about 16 seconds.

## Writing workflow and lint code

- Pin every action by commit SHA. Check out with `persist-credentials: false` unless the job pushes with git; a gh-pages writer says so with `# zizmor: ignore[artipacked]`.
- Pull a Docker Hub image through `mirror.gcr.io`, which needs no login. AWS-hosted runners go over Docker Hub's anonymous pull limit (runs 44753132425, 45738826351).
- Test fixtures: `TABLEPRO_TEST_DOCKER_HUB_MIRROR`, which falls back to Docker Hub like a daemon's `registry-mirrors` (`linux/docs/testing.md`, Docker or Podman). A daemon setting cannot help a job container, whose tests reach a daemon no step of the job configures.
- Job images, `docker run` and a script's image variable (`UBUNTU_IMAGE` for `build-deb.sh`): `mirror.gcr.io/library/<image>`, official images only. The runner pulls a job image with no fallback, and the mirror keeps the most pulled images cached.
- The Lint job (`ci-lint.yml`) runs actionlint, pinned by checksum, `shellcheck --severity=warning` over every tracked `*.sh`, and zizmor offline at medium over all of `.github`, then the release tooling's tests and the repo invariants.
- Blocking: compiler, test, format, license, correctness and changelog checks. Advisory: the PR title and prose style.
- Nested `.swiftlint.yml` files under `apple/TableProTests`, `apple/Plugins` (not `TableProPluginKit`), `apple/TableProMobile` and `apple/TableProUITests` use `only_rules`, so a new rule applies there only once listed.
4 changes: 2 additions & 2 deletions .claude/rules/data-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Three layers, knowledge pointing one way: an owner's adapter, then `DataGridMode
## Panes

- **Two tables, one grid.** The main pane's `DataGridTableView` holds every column, the row numbers first. The frozen pane is a second table laid over the main pane's leading edge, showing the row numbers and the frozen columns. Keys, find, copy and VoiceOver work on the main table.
- **The main table is the only first responder.** The frozen table refuses it and hands its presses to the controller. `DataGridContainerView.gridHasFocus` is the one focus flag: both panes' row views take `isEmphasized` from it, and so does the active-cell border.
- **The main table is the only first responder.** The frozen table refuses it and hands its presses to the controller. `DataGridContainerView.gridHasFocus` is the one focus flag: both panes' row views take `isEmphasized` from it, and so does the active-cell border. Only `configuration.drawsFocused`, set by the theme editor preview, draws the focused state without focus.
- **Row height, row count, reloads, inserts, removes and height notes reach both panes in one call**, so their document heights never differ while rows are one pitch. A grid that wraps is the exception: AppKit estimates the height of rows it has not asked about, each table by its own sample, so the two documents differ.
- **Vertical scroll stays in step through bounds-change notifications**: each pane's clip moves the other with `clipView.scroll(to:)` and `reflectScrolledClipView`, only when its y differs. A grid that wraps matches the first visible row and its offset instead of y, in both directions, in `DataGridContainerView.syncVertical`, the one place the panes are aligned. Anywhere else scroll with `NSView.scroll(_:)`: moving a clip's x that way leaves the header behind.
- **The frozen pane forwards every wheel event to the main scroll view**, so one momentum engine moves both.
Expand Down Expand Up @@ -62,7 +62,7 @@ Three layers, knowledge pointing one way: an owner's adapter, then `DataGridMode
- **Behavior comes from responder actions, never key codes.** `keyDown` sends Return, Enter, Tab, Backtab, Delete, Forward Delete, Left, Right, and Shift-Up or Shift-Down over a cell range through `interpretKeyEvents`. Everything else goes to `super`, which keeps AppKit's row movement and type-select.
- **A modifier test masks `.capsLock` and `.function`**: compare within `[.command, .shift, .option, .control]` only. Forward Delete carries `.function`.
- **Copy, Paste, Delete, Select All, Find, Copy Special, Set Value and zoom are actions the grid answers itself**, with `NSMenuItemValidation`, so they work in every window. The context menu's Paste takes the keyboard's path. A window's own handler runs only while the grid is not focused.
- **The context menu is built from `clickedRow` and `clickedColumn`** in `menuNeedsUpdate(_:)`. It acts on the selection when the clicked cell is inside it, else on the clicked cell or row; the selection never moves.
- **The context menu is built from `clickedRow` and `clickedColumn`** in `menuNeedsUpdate(_:)`. It acts on the selection when the clicked cell is inside it, else on the clicked cell or row; the selection never moves. A menu opened without a pointer (the keyboard's menu key, Show Menu on the table or on a stand-in) reaches it through the right-click event on the active cell or the stand-in's cell (`Views/Shared/TableContextMenu.swift`).
- **A press in either pane resolves to one `GridCoord`** through the container and the column set. A drag autoscrolls the main pane and crosses panes.

## Accessibility
Expand Down
Loading
Loading