67 Commits

Author SHA1 Message Date
alan fa95c2fcae Remove the Runs error counter for now
Keep the running indicator and Needs you flow, but remove the failed-count badge and its tab count plumbing until unseen-state behavior is addressed. Preserve the unfinished seen-state work separately. Verify application, Runs, attention and shell regressions.
2026-11-11 23:18:30 +00:00
alan efca56e4e4 Show running and failed run counts independently
Give the Runs tab separate activity and failure indicators so neither suppresses the other. Reuse known summaries and pushed updates, keep failed states separate from decisions and dismissal counts, and update across tabs even when total attention is unchanged.
2026-11-11 22:10:37 +00:00
alan 9551eceaed Complete Material-only APIs and fixtures
Remove obsolete control-family flags and icon metadata across all callers, dead alternate themes and host helpers, obsolete test setup, and the unused icon-font dependency. Preserve native Material Back transitions. Make navigation fixtures independent of update plugins and answer auxiliary shell snapshots so the complete application suite can run deterministically.
2026-11-11 21:55:39 +00:00
alan 70b3f05c5e Merge commit 'f45bca093f04e9d87bbdfdd58c88331a9737e3b3' into pipelines/run-20261111-1927-open-search-with-alt-slash-and-cmd-slash-f9f5 2026-11-11 20:05:06 +00:00
alan 2e41717e83 Merge commit '3f05421e8b61f063155eb61a166edcee910b750a' into pipelines/run-20261111-1928-focus-chat-composer-when-toggling-from-f-1ed3 2026-11-11 19:48:03 +00:00
alan 4668deeaf7 Focus floating chat from terminal shortcut
Raise the most recently used chat when Ctrl+Y is invoked from another window, then rely on the existing host lifecycle to focus its composer. Preserve toggle behavior while chat is active and retain the Apple shortcut aliases.
2026-11-11 19:40:30 +00:00
alan aa0b090bd0 Merge commit 'a38f1bb3d1d8f3eb841a5eb618eb70f184ce4c7d' into pipelines/run-20261111-1927-open-search-with-alt-slash-and-cmd-slash-f9f5 2026-11-11 19:38:55 +00:00
alan aa8329460d Open Search with Alt slash shortcut
Accept the physical slash key for exact Alt+/ delivery, including macOS Option dead-key values, while preserving existing Ctrl+/ and Command+/ behavior. Add focused regression coverage and document the verified checks.
2026-11-11 19:33:17 +00:00
alan a38f1bb3d1 Add outline to floating windows
Paint a theme-derived one-pixel outline as a foreground overlay so the full floating window perimeter remains visible over navigator content without changing existing interaction geometry.
2026-11-11 19:32:46 +00:00
alan 943b1cc72a Merge branch 'main' into pipelines/run-20261111-0323-cupertino-out-shell-eacf
# Conflicts:
#	app/test/application/search_artifact_open_test.dart
#	app/test/application/search_chat_open_test.dart
2026-11-11 03:54:36 +00:00
alan 9bdabb32d9 Remove Cupertino shell branches
Keep the Material-only shell path while preserving public cupertino parameters for callers. Narrow matching tests to Material hosts and behavior because the app always runs under MaterialApp.
2026-11-11 03:48:41 +00:00
alan c65a66d9bb Merge commit '84684463204d32bc51ea50ddb5789b0cc17b280a' into pipelines/run-20261111-0240-perf-whole-pixel-window-frames-stop-per-89f6 2026-11-11 03:37:34 +00:00
alan 8361322fe2 Keep floating window moves pixel-stable
Round fitted window frames to whole logical pixels and accumulate drag deltas from the gesture start. This prevents floating-point size noise from rebuilding window content while preserving fractional pointer movement and resizing behavior.
2026-11-11 03:28:34 +00:00
alan f65eb98311 Merge branch 'main' into pipelines/run-20261111-0115-cupertino-out-ui-motion-navigation-input-6491
# Conflicts:
#	app/test/features/runs/ui/runs_list_widget_test.dart
2026-11-11 02:43:51 +00:00
alan 9adee6cc60 Remove Cupertino UI branches
Keep the public Cupertino-compatible parameters while retaining only the Material implementations and tests. The app is Material-only, so deleting unreachable Cupertino branches reduces dead code without changing the active path.
2026-11-11 02:41:26 +00:00
alan 98cdf63079 Prevent floating window content rebuilds
Keep window content scope independent from frame changes, and retain the page theme and root page across layer rebuilds. Add repaint boundaries and regression coverage so dragging and resizing avoid unrelated content work while content changes still propagate.
2026-11-11 02:05:30 +00:00
alan ef1c120f57 Add the Windows menu, window cycling, edge snapping and size per kind
Phase 4 of docs/plans/floating-windows.md. A bar button lists the app's
windows on every tab (show one, Show all, Minimise all, Close all). Alt+`
and Alt+Shift+` bring the next or previous window to the front. Dropping a
title at the left or right edge fills that half, at the top it maximises.
A new window of a kind opens at the size that kind was last given.
2026-11-11 00:05:16 +00:00
alan 31f495fc18 Add adaptive popup helpers: anchored choice menus and details dialogs
Phase 2b.1 of docs/plans/floating-windows.md. showAppChoiceMenu is a menu
panel anchored to its button on a wide app and a bottom sheet on a phone;
showAppDetails is a dialog or a bottom sheet. Both are on the root
navigator, and the app's width decides, so content in a narrow floating
window still gets desktop popups. The probe window exercises both.
2026-11-10 21:53:35 +00:00
alan 16afda3634 Close menus with Escape and keep a window's popups focused
AppMenuAnchor is the app's one MenuAnchor: root overlay, takes the keyboard
while open (Escape and arrows work wherever focus was) and gives it back.
A window no longer takes the keyboard back from a popup its own press
opened. In a window, Files opens as a page of that window and Chat details
is in the More menu.
2026-11-10 21:33:07 +00:00
alan fdc730422d Host floating chats on the shell window system
Phase 2.3 and 2.4 of docs/plans/floating-windows.md. A floating chat is a
window of the chat kind over the app's WindowManager, built from the
app-lifetime ChatRuntime, so it shows over every destination and at start
without the Chat destination being built. Float and Dock move the same
keyed view between the tiling and the window host. The pipelines app keeps
one runtime and one ChatWindows; saved chatFloat records (v1 and v2) are
brought over once.

ChatFloatHost, ChatFloatWindow, the float frames and binding, the
controller's float list and FloatingFocusRoot are gone; the workspace only
asks whether a chat is out in a window. Every MenuAnchor targets the root
overlay (guarded by a test), and menus and tooltips name the Alt chords.
2026-11-10 21:17:40 +00:00
alan a99f7014f5 Add the shell window host with layering acceptance tests
Phase 1.3 and 1.4 of docs/plans/floating-windows.md. Windows are plain
children of the terminal stage's stack in the shell page, outside every
destination, so popups opened from one are above all of them. Each window
has its own page navigator: pushed pages open inside the window, and popup
routes go to the root navigator. One WindowFrame chrome (move, resize,
minimise, maximise, close), a focus scope per window, a ScaffoldMessenger
per window.

No feature uses it yet. The capture fixture opens probe windows with
?windows=N, and window_layering_test.dart covers every popup type from a
window over Chat and over another destination.
2026-11-10 20:48:31 +00:00
alan 715efab778 Add the window manager, kinds and store for floating windows
Phase 1.2 of docs/plans/floating-windows.md: an app-lifetime WindowManager
with ordered WindowEntry values, a WindowKind registry and a device-local
versioned WindowStore whose server-scoped entries carry their server key.
Nothing uses it yet.
2026-11-10 20:16:56 +00:00
alan a49b59a2bc Keep even 16px window margins for top bars on wide windows
On a wide window (both sides at least 600 logical px) every SegmentedBar
keeps the floating tab bar's 16px from the top and the sides, in every
pane and page. A root WindowMargins scope adds the extra 8px to the top
media padding, so Cupertino's fixed reserved bar height, list clearances,
pinned headers and measured overlays all move together; the bar and the
TopGlassStrip read the 16px side inset from the same scope, and sticky
section chevrons keep 16px from the trailing edge. Phones keep 8/12.
2026-11-10 13:09:36 +00:00
alan e1da589396 Show shared resize grips on list pane dividers 2026-11-08 14:50:07 +00:00
alan 032d4cd6c0 Restore ordinary root launches with query parameters and verify Back intent 2026-11-08 01:13:58 +00:00
alan 4e2b9800e8 Align wide desktop tabs to leading edge 2026-11-07 22:48:27 +00:00
alan cd034db77a Remove shared backdrop from main tab labels 2026-11-07 22:48:09 +00:00
alan 03ac760361 Verify labeled navigation bounds and scalable targets 2026-11-07 20:50:54 +00:00
alan 4bbbe01633 Keep chat controls readable and expose labeled app navigation 2026-11-07 20:46:02 +00:00
alan e2cfa90776 Resize chat list into compact rail and animate visible chat markers 2026-11-07 13:20:12 +00:00
alan 1ee7960925 Make Search Escape restore input then previous tab 2026-11-06 19:11:28 +00:00
alan c1e0de352a Check Cupertino search shortcut focus across query updates 2026-11-06 18:15:18 +00:00
alan 7a55d58093 Keep destination shortcut tests lint-clean 2026-11-06 17:58:27 +00:00
alan f668e1eef8 Reserve global shortcuts for chat selection and search 2026-11-06 17:58:12 +00:00
alan c7e57973a0 Support Command conversation shortcuts in Mac browsers 2026-11-05 13:59:38 +00:00
alan 43d6135df3 Shell: Settings has no list column, so its tab bar stays at the right edge 2026-11-03 17:34:42 +00:00
alan 5deddda9c0 Shell: system Back returns to the previous tab
At a tab's root the system Back now returns to the tab opened before it,
through a most-recent-first stack of visited tabs without duplicates.
Every tab change (tap, Ctrl+Tab, a routed open) records it. Pages over
the shell, Settings and a page in the open item's pane still close
first; with no history Back reaches the platform as before. Only the
shown tab's detail pane answers Back now.
2026-11-03 17:14:41 +00:00
alan 4149c57d70 Shell: on wide windows the tabs stay under the list column even with no item open 2026-11-03 14:04:08 +00:00
alan 40e94cc3da Shell: on wide split layouts the destination tabs sit under the list pane
The four destination buttons move from the bottom right over the detail
pane to the bottom of the list pane, centred in the (dragged) list width.
The list now keeps the bar's height as bottom clearance; the detail pane
clears only the system inset, so its tabs, the chat composer and the
artifact actions sit at its bottom edge. Phone layout is unchanged.
kStackedBarGap is gone with the stacked bars.
2026-11-03 12:30:56 +00:00
alan d34185b56c Merge: chat colours, Ctrl+1-9, starred chats alphabetical
# Conflicts:
#	app/lib/features/chat/conversation/chat_thread_view.dart
#	app/tool/perf/perf_fixture.dart
#	internal/protocol/chat.go
#	internal/server/chat_close.go
#	internal/server/chat_sessions.go
2026-11-03 11:22:50 +00:00
alan f7b5958d64 App: chat colours, Ctrl+1-9 opens the Nth list item, starred chats alphabetical
A chat's colour is picked from its row menu (Colour...), a long-press or
the chat information sheet. The list shows it as a leading bar, a faint
row tint and a coloured avatar; the open chat shows a faint wash under its
top bar. Shades are Cupertino's dynamic system colours and Material
swatches tuned per brightness. Changes from other devices apply live.

Ctrl+1...Ctrl+9 open the Nth item of the open tab's list (chats, runs,
pipelines) in on-screen order, also while typing. Starred chats are sorted
by name, case-insensitively, as one alphabetical group.
2026-11-03 11:05:38 +00:00
alan c0d68f7c47 Split view: drag the divider to resize the list pane, remembered per destination
A 12 px grab area over the divider line resizes the list live (mouse,
touch, arrow keys; double tap resets to the default policy). The shell bar
over the list follows. Widths persist per destination in SharedPreferences
and clamp to the window without overwriting the saved value. Capture kit
gains hover= and drag= steps.
2026-11-03 10:49:09 +00:00
alan 05798a56c8 Top bar: every piece pops in like the tab buttons
One shared pop (pop_entrance.dart: PopTransition, popWindow, PopEntrance)
drives the floating tab buttons and the top bar, on Motion.tabEntrance*
(0.6 -> 1, 260 ms, 70 ms stagger, ease-out-back, glass fading in).
SegmentedEntrance and the barEntrance* constants are gone.

Back, the title, the actions pill and each action pop in turn from the
leading edge (SegmentedEntrancePlanner). A lone action pops once, with its
pill. A newcomer pops alone. Rebuilds and title changes never replay it.
The shell passes published actions one by one, keyed by their screen
(actionsKey), not as one cross-fading Row. The chat thread's model and mode
are separate actions. The folder picker now uses SegmentedBar.
2026-11-03 00:30:44 +00:00
alan 377ff04aaf Show each floating tab as its own round glass button
Replace the single glass pill (host NavigationBar/CupertinoTabBar with one
gliding highlight) with a row of separate circular GlassPill buttons, 52/50 px
with 12/10 px gaps, at the same bottom-right place. The selected button fills
with the host selection tint and cross-fades; each button pops in on its own,
staggered, only when the bar appears or its tabs change; presses sink like the
top bar's. Tab semantics, keys, tooltips and badges are kept; the row shares
one BackdropGroup for its blurs.
2026-11-02 18:43:05 +00:00
alan 885234e0e4 Cap the list pane at 440 px beside an open item
On very wide windows (a 4K monitor) the list took 40% of the window; past
440 px the extra width now goes to the open item. Fold and laptop widths
keep the 60/40 split.
2026-11-02 16:14:50 +00:00
alan 4007599c99 Animate and space floating tab bars 2026-11-01 13:13:15 +00:00
alan f422d26e32 Add shell destination keyboard shortcuts 2026-11-01 00:34:54 +00:00
alan 0ceafcb6d7 Search results and pill span the pane; lock stage page to the full detail pane
Remove the 840 px Search reading cap (results column and bar pill) so both
fill the pane at Fold and wide widths. Add a width test for the stage page
at 880 and 1400 and deep-link/query flags to the search probe entry.
2026-10-31 22:01:28 +00:00
alan 3be728296c Merge branch 'worktree-agent-a77fe68a62a10ce30' into integrate/notify-marked 2026-10-31 16:55:40 +00:00
alan 44ea45150f Compact floating tab bars with circular selection and equal edge gaps
The floating tab bar is now sized to its icon tabs at the bottom right on
every width, the selected icon sits in a tinted circle on both hosts, and
the gap from each outer circle to the pill's sides equals the gap to its
top, bottom and neighbours.
2026-10-31 16:53:24 +00:00