Commit Graph

433 Commits

Author SHA1 Message Date
alan a440859108 Fit long Files breadcrumb labels to the panel
Each folder in the path gets a maximum width (the current folder the
whole row) and its label is shortened in the middle to what actually
fits, measured with the label's style, so a long name never pushes the
current folder out of a narrow panel.
2026-11-12 23:13:08 +00:00
alan 6ce67dc491 Merge branch 'main' into pipelines/run-20261112-2239-files-path-keeps-the-current-folder-in-v-3cb2
# Conflicts:
#	app/tool/probe_files_fixture.dart
2026-11-12 23:08:42 +00:00
alan d56a76c9a7 Keep Files breadcrumbs aligned to the current folder
Pin the horizontally scrolling breadcrumb to its trailing edge so deep paths keep the current folder visible. Preserve tappable navigation, middle-ellipsize long labels, and cover the behavior with focused widget tests and the rendered fixture.
2026-11-12 23:08:03 +00:00
alan 1928cfe51b Remember the last Files folder per chat
Persist each chat session's last navigated Files folder, restore it with bounded parent fallback, and forget it when the session closes. Add persistence coverage and capture-fixture support for the reviewed behavior.
2026-11-12 22:56:52 +00:00
alan d19a14b9f9 Hide the phone chat as soon as its Back is pressed
_back marked the open chat hidden without rebuilding and relied on the
owner's route change to redraw. When the chat was shown while the app was
already on /chat (a restored layout, the Chat tab re-selected) nothing
changed, so the chat stayed on screen for seconds while the list behind
it took the taps. Found on the device: closeChat logged route=null and
the entrance never animated out. _back now rebuilds itself.
2026-11-12 20:19:10 +00:00
alan 3029295b1f Rebind chat file and center-stage shortcuts
Give Cmd/Ctrl+E to the active chat Files panel while preserving terminal behavior, and move Center Stage to the shifted chord. Update shortcut documentation and regression coverage for the new bindings.
2026-11-12 19:52:39 +00:00
alan 19b1d1326a Close the phone chat page explicitly from its Back button
The chat page's Back had no handler and relied on the stock Back popping
the nearest route, while the system gesture went through the app's own
back handling. Back now pops the page's own route (or leaves the open
chat), the same path the gesture takes.
2026-11-12 19:20:33 +00:00
alan a3fb506a57 Dim inactive chat panes more
Raise the inactive pane scrim from 0.35 to 0.5 so the active pane stands
out more clearly.
2026-11-12 14:15:59 +00:00
alan 677d202ae7 Thicken the running highlight while the composer has focus
The focus ring outlines the pill in the same colour, hiding the 2 px
highlight; draw it 4 px wide over a focused field.
2026-11-12 14:15:48 +00:00
alan ff39114e4f Drop the count badge from the background tasks gear
The caption beside the gear already says how many tasks run.
2026-11-12 14:12:34 +00:00
alan 45f5323c75 Keep phone chat back on the list
Treat server-synced open workspace snapshots as pane membership only so they do not show or retain a phone chat page. Add regression coverage for repeated system, button, and predictive Back cycles with tiled and floating entries.
2026-11-12 13:18:05 +00:00
alan 692ce7ec1a Merge commit '7f31e16bc1f9fe8cd6d0ac0fbe0d509756880aff' into pipelines/run-20261112-1235-gear-icon-for-background-tasks-1cb4 2026-11-12 12:47:40 +00:00
alan a2a9a7e3c1 Replace background task spinner with gear
Use an outlined settings gear with a running-count badge and slow linear rotation while background tasks are active. Preserve reduced-motion behavior, composer sizing, and tooltip coverage with updated focused tests and notes.
2026-11-12 12:43:47 +00:00
alan 7f31e16bc1 Keep only travelling composer border highlight
Remove glow, full-border tint, and reduced-motion overlay so the running composer paints only a short constant-speed arc. Expand focused arc tests and document verification limits.
2026-11-12 12:43:42 +00:00
alan a733a927f3 Finalize reviewed destination and skill changes
Preserve Settings as an independent navigation destination while landing the reviewed notification and skill-management updates. Keep the server and CLI skill contracts versioned and validated so the merged tree can be verified by the delivery gate.
2026-11-12 11:30:17 +00:00
alan 26bb583f10 Refine Settings destination shell integration
Keep Settings navigation independent while preserving shell actions and destination-specific state. Add the reviewed chat, run-entry, layout, and regression-test updates needed by the destination behavior.
2026-11-12 11:21:26 +00:00
alan 82418d31a7 Place terminal action in phone chat bar
Keep the Chats header clear at narrow widths by moving the phone terminal entry into the chat action bar and disabling the duplicate floating shortcut. Add focused widget coverage for the single terminal entry and header layout.
2026-11-12 10:33:57 +00:00
alan a1c0d10593 Merge commit '699c3adea55fa1a33801988e0cd588ff610be06a' into pipelines/run-20261112-0201-chat-seen-only-after-real-interaction-7302 2026-11-12 03:31:23 +00:00
alan 699c3adea5 Merge commit '9999e0912e9c38bd24a8754d64e7a14c589b1646' into pipelines/run-20261112-0206-composer-border-shows-the-agent-working-fd87 2026-11-12 03:26:25 +00:00
alan 4f8e99f316 Serialize open-chat sync writes by server revision and fan out prunes
Server: chat_open_workspace is a compare-and-swap on base_revision; a stale
write is refused and answered with the current snapshot (rejected: true).
Each stored change increments the revision; identical writes store nothing.
A request with no body reads the set. Seeds apply only to a never-stored set.
Validation uses the operator registry (recorded, not closed). chat_close and
connection-time pruning store a new revision and push it to every
connection; otherwise a new connection gets the current set to catch up.

App: ChatOpenWorkspaceController keeps one write in flight, coalesces later
changes, sends from the last replied revision and ignores lower revisions;
pushes and rejected replies win over unsent changes. It starts after the
local layout restores (seed or read), keeps a deep-linked chat, and is
disposed on server/gateway rebind. Remote membership is applied by
reconcileChatWorkspaceTree, keeping pane ids and split sizes. Federated
lists keep their local layout.

Tests: Go store/handler fan-out tests; app controller, reconcile and screen
sync tests. Notes record a live two-client scratch check.
2026-11-12 03:23:22 +00:00
alan 6ccced012e Merge commit '40623991e8709e5c1ab3e875b51d4de55f0c20a5' into pipelines/run-20261112-0201-chat-seen-only-after-real-interaction-7302 2026-11-12 03:08:16 +00:00
alan f8e081825f Merge branch 'main' into pipelines/run-20261112-0138-sync-open-chats-across-devices-on-the-se-9f86
# Conflicts:
#	app/lib/features/chat/chat_screen_keys.dart
#	app/lib/features/chat/chat_screen_workspace.dart
2026-11-12 03:00:02 +00:00
alan c48a1559ac Sync open chats across devices through the server (pipeline run work in progress) 2026-11-12 02:59:34 +00:00
alan 77db577cd0 Merge commit '40623991e8709e5c1ab3e875b51d4de55f0c20a5' into pipelines/run-20261112-0206-composer-border-shows-the-agent-working-fd87 2026-11-12 02:58:45 +00:00
alan 40623991e8 Merge commit '6aeabfe5916b3eb345e922c86a60e04580156c01' into pipelines/run-20261112-0138-mobile-chat-terminal-buttons-26ca 2026-11-12 02:54:31 +00:00
alan 746e23788d Mark chats seen after user interaction
Prevent passive open, restored, or unfocused chats from clearing notifications. Track qualifying focused interactions and cover passive and active seen-watermark behavior with tests and notes.
2026-11-12 02:25:09 +00:00
alan f3a469c356 Animate chat composer while turns run
Replace the running Stop button with an animated composer border and task spinner. Add Escape, slash-command, and touch-menu stopping paths with focused widget coverage, including reduced-motion behavior.
2026-11-12 02:24:46 +00:00
alan a233733966 Match chat terminal buttons to responsive UI
Remove the duplicate terminal action from narrow shell bars and expose the terminal in open chat bars only where appropriate. Use the shared plain bar-button styling and add focused light/dark responsive widget coverage.
2026-11-12 02:16:23 +00:00
alan c05a4da476 Fix Ctrl+Tab chat window navigation
Keep Ctrl+Tab scoped to shown floating chats when windows are visible, and otherwise cycle only visible tiled panes. Remove the single-pane recent-chat swap and use stable floating-window open order so raising a window does not alter navigation.
2026-11-12 01:59:52 +00:00
alan 17af656f00 Merge commit 'a88a7bddaf656394bbea74bb42a5e1656b52847d' into pipelines/run-20261112-0053-chat-list-more-menu-matches-the-pane-mor-f0d0 2026-11-12 01:23:49 +00:00
alan a88a7bddaf Merge commit '66a96ad136930286c817a282bc253dd7f7c9980a' into pipelines/run-20261112-0053-clear-empty-states-on-a-new-server-e7cd 2026-11-12 01:19:33 +00:00
alan 3ce7f7a5dd Expose pane actions in chat list menu
Share the open chat pane menu choices with session rows so list actions use the same handlers and target the selected chat. Add command routing, pane movement support, and focused coverage for wide and narrow layouts.
2026-11-12 01:17:46 +00:00
alan 35e4aec0a7 Merge commit 'a6d1492ad8bb88d78bf710f88dc10fa367e1dd7a' into pipelines/run-20261112-0053-ctrl-tab-cycles-floating-chat-windows-4658 2026-11-12 01:05:51 +00:00
alan 7dc054763b Cycle floating chats with Ctrl+Tab
Route Ctrl+Tab and Ctrl+Shift+Tab between visible floating chat windows while preserving tiled-pane and terminal tab behavior. Add regression coverage and document the shortcut semantics.
2026-11-12 01:04:09 +00:00
alan dbd525a7b1 Clarify empty server states
Show calm, actionable empty states for pipelines, runs, and chats while keeping filtered and failed loads distinct. Add focused widget coverage and document the remaining verification limits.
2026-11-12 01:02:31 +00:00
alan 5834b9c504 Mark the chat center-stage edges
Add subtle outlineVariant hairlines around the centered chat column so its boundary remains clear without changing the reading width or split layout. Cover light and dark center-stage visibility with focused widget and geometry tests.
2026-11-12 01:01:25 +00:00
alan 4f1b45571f Float the last chat and float from the chat list
Any tiled chat can float now, including the only one; the tiling is left
empty. A chat list row's More menu offers Float too: a tiled chat leaves
the tiling, a chat with a window shows it, any other opens a new window.
2026-11-12 00:43:03 +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 db522c8dc9 Merge commit '2da375ccce14528305d19416678bc2667520afa9' into pipelines/run-20261111-1951-material-cleanup-chat-workspace-and-sess-8fd9 2026-11-11 21:01:24 +00:00
alan d16c1b3db7 Merge current main and preserve Material chat cleanup 2026-11-11 20:53:58 +00:00
alan 1d790c2a66 Merge commit 'a823a6e8a398ab1327ff22f9c393d970e52a6f4b' into pipelines/run-20261111-1947-use-desktop-dialogs-for-remaining-sheets-4d07 2026-11-11 20:47:24 +00:00
alan 1b36328860 Preserve chat action compatibility
Keep the optional legacy icon parameter available for callers that have not yet migrated while rendering remains Material-only. The reviewed chat cleanup is already present in the preceding commit.
2026-11-11 20:35:48 +00:00
alan e1cc3cbf3d Merge commit 'fb8acda1975ed21dea3b03d9ecff2fc03a78f137' into pipelines/run-20261111-1951-material-cleanup-chat-conversation-and-t-b53d 2026-11-11 20:20:19 +00:00
alan fb8acda197 Merge commit 'ec3455e34dbec87376f00d19d9cc944eef51dae7' into pipelines/run-20261111-1951-material-cleanup-terminal-and-chat-shell-1213 2026-11-11 20:15:37 +00:00
alan 714f8aedab Merge commit '2e3275a46e8ab51fff4191204fe4bd0f2e39ab82' into pipelines/run-20261111-1947-use-desktop-dialogs-for-remaining-sheets-4d07 2026-11-11 20:10:57 +00:00
alan 04ba81e0ea Remove Cupertino chat cleanup leftovers
Keep chat and folder-picker UI on the Material path by removing obsolete Cupertino imports, icon metadata, flags, and alternate control handling while preserving existing behavior and focused test coverage.
2026-11-11 20:06:37 +00:00
alan ba198d144a Use desktop dialogs for remaining sheets
Keep the audited runs filter, chat colour picker, and Needs you flows as Material bottom sheets on narrow or touch layouts while presenting bounded desktop dialogs on wide layouts. Remove obsolete Cupertino flags and add focused route regressions and notes.
2026-11-11 20:06:27 +00:00
alan 214bbbc54f Remove Cupertino branches from terminal chat shell
Keep the existing Material terminal and chat-shell behavior while removing live Cupertino widgets, icon metadata, and alternate-host branches. Retain only the documented optional compatibility parameters until remaining callers migrate.
2026-11-11 20:05:55 +00:00
alan 87a568a7b4 Remove dead Cupertino chat paths
Keep the chat transcript and toolbar on their existing Material behavior while removing obsolete Cupertino-only helpers, arguments, and icon metadata. Preserve compatibility parameters where callers outside this lane still require them.
2026-11-11 20:05:45 +00:00
alan f45bca093f Merge commit '2e41717e83132e55d296853c0338bc2c7ed87b9d' into pipelines/run-20261111-1927-unify-chat-selectors-with-permission-men-e1a8 2026-11-11 19:53:26 +00:00