Commit Graph
122 Commits
Author SHA1 Message Date
chengyongru 7dfeff9ddf fix(webui): keep restored waiting messages manual (NAN-275) (#6393) 2026-10-22 17:43:28 +08:00
chengyongru fd30fda8a2 fix(webui): stabilize transcript while typing multiline drafts 2026-10-21 10:50:03 +08:00
Xubin Ren 28f6c26946 fix(webui): recover model failures and align chat controls 2026-10-21 02:34:09 +08:00
chengyongru 282839cc65 feat(webui): add reading text size preferences (#6325)
* feat(webui): add reading text size preferences

* fix(webui): align loading skeletons with reading typography
2026-10-20 16:33:05 +08:00
chengyongru 909b277e7a fix(webui): recognize typed session handles as references (#6311)
* fix(webui): recognize typed session handles as references

Refs NAN-286

* refactor(webui): simplify session reference handling

* fix(webui): recognize mentions after punctuation

* docs(webui): focus topic references on usage
2026-10-20 01:05:11 +08:00
chengyongru 125d9221d0 fix(webui): merge consecutive waiting messages (#6309)
* fix(webui): merge consecutive waiting messages

* fix(webui): retain legacy draft session targets on refresh
2026-10-19 21:06:46 +08:00
chengyongru 1a4cee5815 fix(webui): align mention overlay spacing with the native caret 2026-10-18 00:25:47 +08:00
chengyongru 836092424d fix(webui): resume queued prompts after turn completion (#6242)
* fix(webui): resume queued prompts after turn completion

Persist the lifecycle turn each queued prompt waits for and use canonical completion identities to resume after navigation or reconnect. Release one entry at a time, and retain stopped or rejected entries for manual sending.

* fix(webui): drain temporary chat prompts on live completion

* perf(webui): resume queued prompts from live completion
2026-10-16 13:33:41 +08:00
chengyongru c24153db86 fix(ui): keep theme text and selections readable (#6226)
* fix(ui): keep theme text and selections readable

* fix(tui): theme the blank composer cursor cell

* refactor(webui): centralize diff theme colors

* fix(tui): keep conversation selections readable

* fix(ui): preserve nested syntax colors and selection lifetimes
2026-10-15 15:21:28 +08:00
chengyongru 328e933d36 refactor: isolate runtime contracts and enforce import boundaries (#6166)
* test: enforce Python import ownership boundaries

* test: protect client import boundaries and rehome shared UI contracts

* refactor: remove gateway and client dependency inversions

* fix: detect dynamic imports in conditional expressions

* refactor(tools): keep configuration contracts with their owners

* docs: keep design guidance focused on ownership and checks

* fix: preserve default threaded turn delivery
2026-10-13 13:56:28 +08:00
chengyongru 73af08efab fix(webui): allow switching Default permissions back to Full Access (#6175)
* fix(webui): allow authenticated access mode switching

* refactor(webui): remove constant full access eligibility helpers

* refactor(webui): remove obsolete full access policy parameter

* docs(webui): remove redundant access switching paragraph

* refactor(webui): remove obsolete full access capability
2026-10-12 15:39:33 +08:00
chengyongru 9261e731ce feat(webui): improve model and provider settings UX (#6145)
* feat(webui): improve model and provider settings UX

* refactor(webui): organize provider forms and model picker interactions

* fix(webui): separate OAuth credentials from provider configuration

* fix(webui): stabilize shared combobox navigation

* refactor(config): store provider connections as sparse entries

* fix(webui): preserve provider validation and isolate catalog tests

* refactor(config): manage explicit provider connections

* refactor(webui): decouple settings UX from provider removal

* fix(webui): select current combobox options during rapid input

* feat(webui): refine model preset and provider management

* style(webui): refine preset footer actions

* fix(webui): align model settings with responsive layout rules

* refactor(webui): finalize preset dialogs and simplify provider state

* fix(webui): keep fallback heading stable while sorting presets

Animate card dimensions without changing layout height and keep the section heading outside sortable cards. Remove proxy normalization from this PR.

* docs: update WebUI model and provider setup instructions

* docs: start model setup from new preset

* docs: remove duplicate WebUI model setup instructions
2026-10-11 04:30:43 +08:00
Xubin Ren 24a5c6dd56 fix(webui): keep stop immediate without command metadata 2026-10-09 12:28:32 +08:00
Xubin Ren 5cf629963d fix(webui): queue slash-prefixed chat text during responses 2026-10-09 12:28:32 +08:00
chengyongru 8a795b428e refactor(webui): remove obsolete native workspace picker paths 2026-10-08 20:33:15 +08:00
chengyongru d5dc59ea76 fix(webui): keep workspace selection in one dialog 2026-10-08 20:33:15 +08:00
chengyongru 66c8d41f66 feat(webui): add a host directory picker and refine composer controls 2026-10-08 20:33:15 +08:00
chengyongru 6646f5fbee fix(webui): upload TUI and WebUI attachments over binary HTTP (#5980)
* feat(webui): add bounded binary attachment staging

* feat(webui): bridge binary HTTP bodies alongside websocket listener

* fix(webui): deliver attachments over authenticated binary HTTP

* fix(webui): bound incomplete upload headers and preserve staging markers

* test: reflect aiohttp runtime dependency for binary uploads

* fix(webui): relay binary uploads and retain rejected drafts

* refactor(webui): remove obsolete attachment transport errors

* refactor(websocket): own binary attachment transport

* fix(websocket): allow bounded uploads over slow connections

* test(webui): restore upload timeout before retry

* docs(websocket): focus attachment guide on client usage
2026-10-08 11:55:13 +08:00
chengyongru 63bdd40280 feat(webui): unify icons and refine interaction feedback (#6074)
* feat(webui): unify product icons and refine interaction feedback

* test(webui): align layout and tooltip expectations with icon refresh

* test(webui): verify temporary chat uses shared icon controls

* fix(webui): toggle workspace access directly and restore send arrow

* fix(webui): keep the send control circular

* fix(webui): clear workspace toggle background on pointer leave

* test(webui): isolate GitHub navigation in star prompt tests

* test(webui): prevent external default navigation during star link clicks
2026-10-06 00:46:38 +08:00
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
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 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
chengyongru 1a78ae2b99 perf(webui): restore cached threads and load mention catalogs on demand 2026-09-24 23:32:22 +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 8d0430c761 feat(webui): show persisted fallback preset on replies (NAN-133) 2026-09-20 15:16:35 +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
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
chengyongru 8ea683679d feat(webui): expand and organize settings with autosave (#5704)
* feat(webui): expand settings with autosave and live configuration

* feat(memory): add long-term memory and idle compaction switches

* refactor(webui): clarify settings hierarchy and align compact controls

* refactor(webui): keep only memory consolidation in memory settings

* refactor(webui): defer runtime changes until explicit restart

* refactor(webui): remove default workspace setting

* fix(webui): align model lists and remove preset counters

* fix(i18n): use natural Chinese labels for chat platforms

* fix(i18n): shorten chat settings navigation label

* fix(webui): match settings navigation icons to text size

* refactor(webui): remove redundant settings sidebar heading

* refactor(webui): use icon-only back navigation in settings

* fix(webui): remove back arrow hover hint

* refactor(webui): remove redundant overview details

* refactor(webui): hide secondary descriptions in settings rows

* style(webui): replace settings dividers with rounded highlights

* refactor(webui): remove redundant model list subtitles and badges

* fix(i18n): restore chat translation namespace boundaries

* fix(i18n): complete settings translations for all locales

* fix(webui): reveal settings only for enabled capabilities

* fix(webui): consolidate capabilities and isolate settings feedback

* fix(webui): clear restart notices when settings are reverted

* fix(webui): anchor restart controls in settings sidebar

* fix(webui): shorten sidebar restart label

* fix(webui): align settings spacing and control sizes

* refactor(webui): unify settings dialogs and interaction feedback

* fix(webui): keep settings option groups on one line without scrolling

* refactor(webui): align settings spacing and sidebar icon proportions

* style(webui): match main sidebar typography to settings

* style(webui): use monospace for sidebar session handles

* refactor(webui): remove heartbeat configuration from automations

* feat(webui): expose configuration actions beside capability toggles

* style(webui): remove ellipsis from configuration actions

* refactor(webui): remove redundant app configuration controls

* feat(webui): add compact sidebar navigation and shortcut hints

* fix(webui): synchronize npm dependency lockfile

* test(webui): align input radius expectation with pill styling

* feat(webui): show daily token usage and cache breakdown

* feat(webui): add model usage details and cache hit rates

* feat(webui): chart daily token usage by model

* refactor(webui): simplify usage details and model labels

* fix(webui): hide usage dialog date range

* refactor(webui): consolidate model usage into chart legends

* fix(webui): enforce restart choices and correct settings test route

* fix(webui): polish settings localization and controls

* fix(webui): avoid repeated usage legend labels

* fix(webui): skip empty usage columns in keyboard navigation

* test(webui): assert settings behavior positively

* feat(webui): refine sidebar navigation and add drag resizing

* style(webui): soften sidebar scroll edges

* style(webui): harmonize sidebar typography and text colors

* feat(webui): move channels to the main sidebar

* style(webui): remove dotted underlines from settings hints

* fix(webui): unify tooltip hover delay

* fix(webui): support Seatbelt sandbox settings

* fix(webui): remove unused appearance density preference

* fix(webui): align settings input values consistently

* style(webui): group compact settings controls before inputs

* feat(webui): edit multiline settings in compact dialogs

* feat(webui): add continuous settings scrolling with gentle snapping

* Revert "feat(webui): add continuous settings scrolling with gentle snapping"

This reverts commit f0978c261a53c844185eeab4d0c3190fbd196fe6.
2026-09-10 11:10:51 +08:00
Xubin Ren 27518ca9fd fix(webui): refresh skill suggestions when opening the picker
Refresh the shared skill list when a dollar-reference picker opens so skills installed by the agent appear without reloading the page. Coalesce in-flight requests and preserve the last known list on transient failures.

Cover post-load discovery, Tab completion, removals, request deduplication, cleanup, and retry behavior with regression tests.
2026-09-09 13:36:50 +08:00
chengyongru 2b6c91472b fix(webui): keep queued prompts scoped across session switches 2026-09-08 15:16:54 +08:00
chengyongru 5229989f28 feat: make context compaction visible in channels (#5656)
* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
2026-09-05 20:21:54 +08:00
chengyongru 6b82d642fc feat(webui): visualize context usage by logical round (#5649)
* feat(webui): visualize per-request context reuse

* refactor(webui): report usage by logical round

* fix(webui): align context chart with logical rounds

* refactor(webui): derive turn usage from logical rounds

* fix(webui): polish context usage details
2026-09-04 15:13:17 +08:00
Xubin Ren 94d62f86a0 fix(webui): nudge model setup on blocked submit 2026-09-02 16:25:07 +08:00
Xubin Ren 05100b70ad refactor(webui): open models directly for first-run setup 2026-09-02 16:25:07 +08:00
Xubin Ren 9a4781982e fix(webui): route first-run model setup choices 2026-09-02 16:25:07 +08:00
Xubin Ren b47f0980f1 feat(webui): add first-run AI setup flow 2026-09-02 16:25:07 +08:00
Xubin Ren 25e20a1458 feat(webui): link model picker to settings 2026-08-27 10:45:40 +08:00
Xubin Ren 48eea29313 feat(webui): unify turn observability 2026-08-22 20:51:24 +08:00
chengyongru 251a1ccd40 refactor: simplify cross-session messaging 2026-08-19 01:15:56 +08:00
chengyongru 0e184965e8 feat(webui): add lightweight session messaging via mentions 2026-08-19 01:15:56 +08:00
Xubin Ren 60993597de refactor(webui): unify shared shape system 2026-08-14 19:55:25 +09:00
chengyongru 221e8a4e4a feat(webui): polish sidebar and session transitions (#5393) 2026-08-14 17:03:11 +08:00