Commit Graph
518 Commits
Author SHA1 Message Date
Xubin Ren fc729df9ab fix(webui): keep landscape suggestions beside the composer 2026-10-04 20:05:12 +08:00
Xubin Ren 2e334b2250 fix(webui): reuse touch targets for composer mentions 2026-10-04 20:05:12 +08:00
Xubin Ren 5c5027ac0b fix(webui): keep composer palettes inside the mobile viewport 2026-10-04 20:05:12 +08:00
chengyongru ed022e447f fix(webui): keep edit diffs visible and distinguish file creation (#6049) 2026-10-04 16:55:48 +08:00
Xubin Ren 13cec0146d fix(webui): enlarge preview controls on touch devices 2026-10-04 10:49:20 +08:00
Xubin Ren d07fac940f fix(webui): reserve navigation space above short-screen composers 2026-10-04 10:40:09 +08:00
Xubin Ren 4e77584eb7 fix(webui): keep touch app chrome inside the visual viewport 2026-10-04 10:40:09 +08:00
Xubin Ren bcd0423ce3 fix(webui): gate website preview actions by browser capability 2026-10-04 10:26:47 +08:00
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
chengyongru 810802e016 fix(webui): preserve TeX formula boundaries in streaming Markdown 2026-10-02 20:44:50 +08:00
Xubin Ren 2330bfc5a5 fix(remote): simplify connection mutations and preserve host state 2026-10-02 11:36:34 +08:00
Xubin Ren 0ffdf86619 fix(webui): polish remote setup and simplify connection dialogs 2026-10-02 11:36:34 +08:00
Xubin Ren 0cac850737 fix(webui): keep model management available and bundle core provider logos 2026-10-02 11:36:34 +08:00
Xubin Ren 719a5c3fcf feat(remote): rename servers without interrupting host sessions 2026-10-02 11:36:34 +08:00
Xubin Ren 47c587217d fix(webui): render remote revocation commands as copyable code blocks 2026-10-02 11:36:34 +08:00
Xubin Ren 450e455b57 fix(remote): group verified instances without dropping authorizations 2026-10-02 11:36:34 +08:00
Xubin Ren 94c137511a fix(webui): restore full-page remote connection management 2026-10-02 11:36:34 +08:00
Xubin Ren 715bdf45c8 ui(remote): manage connections without switching hosts 2026-10-02 11:36:34 +08:00
Xubin Ren e6d0303511 ui(remote): illustrate access to a remote nanobot 2026-10-02 11:36:34 +08:00
Xubin Ren 83a131c207 fix(remote): wait for local transport before reviewing pairing links 2026-10-02 11:36:34 +08:00
Xubin Ren 192ca6e49e feat(webui): complete remote pairing and connection recovery 2026-10-02 11:36:34 +08:00
Xubin Ren 11889c018e feat(webui): connect to existing remote nanobot instances (NAN-157) 2026-10-02 11:36:34 +08:00
chengyongru 6ecb74aea9 refactor: remove unused runtime and WebUI helpers (#5999)
* refactor: remove unused runtime and WebUI helpers

* fix: preserve exported agent helper methods
2026-10-02 01:41:05 +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 450a85fe0e fix(webui): stop repairing completed Markdown 2026-09-30 15:50:27 +08:00
Xubin Ren ab6d5f1d3c feat(channels): add inherited global compaction notice policy 2026-09-30 13:44:42 +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
Xubin Ren cc4e49f314 fix(webui): honor reduced motion for star invitation 2026-09-28 00:48:05 +08:00
Xubin Ren 57a4655451 feat(webui): polish the GitHub star invitation 2026-09-28 00:48:05 +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
Xubin Ren 5375289ecd feat(linear): refine browser authorization and workspace lifecycle 2026-09-26 19:19:21 +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
chengyongru eb3fc07087 fix(webui): allow custom context window token budgets (#5901)
* fix(webui): allow custom context window token budgets

* fix(i18n): translate context window hints in all locales

* fix(webui): accept context window K and M shorthand

* fix(webui): shorten context window hints

* refactor(webui): simplify context window validation
2026-09-24 18:26:03 +08:00
chengyongru fdee134afb fix(webui): play completion sound in background tabs 2026-09-24 17:34:33 +08:00
Li Fengmin 7c2bf8949c feat(webui): add completion notification sound preference
When a turn finishes while the user is watching the page there is no
audible cue; the existing browser notifications only cover the
background case. Add a `notificationSound` local preference (off by
default, next to `browserNotifications`) and play a short bundled
chime from the `turn_end` handler only while the page is visible, so
background tabs stay silent.

- webui/src/lib/notification-sound.ts: visibility- and preference-gated
  playback of the bundled /notification.wav, one reused Audio element
- Overview settings toggle with localized copy in all 10 locales
- Tests cover the default-off, visible, hidden, reuse and
  playback-rejection paths
2026-09-24 17:34:33 +08:00
chengyongru 3ecc3d3556 refactor: remove unused helpers and internal exports 2026-09-24 17:11:28 +08:00
chengyongru d898998c47 feat(webui): invite returning users to star nanobot (#5895)
* feat(webui): invite returning users to star nanobot

* fix(webui): place About Star link in settings list

* fix(webui): use neutral About repository label

* fix(webui): add localized Star link to About footer

* fix(webui): align Star invitation with existing dialog styling

* fix(webui): shorten and localize Star invitation copy

* fix(webui): skip Star invitation after user interaction

* fix(webui): align Star invitation meaning across locales

* fix(webui): clarify Star reminder dismissal errors
2026-09-24 15:37:18 +08:00
Xubin Ren 09b2ae9a31 fix(webui): preserve preview paint and scroll ownership 2026-09-24 15:17:05 +08:00
Xubin Ren 8b02d56e6c fix(webui): keep file preview tab switching responsive 2026-09-24 15:17:05 +08:00
Xubin Ren ebb29759c0 fix(webui): unify file reference icons across preview surfaces 2026-09-24 15:17:05 +08:00
Xubin Ren f8bfcf4250 fix(webui): ignore stale file menu clipboard results 2026-09-24 15:17:05 +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 b08c9da8de refactor(webui): keep website actions in compact context menus 2026-09-24 15:17:05 +08:00