Commit Graph
254 Commits
Author SHA1 Message Date
Xubin Ren 4b4b5cfa9f fix(webui): preserve queued guidance and command semantics during sends 2026-10-04 10:16:56 +08:00
moran 42b85efa98 feat(webui): interject via the send button while streaming
While a turn is streaming, the primary action button stays Stop only while
the composer is empty. Once the user types, the send affordance takes over
(ChatGPT-style): tapping Send stops the running turn for the agent and
immediately delivers the new message with continueActiveTurn semantics —
the same backend contract the queued-guidance flush uses.

This restores 插嘴 (interjection) on touch devices, where Enter now inserts
a newline instead of queueing guidance (the queue-guidance flow stays
available on precision-pointer devices via Enter, and the queued prompt
stack still sends already-queued prompts anywhere).

submit() now carries continueActiveTurn while streaming; the button icon
switches to the send arrow in that state.
2026-10-04 10:16:56 +08:00
moran 2750a19601 feat(webui): newline instead of send on touch keyboards
A plain Enter in the composer now inserts a newline on coarse-pointer
devices; sending stays on the send button. The slash/mention pickers
still select with Enter, and precision-pointer (desktop) behavior is
unchanged. Adds enterKeyHint to label the soft keyboard action and
enables interactive-widget=resizes-content in the viewport meta so
Android keyboards resize the layout viewport.
2026-10-04 10:16:56 +08:00
Xubin Ren 0cac850737 fix(webui): keep model management available and bundle core provider logos 2026-10-02 11:36:34 +08:00
chengyongru 678cd8f4a7 fix(webui): keep completed turns terminal across late events (#5991)
* fix(webui): keep completed turns terminal across late events

* test(webui): align app layout client mock with completion API
2026-09-30 17:40:11 +08:00
chengyongru e0b8efa0be feat(tools): use installed ripgrep for native file search (#5948)
* feat(tools): expose installed ripgrep through exec

* refactor(tools): launch ripgrep with native argument vectors

* refactor(tools): reuse the fresh exec parameter schema

* fix(tools): select search backend in loader and display rg arguments

* fix(ui): simplify rg previews and localize search completion

* docs: simplify ripgrep configuration note

* docs: keep ripgrep note on one line
2026-09-28 13:44:51 +08:00
chengyongru 33dddaaa46 fix(webui): unblock earlier-history pagination and show retry states (#5934)
* fix(webui): show history pagination loading and retry states

* fix(webui): load earlier history on backward input at top

* fix(webui): use pull gestures and spinners for history loading

* fix(webui): shorten history loading failure messages

* refactor(webui): simplify history pagination guards and tests
2026-09-27 21:06:59 +08:00
chengyongru 9756468a8c fix(webui): preserve composer drafts across navigation and reloads (#5912)
* fix(webui): preserve composer drafts when switching sessions

* fix(webui): restore ordinary composer drafts after reload

* fix(webui): retain draft identity across composer remounts
2026-09-25 23:42:01 +08:00
ZhouandXubin Ren 796e1cb0e6 feat(webui): localize agent activity
Localize frontend-owned activity presentation while preserving raw tool data and current controls. Include locale-aware model memoization and integration with current main.

Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
2026-09-25 01:50:12 +08:00
chengyongru 0856fbf014 fix(webui): retry mention catalogs after transient failures 2026-09-24 23:32:22 +08:00
chengyongru 1a78ae2b99 perf(webui): restore cached threads and load mention catalogs on demand 2026-09-24 23:32:22 +08:00
chengyongru c370e2a5a5 fix(webui): refine mobile actions and avoid duplicate settings loads 2026-09-24 23:32:22 +08:00
Xubin Ren 7aac9355ec feat(webui): refine mobile message actions and hover timestamps 2026-09-24 15:17:05 +08:00
Xubin Ren 4693bba81f fix(webui): preserve native touch menus with message link actions 2026-09-24 15:17:05 +08:00
Xubin Ren c2edd5632e fix(webui): preserve previews during credential renewal 2026-09-24 15:17:05 +08:00
Xubin Ren b555164a17 feat(webui): polish tabbed previews and image presentation 2026-09-24 15:17:05 +08:00
Xubin Ren fccf415283 feat(webui): add isolated website previews and link actions 2026-09-24 15:17:05 +08:00
Xubin Ren 05bee21b10 feat(webui): unify file preview actions 2026-09-24 15:17:05 +08:00
Xubin Ren af5acabb33 fix(webui): restore session-scoped file previews 2026-09-24 15:17:05 +08:00
chengyongru 920efd00b8 feat(webui): streamline contextual message controls (#5831) 2026-09-22 16:37:35 +08:00
chengyongru 144d17da61 fix(webui): remove queued send hint 2026-09-22 14:47:17 +08:00
chengyongru 04d396600b fix(webui): clarify queued guidance state 2026-09-22 14:21:18 +08:00
Xubin Ren bfb5129e6f fix(webui): retain temporary chat state across navigation 2026-09-21 16:45:30 +08:00
Xubin Ren 1bfb4f6fc7 fix(webui): align fallback notice and clarify settings action 2026-09-21 00:13:46 +08:00
Xubin Ren 8473538e7a fix(webui): show provider logos in model notices 2026-09-21 00:13:46 +08:00
Xubin Ren 448767d147 fix(webui): identify OAuth reauthentication behind fallback replies 2026-09-21 00:13:46 +08:00
Xubin Ren a05f11ba10 fix(webui): notify chats when a fallback model responds 2026-09-21 00:13:46 +08:00
chengyongru 0983762fe5 refactor(webui): remove legacy message projection (#5823)
* refactor(webui): defer oversized replay traces as events

* fix(webui): type deferred trace index set

* refactor(webui): remove legacy message projection

* fix(webui): type event protocol boundaries

* test(webui): assert canonical thread events
2026-09-20 16:48:13 +08:00
Xubin Ren 8d0430c761 feat(webui): show persisted fallback preset on replies (NAN-133) 2026-09-20 15:16:35 +08:00
chengyongru 3d4200ff0d refactor: remove expired write_stdin compatibility 2026-09-20 13:22:41 +08:00
chengyongru 0f3cabb16d refactor(webui): derive footer spacing from thread tail 2026-09-20 11:47:27 +08:00
chengyongru 900675e7f8 fix(webui): remove intermediate answer footer gap 2026-09-20 11:47:27 +08:00
Xubin Ren f4d863a148 fix(webui): align provider icons across compact surfaces 2026-09-19 17:59:17 +08:00
Xubin Ren 4420ad58e1 fix(webui): hide model details until AI setup is complete 2026-09-18 02:29:35 +08:00
chengyongru f611c880f9 fix(webui): adapt chat toolbar to available width (#5760)
* fix(webui): float chat controls above the transcript

* fix(webui): keep floating controls compact and flat

* fix(webui): adapt toolbar placement to conversation width

* refactor(webui): simplify responsive toolbar styles
2026-09-14 15:25:13 +08:00
chengyongru ddd6b302c9 fix(webui): support remote project paths and honor picker capabilities (#5673)
* fix(webui): honor remote workspace picker capability

* feat(webui): allow remote project path selection

* test(webui): isolate native picker availability from host platform
2026-09-14 13:14:00 +08:00
Xubin Ren 08b130cdd1 fix(webui): harden mobile context sheet interactions 2026-09-13 23:35:16 +08:00
Xubin Ren f5c6be2608 fix(webui): polish mobile settings and context interactions 2026-09-13 23:35:16 +08:00
Xubin Ren 827dbe137b fix(webui): simplify mobile composer controls and context sheet 2026-09-13 23:35:16 +08:00
Xubin Ren b6122b9018 fix(webui): unify app logos and brand mentions 2026-09-13 13:53:20 +08:00
chengyongru e7da868574 feat(webui): refine automation views and scheduling controls 2026-09-13 05:43:05 +08:00
chengyongru c25b2048ef fix(webui): simplify automation calendar and creation UI 2026-09-13 05:43:05 +08:00
chengyongru 37e29c36e5 feat(webui): refine automation calendar workflows 2026-09-13 05:43:05 +08:00
chengyongru 7cede64f07 perf(webui): bound reasoning previews and pace streaming updates 2026-09-12 18:33:39 +08:00
chengyongru a490cd629b fix(webui): cache and defer thread history 2026-09-12 17:09:51 +08:00
Xubin Ren 1640784d45 feat(webui): simplify automation management and unify disclosure motion
Replace the dense automation workspace with a calm list and on-demand details, show current linked-chat titles, and remember manual system-task expansion preferences.

Reuse disclosure transitions across expandable controls, preserve drafts and focus through closing, and release large diffs after their exit animation.

Refs NAN-116
2026-09-11 20:38:38 +08:00
Xubin Ren d7de5d5344 fix(webui): align standalone page widths with conversations
Reuse the conversation content width and gutters for Apps, Skills, Automations, and Channels so their main panes are no longer constrained by the narrower settings frame.

Make automation columns respond to their container widths to preserve readable messages in narrow panes. Keep the sidebar, regular settings, and existing conversation appearance unchanged, with focused layout regression coverage.

Refs NAN-111
2026-09-10 21:18:54 +08:00
chengyongru 4ed04a5df9 fix(webui): bound explicit scroll navigation duration 2026-09-10 15:33:35 +08:00
chengyongru f39702f1cf fix(webui): preserve prompt rail markers before long answers 2026-09-10 15:33:35 +08:00
chengyongru a4140dac25 fix(webui): align file edits and remove redundant status markers 2026-09-10 15:33:35 +08:00