Commit Graph
557 Commits
Author SHA1 Message Date
chengyongru 3c7ebd6cd8 fix(linear): refresh setup UI and preserve channel lifecycle state 2026-09-19 01:24:27 +08:00
chengyongru e9414da243 feat(channels): add native Linear agent channel
Add OAuth installation, signed webhook ingestion, durable event handling, native Agent Session activities, WebUI setup, localized copy, and an end-to-end configuration guide.
2026-09-19 01:24:27 +08:00
chengyongru 78cdf53ac3 fix(webui): show all channels when only WebUI is enabled 2026-09-18 16:35:57 +08:00
Xubin Ren 4420ad58e1 fix(webui): hide model details until AI setup is complete 2026-09-18 02:29:35 +08:00
chengyongru 0c4583b7f5 refactor(webui): animate segmented control indicator 2026-09-16 00:43:03 +08:00
Xubin Ren 0282dbac07 fix(email): trust configured authentication results 2026-09-15 15:26:20 +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 95b2346ea5 fix(webui): keep Markdown table source inline in file previews 2026-09-14 13:51:33 +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
chengyongru 15976ac559 fix(webui): streamline the connection screen 2026-09-14 11:22:47 +08:00
Xubin Ren 08b130cdd1 fix(webui): harden mobile context sheet interactions 2026-09-13 23:35:16 +08:00
Xubin Ren aa799cec9f fix(webui): anchor mobile settings menu below its title 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 3a14935eb1 fix(webui): focus restored drafts before setting mention selection 2026-09-13 13:53:20 +08:00
Xubin Ren 78ae5ff94f fix(webui): preserve mentions when IME composition is canceled 2026-09-13 13:53:20 +08:00
Xubin Ren 902e2b87b4 fix(webui): emphasize mention brand names without shifting caret 2026-09-13 13:53:20 +08:00
Xubin Ren b6122b9018 fix(webui): unify app logos and brand mentions 2026-09-13 13:53:20 +08:00
chengyongru bfb4f021ed test: align automation integration coverage with current behavior 2026-09-13 05:43:05 +08:00
chengyongru 458b925f86 fix(webui): keep automation creation intent in runtime context 2026-09-13 05:43:05 +08:00
chengyongru 037438e7d1 fix(webui): show per-run automation replies and simplify details 2026-09-13 05:43:05 +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
Xubin Ren 98b0c3858b fix(webui): align automation details with shared dialog styles
Reuse shared dialog and button treatments, simplify detail dividers, and keep related actions together on narrow screens. Omit empty instructions without changing task actions, focus restoration, or modal handoffs.
2026-09-13 05:43:05 +08:00
Xubin Ren 66370b170e fix(webui): align catalog headings and simplify skill labels
Use the existing inline section-heading layout to clear standalone title spacing in Apps, align the count with its heading, and reduce excess header height. Drop decorative count badges and uppercase skill group labels while preserving catalog filtering and actions.
2026-09-13 05:43:05 +08:00
Xubin Ren ddf4eb5054 fix(webui): simplify automation section labels
Remove the redundant personal-task heading and use natural typography for System tasks to keep the catalog from looking over-decorated. Preserve the accessible list label, counts, and disclosure behavior.
2026-09-13 05:43:05 +08:00
Xubin Ren 092410d3f2 fix(webui): align automation styling with settings pages
Reuse the Channels search styling and segmented filters, and bring the Skills catalog surface, typography, and compact row spacing to Automations so the feature pages share a consistent visual language.

Preserve task dialogs, disclosure motion, search and sort behavior, and the deletion focus regression coverage.
2026-09-13 05:43:05 +08:00
Xubin Ren 5b2f21c431 fix(webui): simplify automation controls and disclosure cues
Keep search, status filters, and sorting directly available instead of requiring a sliders toggle. Distinguish task dialogs from inline disclosures by removing task-row arrows and using up/down disclosure cues.

Remove obsolete drawer state and grid columns, preserve focus restoration and system-task preferences, and update interaction regressions. Scheduling, persistence, and task actions remain unchanged.
2026-09-13 05:43:05 +08:00
chengyongru f8c1f2ede0 fix(webui): make headless login self-explanatory (#5735)
* fix(webui): guide headless login

* fix(webui): correct SSH handoff and password fallback
2026-09-13 05:01:13 +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 a2e33893e1 fix(webui): restore navigation after automation deletion
Let the automation detail dialog own the background interaction lock instead of nesting a second modal menu. Overlapping exit lifecycles during deletion could leave body pointer events disabled after all dialogs closed.

Cover confirmed and cancelled deletion with animated Radix lifecycle tests and assert that sidebar navigation works after dismissal.

Refs NAN-117.
2026-09-11 21:37:07 +08:00
Xubin Ren 11a03595f4 fix(webui): lazily render collapsed tool traces
Keep trace rows unmounted until their group is opened, then release them only after the closing disclosure transition finishes. Hidden historical traces should not allocate a DOM row per tool call merely to support animation.

Add a 1,000-row regression test covering initial allocation, exit cleanup, rapid reopening, and subsequent expansion.
2026-09-11 20:38:38 +08:00
Xubin Ren 14f46d21fd fix(webui): preserve sidebar highlight easing during resize
Coalesce highlight measurements per animation frame and stop animating the measured action width during a drag. This keeps navigation and session highlights moving toward the current sidebar width with the same easing instead of lagging until the drag stops.

Cover target refs, selector targets, frame cleanup, and all drag termination paths.
2026-09-11 20:38:38 +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 3a5b84ce0d perf(webui): cache public favicon requests 2026-09-11 16:05:11 +08:00
chengyongru ccbdf56eb3 refactor(webui): split channel setup responsibilities 2026-09-11 16:04:51 +08:00
chengyongru e8a29a0087 feat(webui): improve setup flows across chat channels (NAN-112) (#5356)
* feat(webui): improve channel setup flows

* fix(webui): refine channel setup interactions (NAN-112)

* fix(webui): keep email setup sections channel-owned

* fix(webui): remove concrete channel details from shared components

* refactor(webui): remove unused channel setup resources

* fix(webui): finish channel-owned setup boundaries

* fix(webui): update channel switches optimistically

* test(channels): remove obsolete absence assertions

* fix(webui): flatten channel instance settings disclosure

* fix(webui): complete channel setup and connection flows

* fix(whatsapp): wait for session database release

* fix(webui): preserve scrolling channel controls

* fix(webui): stage channel connection checks

* fix(channels): align verification actions

* fix(email): expose connection checks

* fix(webui): align channel field actions

* fix(email): verify account credentials

* fix(wecom): bypass system proxy for websocket

* fix(channels): stabilize async connection cleanup

* fix(webui): autosave channel credentials

* fix(email): make provider presets non-destructive

* test(weixin): isolate persisted QR credentials
2026-09-11 15:22:14 +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
chengyongru a3e9d0f9a9 fix(webui): align message actions and simplify compaction notices 2026-09-10 15:33:35 +08:00
chengyongru 39a817e72d feat(webui): refine sidebar hierarchy and selection feedback 2026-09-10 13:34:56 +08:00
chengyongru 55093dd75b fix(mcp): refresh expired OAuth tokens automatically (#5573)
* fix(mcp): refresh expired OAuth tokens

* fix(mcp): bind refreshed tokens to OAuth issuer

* fix(mcp): activate OAuth tools before probe cleanup

* fix(webui): preserve failed MCP OAuth status

* fix(mcp): preserve OAuth refresh across discovery retries

* test(mcp): align OAuth issuer fixture with SDK validation
2026-09-10 13:27:50 +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
chengyongru fea28b1a00 fix(webui): preserve project when creating a topic from its menu 2026-09-09 17:26:02 +08:00
chengyongru 1469d4811c perf(webui): reduce repeated work and bound history rendering (#5703)
* perf(webui): reduce repeated work and bound history rendering

* fix(webui): keep continuation reasoning with its answer

* refactor(webui): reuse answer buffers and prepared copy text

* perf(webui): restore conditional replay buffer initialization

* fix(webui): remove code block pagination
2026-09-09 14:02:26 +08:00
Xubin Ren 1c451b5b5f fix(webui): retain skill refreshes queued during pending requests
An in-flight response can contain the list captured before a skill was installed. Preserve one trailing refresh for picker opens that arrive during that request instead of silently dropping them, while keeping at most one request active.

Cover stale responses, coalesced trailing refreshes, and unmount cleanup after both success and failure.
2026-09-09 13:36:50 +08:00