40 Commits

Author SHA1 Message Date
Alice T'Poteat 18be13be81 mods: the diff, sec-default and telemetry tests move next to the mods (#93951)
Squash merge of 4 commits
2026-09-13 18:50:58 -07:00
poteat bf4322ffe2 mods: tests settle a started dispatch with clock.settle() 2026-09-12 12:52:24 -07:00
poteat b95b0150f8 mods: a noun's types live in its own types folder and dependents read them from there 2026-09-12 11:57:54 -07:00
poteat 748e0c4a44 mods: blank lines between statement kinds and around multi-line statements 2026-09-12 11:52:24 -07:00
poteat ee2315b0fa mods: the declarations carry ui.scroll, a site's view, hover scopes and userConfig options, and the pane fixture names its view 2026-09-12 11:51:26 -07:00
poteat f56a625702 mods: the kit's helpers are mock.clock, mock.store and mock.env, MemoryClock is MockClock, and a rendered tree's text is the diff tests' own fixture; the declarations carry 'claude-code/testing' as generated from the kit's source 2026-09-11 17:56:28 -07:00
poteat ead8806353 mods: merge poteat/diff-parity; a mark's props, hyphened Choice members and the built-in panel's marks at its call sites, in the tested and linted layout 2026-09-11 16:55:13 -07:00
poteat 59bb8853c1 mods: each test file is named for the hooks/ subject it covers and holds one describe, shared inputs under tests/fixtures; memoryClock answers $.clock beneath the mod, and the diff pane's close button is pressed through $.ui.press 2026-09-11 15:34:57 -07:00
poteat f43a16bb7b mods: $.clock's now, sleep, after and every are events beneath the mod, now() resolving a promise; the declarations and the diff host follow 2026-09-11 15:34:55 -07:00
poteat 936b92907c mods: tests sit in one describe each, diff's shared inputs in a fixtures folder, every decision and duplicate named 2026-09-11 10:49:36 -07:00
poteat 97f86b94e8 mods/diff: a helper takes the whole shape its callers hold, and the pane's inset kit has a constructor 2026-09-11 10:46:48 -07:00
poteat 46ea2a528d mods/diff: each decision a hook makes names its test, and a value used once is written where it is used 2026-09-11 10:45:12 -07:00
poteat a9d339b13a mods/diff: each helper sits in a folder of its own, named for what it exports, and barrels list their folders in order 2026-09-11 10:41:47 -07:00
poteat 652580d35f mods: hook JSDoc is a two-line summary and one short paragraph, naming no file path 2026-09-11 10:40:43 -07:00
poteat 4d63891b4f mods/diff: three hook files are formatted as the rest are 2026-09-11 10:38:32 -07:00
poteat ee5d2e5994 mods: tests name their tier with tier(), and /diff's two answers and the tests on them use an ASCII apostrophe 2026-09-11 10:08:32 -07:00
poteat a5b0e0c198 mods: tests and the README quote in ASCII only 2026-09-11 09:49:22 -07:00
poteat 55809f27e8 mods/diff: the pane tests say why they draw the hint and what git answers 2026-09-10 22:00:35 -07:00
poteat 38b8cf3a3f mods: each mod's tests run from the engine's seat, $ the engine's own and the hooks on() registers beneath the mod 2026-09-10 20:49:05 -07:00
poteat bb429a97b8 mods/diff: tab, base-switch, base-resolve and read marks carry the built-in panel's props and reasons at its call sites 2026-09-10 17:30:44 -07:00
poteat f6cd2ca471 mods/diff: the pane-shown row is the built-in panel's own, once per session id, and an ask marks diff_selection_attach 2026-09-10 17:15:23 -07:00
poteat 1c97c29b18 mods/diff: an asked diff is cut to the room the prompt's context has left, and dropped with a status when none is left 2026-09-10 12:50:09 -07:00
poteat d920522c4b mods/diff: an asked diff rides down to the turn on the prompt's context, not onto the answer 2026-09-10 12:17:29 -07:00
poteat 37f19ef9d9 mods/diff: under 110 columns /diff answers the built-in's resize line and opens nothing 2026-09-10 11:35:07 -07:00
poteat dbe663d948 mods/diff: the pre-session rows sit under the built-in's blank rows, and a rule under the file's name 2026-09-10 11:35:05 -07:00
poteat 478b7180d1 mods/diff: the unanswered-git comment says a git that cannot start has answered 2026-09-10 11:34:22 -07:00
poteat 148e0f0930 mods/diff: the empty state sits where the built-in centers it, the pre-session line at the foot 2026-09-10 10:53:15 -07:00
poteat 8b41514793 mods/diff: a close ✕ at the header's right edge closes the pane as /diff does 2026-09-10 10:52:20 -07:00
poteat 23e30f0c17 mods/diff: the untracked file's stage hint is unquoted, as the built-in words it 2026-09-10 10:52:06 -07:00
poteat 9518d8f380 mods/diff: docked, the pane keeps the built-in's blank top row and last column 2026-09-10 10:51:51 -07:00
poteat d03baa078e mods/diff: seated inline, the pane shows only the built-in's resize line 2026-09-10 10:04:18 -07:00
poteat ace6b00ba3 mods/diff: pane comments name its tab and the person's close, not the removed header and [x] 2026-09-10 09:42:22 -07:00
poteat a33d3441c1 mods/diff: one repository probe in flight, and a git that timed out is asked again, not read as no repository 2026-09-10 09:01:54 -07:00
poteat 30a6850859 mods/diff: hunks draw through the engine's Code element, split at hunk boundaries under its 10000-character source cap; the row renderer and word diff go 2026-09-10 09:00:38 -07:00
poteat 129773145c mods/diff: backgrounds summary in two lines, as the internal copy has it 2026-09-10 07:56:57 -07:00
poteat 573ada6dd0 mods/diff: context lines draw on no background, not the cyan background-task accent 2026-09-10 07:47:17 -07:00
poteat 8939decc61 mods/diff: the backend probes comment names where a host adds backends 2026-09-09 22:47:12 -07:00
poteat 2142ececc4 mods/diff: a backend seam, git as the built-in backend 2026-09-09 20:32:03 -07:00
poteat 1a7c76e0b3 mods: API renames in diff, telemetry rows queue and third-party providers send nothing 2026-09-09 19:09:45 -07:00
poteat d9c456d7db Add mods: sec-default, diff and telemetry, the hooks-module plugins built into Claude Code 2026-09-09 15:30:08 -07:00