Commit graph

2647 commits

Author SHA1 Message Date
Filip Hejmowski
da9d49a44f test(app): run mobile-timeline-scroll in its own parallel project
mobile-timeline-scroll sets its own launchOptions, so its 37 tests get a
separate worker hash and, without fullyParallel, form one serial group.
In CI that group takes 3 to 5 minutes. Unsharded it is always the last
file and mostly runs alone; on shard 2 it starts first and sets the
length of the whole leg.

A second project now runs only that file, with fullyParallel on.
Playwright queues projects in declaration order, so these tests start
after every chromium group and spread over all workers. Both projects
use one regex, so the file always runs in exactly one project; a rename
that does not update the regex quietly returns it to the serial schedule,
without losing or duplicating tests. The spec and its launchOptions are unchanged, the shard
split stays at 225/224 tests, and the performance configs list the same
tests. `--project chromium`, UI mode and the VS Code extension now skip the file
by default.

The cost is more contention for these touch tests, which now run beside
each other on every worker, so CI retries for this file need watching.
2026-10-15 22:11:30 +02:00
Filip Hejmowski
2e873bc40b test(app): serve the built e2e app with a Bun static server
vite preview checks the case of every requested file on case-insensitive
file systems (Windows, macOS) with a synchronous readdir of its parent
directory. The fixture build has about 3100 files in dist/_assets, so each
of the roughly 150 asset requests per page load blocks the one server
that every worker shares. That matches the CI traces, where Windows asset
waits and first navigations grow with the number of tests running.

e2e/utils/serve.ts serves dist with Bun instead and keeps vite preview's
routing rules: files resolve only inside dist, a malformed escape is a
404, and index.html is the fallback only for GET or HEAD requests whose
Accept is missing, empty, text/html or */*, never for /favicon.ico. A
missing script fetched as JavaScript or an API request asking for JSON
still gets a 404. Bun fails on a busy port like --strictPort did, and
reuseExistingServer and the dev-mode command are unchanged.

The performance configs keep vite preview so their baselines stay
comparable.
2026-10-15 22:11:30 +02:00
Filip Hejmowski
4f0ee179fa test(app): block service workers and record video on first retry in e2e
Most app e2e tests let the production build register its PWA service
worker, which then precaches the whole 35 MB build from the shared preview
server while the test runs. No app e2e spec depends on the worker, and
e2e/service-worker keeps that coverage under its own config, so block it
in the shared config. The 11 per-file blocks are now redundant; they are
left alone to keep this change to one file.

retain-on-failure records and encodes a video for every test only to drop
it when the test passes. In CI, record it on the first retry instead,
next to the trace; first-attempt failures still keep their screenshot and
error context. Local runs have no retries, so they keep retain-on-failure.

The performance, uncapped, timeline-stability and projection configs
spread this config and now block service workers too. CI runs none of
them.
2026-10-15 22:11:30 +02:00
Filip Hejmowski
0cd2e829af fix(app): close mobile drawers dismissed while opening
@corvu/drawer 0.2.4 starts its opening transition two frames after it opens. A dismissal before then slid the drawer open while it was closed. A dismissal in that frame started no transition, or cancelled it, so the transitionend that finishes a close never arrived, leaving focus trapped and body pointer-events disabled. Patch it to skip the late opening step once closed, and to finish a close when no transition is running.

Also stop non-fullscreen story pages from scrolling by 32px inside Storybook's padding. Wait for web fonts before the composer overflow story measures the toolbar. Add composer tests that dismiss the variant drawer before and as it starts opening; both fail without the patch.

The overflow story also waits for focus to return to the add button after Escape before measuring, so the menu focus restore cannot land between select-all and Delete.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
9f5ce4674a fix(app): keep timeline anchoring when a scroll settles
TanStack resets isScrolling on a 150ms timer that reports the offset
captured at the last scroll event. If the virtualizer wrote scrollTop
after that event (prepend anchoring or size compensation) and the
browser had not yet dispatched the write's own scroll event, the timer
put the old offset back. The next size compensation was then computed
from it and undid the write, so the transcript jumped to the top of a
newly loaded page or skipped rows while scrolling up.

When a scroll settles, the reconnect-aware offset observer now reports
the element's live scrollTop. Detached elements keep the event offset.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
2573244805 fix(app): stop video double clicks from also entering native fullscreen
Chromium's media controls answer the second click of a double click with a
native fullscreen request for the <video>. The same double click opens the
in-window theatre. Where fullscreen is granted (Chrome, Playwright), the
fullscreened video covers the theatre backdrop, so a backdrop click no longer
closes it. That is the cause of the flaky review.spec.ts video theatre test.

controlslist="nofullscreen" would also remove Chromium's click-to-play,
which it only offers on videos that can go fullscreen. Instead, the video is
held as an open popover while the controls handle a multi-click, and released
before the next frame renders. The fullscreen element ready check refuses an
open popover, so only the fullscreen request fails. Chromium's play/pause
bookkeeping is unchanged. Desktop already denies the fullscreen permission,
so nothing changes there.

The e2e test now also checks that a single click still starts playback, and
that nothing went native fullscreen by the end of the flow.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
dbf5e655df test(app): check the first code layout instead of the code font's status
Chromium recreates every CSS-connected FontFace as "unloaded" whenever a
lazily loaded stylesheet with @layer rules becomes active ahead of a sheet
that is already applied. The route's settings and text-input CSS chunks do
this when they finish out of order, which is common on Windows runners. The
downloaded font file is kept, so the first code that lays out still uses
IBM Plex Mono, but the face's status stays "unloaded" and polling
document.fonts.check() timed out.

Wait for document.fonts.ready, then mount one <code> and check once that
its first layout already has the font loaded. A preload that only downloads
the file still fails, because that first layout reports "loading".
2026-10-15 22:11:29 +02:00
Filip Hejmowski
bc65cbe961 fix(ui): stop closed dialogs from blocking shortcuts
The dialog stack keeps a closing dialog for 100ms before disposing it,
and useDialog().active kept returning it, so the global shortcut handler
dropped every shortcut in that window. Reopening the command palette
right after closing it did nothing. active now returns the top dialog
that has not started closing, the same rule the focus trap already uses.
2026-10-15 20:25:31 +02:00
Filip Hejmowski
56782638cb test(app): fix four racy e2e tests
- whats-new: What's New opens as a modal 500ms after the changelog
  response and hides #root, so on Windows start() often looked for the
  Settings button after it was hidden. The dialog tests hold the
  changelog route until Home has been checked.
- subagent-child-navigation: the parent title was measured while the
  loading header could still be swapped for the timeline header, so it
  sometimes measured a detached heading (left 0). Wait for the timeline
  row first.
- session-summary: the tooltip was hovered during the timeline's first
  mount, whose final scroll closes it. Wait for the rows to be revealed.
- tabs: page.clock.pauseAt(new Date()) raced the still-running page
  clock ("Cannot fast-forward to the past"). Install at an explicit time
  and pause at a fixed offset from it.
2026-10-15 20:25:29 +02:00
opencode-agent[bot]
bdf4793286
feat(app): show voice delegations from the iOS app as Voice messages (#54426) 2026-10-15 13:23:12 +08:00
Luke Parker
2ae7ec8a16
fix(app): keep project settings open when the project folder is missing (#55553) 2026-10-15 09:40:43 +10:00
opencode-agent[bot]
5fa0a42386
feat(app): restore option arrow session tab navigation (#54277)
Some checks failed
nix-eval / nix-eval (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
containers / build (push) Has been cancelled
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-14 21:35:52 +08:00
opencode-agent[bot]
81d57087a4
feat(session-ui): summarize each turn's changed files (#55064)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-14 21:13:31 +08:00
opencode
34d8ded0c5 sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
Luke Parker
1c28c2fec5
fix(app): show a steer as pending from its first frame (#55251) 2026-10-14 13:07:36 +10:00
Luke Parker
52ba7d630f
test(app): stop partial settings mocks leaking across browser tests (#55276) 2026-10-14 12:58:50 +10:00
usrnk1
de417edf24
feat(desktop): manage provider accounts and restore Console connect intro (#54101)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-13 23:49:06 +00:00
usrnk1
293a5bab9a
feat(desktop): move session unread dots into tab container (#53570)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-13 23:40:15 +00:00
usrnk1
7b33bcea4e
feat(desktop): show session tokens and cost on the session view (#53785)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-13 23:14:04 +00:00
Kit Langton
46e4695b96
fix(app): retain raw media bytes up to 256 MiB for artifact previews (#55018) 2026-10-13 15:52:31 -07:00
usrnk1
3ec856b6c2
feat(desktop): refresh question composer (#54822)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-14 08:02:38 +10:00
Kit Langton
2a593c0d1b
fix(app): suppress missing-file toast on restored and open file tabs (#55022) 2026-10-13 14:24:55 -07:00
Kit Langton
7497b89b6d
feat(file): add trackpad zoom and pan to image previews (#54590)
Some checks are pending
deploy / deploy (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-13 14:19:45 -07:00
Kit Langton
8396de1759
fix(app): retain session model choices across catalog refreshes (#54481) 2026-10-13 13:46:52 -07:00
Kit Langton
1163e6cd91
fix(app): fill vertical tab hover gaps (#54866) 2026-10-13 13:15:45 -07:00
Kit Langton
573fd296d0
feat(app): cycle side-panel tabs when side panel is focused (#54899) 2026-10-13 13:13:34 -07:00
Kit Langton
84e095526c
fix(app): close browser tabs from the address field (#54501) 2026-10-13 13:13:28 -07:00
Luke Parker
be674e3158
fix(app): stop project store eviction loop on launch (#55078) 2026-10-13 19:22:40 +10:00
usrnk1
5b22e915d8
feat(desktop): clarify variant-only timeline notices (#54880)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-13 09:03:44 +00:00
opencode
c5aabae288 sync release versions for v2.0.28 [skip ci] 2026-10-13 08:17:45 +00:00
Luke Parker
7e858f474d
fix(ui): return dialog focus from the stack, not from each caller (#55038) 2026-10-13 07:05:31 +00:00
opencode-agent[bot]
417f120ee3
refactor(app): derive unread state from server viewed watermarks (#54780)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-13 14:58:13 +08:00
Luke Parker
9693c31233
test(app): end the Working geometry fixture at an idle marker (#55045) 2026-10-13 16:28:40 +10:00
opencode-agent[bot]
b8f925e51c
feat(app): per-project auto-accept permissions overriding a default (#54839)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-13 14:16:45 +08:00
Luke Parker
06425d2bd7
fix(app): show Working above undelivered steers (#55023) 2026-10-13 14:24:30 +10:00
Luke Parker
738f77e470
fix(app): load images and audio in the review panel (#55015) 2026-10-13 04:10:50 +00:00
Kit Langton
3e78cd58e0
fix(app): ignore collapsed side-panel tabs when closing a tab (#54695) 2026-10-12 17:32:29 +10:00
Kit Langton
6d1be26251
fix(app): expand video previews into in-window theatre mode (#54696) 2026-10-12 17:32:12 +10:00
opencode-agent[bot]
d306a15cf6
fix(app): show a submitted prompt in the frame the composer clears (#54047)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
2026-10-12 07:31:41 +00:00
opencode
03cb9b9946 sync release versions for v2.0.27 [skip ci] 2026-10-12 04:17:06 +00:00
Kit Langton
e31136bdbd
fix(app): follow the first palette result until explicit selection (#54275) 2026-10-11 14:23:34 +10:00
Luke Parker
f9e892dc85
feat(app): match the session column to the design and use pretty text wrapping (#54020) 2026-10-09 08:40:52 +00:00
Kit Langton
1aae67e853
chore: upgrade Effect to rc.118 (#50231) 2026-10-09 01:36:06 -07:00
Luke Parker
3e3a9b3a49
fix(desktop): restore fast cold dev startup (#54060) 2026-10-09 04:27:16 +00:00
Luke Parker
40cc0f377b
fix: surface session execution errors in desktop and TUI timelines (#53826) 2026-10-09 14:14:44 +10:00
Luke Parker
f5309982d0
fix(app): hide the closed side region over the side terminal (#54052) 2026-10-09 12:51:35 +10:00
Luke Parker
f43903d849
feat(session-ui): deterministic timeline file link detection and resolution (#53641) 2026-10-09 02:50:00 +00:00
Luke Parker
3a2fa2b9d2
fix(app): keep the browser page up until its still is on screen (#54038) 2026-10-09 01:10:58 +00:00
usrnk1
b5c43a4409
fix(desktop): keep browser panel corner masks aligned (#52461)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-10-09 08:13:30 +10:00
Luke Parker
a2e3dd2884
fix(app): make the web app installable as a PWA (#53905) 2026-10-09 07:54:07 +10:00