Commit Graph
529 Commits
Author SHA1 Message Date
Xubin Ren 48443ece20 test(webui): cover activity locale fallback and replay 2026-09-25 01:50:12 +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 f57cc3aad2 fix(webui): separate page routes from chat return state 2026-09-25 00:47:30 +08:00
chengyongru 0d1d2e82c2 test(webui): distinguish replay cache from preview persistence 2026-09-24 23:32:22 +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 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
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 155a6ada02 fix(webui): clear stale restart prompt after reconnect (#5813)
* fix(webui): clear stale restart prompt after reconnect

* fix(webui): retry settings refresh after reconnect
2026-09-23 17:27:34 +08:00
chengyongru 920efd00b8 feat(webui): streamline contextual message controls (#5831) 2026-09-22 16:37:35 +08:00
chengyongru 99a7ec256f fix(webui): wrap markdown table content 2026-09-22 16:22:51 +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 8eea1cb7a4 fix(webui): snapshot received messages before pane unmount 2026-09-21 16:45:30 +08:00
Xubin Ren bfb5129e6f fix(webui): retain temporary chat state across navigation 2026-09-21 16:45:30 +08:00
Xubin Ren 7a317c3968 fix(webui): scope sidebar autofocus to mobile navigation 2026-09-21 16:26:57 +08:00
13319dfe15 fix(webui): prevent mobile sidebar tooltip and double-tap navigation
Integrate the focused Sheet autofocus and touch hover corrections from
#5777 and #5641 on current main. Preserve caller focus overrides, keyboard
accessibility, and the existing viewport/safe-area policy.

Add App-level coverage for consecutive one-click topic selections and
drawer dismissal alongside focus and emitted-CSS regressions.

Co-authored-by: Nikko Gonzales <nikkoxgonzales@gmail.com>
Co-authored-by: moran <moranfong@gmail.com>
2026-09-21 16:26:57 +08:00
Xubin Renandchengyongru a44f28e656 fix(webui): complete Copilot device sign-in in the browser
Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-09-21 00:13:46 +08:00
Xubin Ren aca59431fe fix(webui): retain rejected catalog state while reopening picker 2026-09-21 00:13:46 +08:00
Xubin Ren eaa0e290d0 fix(webui): hide model choices when OAuth authorization expires 2026-09-21 00:13:46 +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
Xubin Ren 024fe8f636 fix(webui): surface OAuth model catalog authorization failures 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 db675a43b6 refactor(webui): unify live and replay event projection (#5819)
* refactor(webui): unify live and replay event projection

* chore(webui): mark legacy projection cleanup

* fix(webui): rewrite streamed replay media URLs
2026-09-20 13:52:43 +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 73bc6d083e fix(webui): align channel logo presentation 2026-09-19 17:59:17 +08:00
Xubin Ren 52561a2982 fix(webui): complete provider setup translations 2026-09-19 17:59:17 +08:00
Xubin Ren 70bf433018 fix(webui): unify settings switch styles 2026-09-19 17:59:17 +08:00
Xubin Ren af43292f6f fix(webui): polish provider setup sizing and navigation 2026-09-19 17:59:17 +08:00