Commit Graph
81 Commits
Author SHA1 Message Date
chengyongru e71bc95364 fix(webui): prevent inline math overlap in markdown tables 2026-11-03 15:13:49 +08:00
chengyongru c1ed649b81 fix(webui): avoid remounting outgoing conversations (#6540)
* fix(webui): avoid remounting outgoing conversations

Reset subtask disclosure state within its session scope instead of keying the entire transcript before the stream message handoff. Cover the outgoing DOM lifecycle and disclosure reset with unit and browser regressions.

Resolves NAN-396

* fix(webui): reset transcript UI on message ownership changes

Keep the selected conversation separate from the owner of currently rendered messages. Reset the message subtree only when its owner changes, so cached and forked conversations get fresh UI state without remounting outgoing diffs.

Extend the history-only caller and cover cached fork activity isolation while retaining the outgoing-DOM regression.
2026-11-02 17:42:16 +08:00
chengyongru a4d2430140 refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
2026-10-30 13:07:03 +08:00
chengyongru b07b3eac24 fix(webui): retain history touch gestures across message replacement 2026-10-27 21:05:32 +08:00
chengyongru 02c364428a fix(webui): keep Dock taps working after touch drags 2026-10-27 20:31:21 +08:00
chengyongru e981e97f10 fix(webui): keep numbered code tokens in one wrapping flow 2026-10-27 18:11:57 +08:00
chengyongru b6536bfc5e fix(webui): remove ellipses from sending labels 2026-10-27 15:59:53 +08:00
chengyongru 8aa0deaca3 fix(webui): stabilize interaction tests and tooltip dismissal 2026-10-27 15:46:32 +08:00
chengyongru 0978ccd50f fix(webui): open subtask details from task content
Handle tool activity, errors and result-body clicks at the task item while preserving selection, nested controls, image portals and detail focus. Remove the sticky-title workaround.

Refs NAN-369
2026-10-27 13:22:34 +08:00
chengyongru 40ee25f885 fix(webui): show context and reasoning for all presets 2026-10-27 13:19:14 +08:00
chengyongru 4cd277f65d fix(webui): simplify retry status copy 2026-10-27 13:17:42 +08:00
chengyongru 164ddadd8e fix(webui): align chat links with edit filename colors (#6484) 2026-10-27 13:05:32 +08:00
chengyongru 960bfa9a83 test(webui): trim redundant browser coverage 2026-10-27 13:03:37 +08:00
chengyongru 8857d4f9c8 feat(webui): unify mention candidate display 2026-10-27 11:53:49 +08:00
chengyongru 69d2fd87b0 fix(webui): check explicit file links before enabling previews (#6483) 2026-10-27 09:40:44 +08:00
chengyongru 23c4acc216 fix(webui): keep subtask details reachable in long results
Keep the current task header above its independently scrolled result, including code copy controls. Preserve selection, detail focus and reading position.

Refs NAN-364
2026-10-26 23:40:42 +08:00
chengyongru 7e5dcb79e0 feat(webui): complete bang commands and literal output (NAN-291) (#6173)
* feat(webui): complete direct bang shell commands

Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.

NAN-291

* fix(clients): preserve literal shell output through display metadata
2026-10-26 23:35:26 +08:00
chengyongru 3230013963 fix(webui): match slash command highlighting to skills 2026-10-26 17:33:27 +08:00
chengyongru 0bd8456076 fix(webui): keep permission hints outside locked-thread drafts 2026-10-26 15:23:50 +08:00
chengyongru 9b3af7b66c feat(webui): keep delegated work within reach (#6443) 2026-10-26 13:16:44 +08:00
chengyongru 9270137d65 fix(webui): move appearance help to hints and smooth theme preview 2026-10-26 13:06:42 +08:00
chengyongru 83b6112843 fix(webui): crossfade theme changes as one page (#6459)
* fix(webui): crossfade theme changes as one page

* test(webui): align selection highlight motion checks

Follow the shared CSS transition contract instead of obsolete Tailwind utilities. Verify normal geometry easing and reduced-motion theme paint in the browser without changing accepted theme behavior or relaxing CI gates.
2026-10-25 23:54:06 +08:00
chengyongru 4701218719 fix(webui): place permission hover hint below its control (NAN-359) (#6458)
* fix(webui): keep composer hover hints outside the editor (NAN-359)

* fix(webui): limit hover hint change to workspace permission
2026-10-25 22:47:05 +08:00
chengyongru eed7b47753 feat(webui): refine attachment galleries and file cards (#6457)
* feat(webui): refine attachment galleries and file cards

* fix(webui): align attachment tests and Escape handling
2026-10-25 22:39:44 +08:00
Xubin Ren 44a7ef53ce fix(webui): keep local appearance ready during settings loads 2026-10-25 22:14:58 +08:00
Xubin Ren ef8271b2c0 feat(webui): refine appearance and add custom reading sizes 2026-10-25 22:14:58 +08:00
chengyongru 424d2debc2 fix(webui): unify skill and session link highlighting (#6454)
* fix(webui): refine skill reference highlighting

* fix(webui): highlight composer skills and align session links
2026-10-25 21:42:53 +08:00
chengyongru d14c54c31c feat(webui): match session handles in Ctrl+K 2026-10-25 21:03:35 +08:00
chengyongru e821144c7e feat(webui): search loaded message text in Ctrl+K 2026-10-25 21:03:35 +08:00
chengyongru 8af6313c56 fix(webui): refresh pairing prompts on gateway changes (#6401) 2026-10-25 20:16:51 +08:00
chengyongru 9e9e22d331 fix(webui): send waiting messages with empty Enter
Use the current pending message for explicit empty Enter submissions instead of a transient second-Enter marker. Preserve automatic-send authorization and keyboard/voice guards.

Refs NAN-357.
2026-10-25 19:49:15 +08:00
chengyongru 3ede000ad4 feat(webui): smooth theme changes and sun-moon transitions (#6450)
* feat(webui): smooth theme changes and sun-moon transitions

* test(webui): respect theme cooldown in diagram checks
2026-10-25 19:15:27 +08:00
chengyongru 4f7c4f0885 style(webui): refine composer surface and workspace hover (#6444)
* style(webui): refine the chat composer surface

Use a themed card background with a subtle edge and soft shadow. Keep focus stable without a darker frame while preserving Goal and drag rings. Align the startup composer surface and add composer-scoped browser coverage.

* style(webui): align workspace hover with access control

Keep the workspace trigger background clear on hover and use its existing text-color feedback, matching the adjacent access control. Preserve focus, disabled, and directory-picker behavior.
2026-10-25 15:16:08 +08:00
Xubin Ren e7e94bda1c fix(webui): remove extra frames from activity logos 2026-10-25 14:32:06 +08:00
Xubin Ren e1ca490d73 fix(webui): retain reading anchors through lazy Markdown layout 2026-10-25 00:09:24 +08:00
Xubin Ren b15bd455e3 fix(webui): soften thumbnail remove controls without shrinking touch targets 2026-10-25 00:09:24 +08:00
Xubin Ren 0bdc24a891 feat(webui): show image attachments as composer thumbnails 2026-10-25 00:09:24 +08:00
Xubin Ren 127f38b7c3 test(webui): wait for Markdown before history spring checks 2026-10-24 23:55:10 +08:00
Xubin Ren 0b22c1875a fix(webui): separate file cards from media previews 2026-10-24 23:55:10 +08:00
chengyongru d6cc08f335 fix(diagrams): upgrade Pele to 1.9.0 with measured rich text 2026-10-24 23:46:11 +08:00
chengyongruandXubin Ren ae7fed88e2 perf(tui): shrink standalone builds and target native bindings (#6432)
* perf(tui): shrink standalone builds without dropping features

* fix(tui): resolve macOS diagram fonts through CoreText

* fix(webui): preserve history pagination at the page boundary

* docs(tui): streamline release preflight guidance

---------

Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
2026-10-24 22:00:50 +08:00
chengyongru 24dd740d5b perf(webui): avoid redundant math layout setup 2026-10-24 20:56:12 +08:00
chengyongru 60420b45c8 fix(webui): keep MCP connection rows compact (NAN-321) 2026-10-24 20:11:31 +08:00
chengyongru 8af2d396ab fix(webui): tighten mobile chat layout and soften transcript edges 2026-10-24 19:29:24 +08:00
chengyongru 6d4add200b feat(webui): refine composer action feedback (#6419)
* feat(webui): refine composer action feedback

* fix(webui): preserve composer hit targets and ring previews
2026-10-24 02:50:47 +08:00
chengyongru 5ae49a43e7 fix(webui): share sidebar and Composer run state (#6337) 2026-10-24 00:43:34 +08:00
chengyongru cf0a0276a7 feat(webui): add a compact composer workspace toolbar (#6256)
* feat(webui): add a compact composer workspace toolbar

* refactor(webui): simplify composer workspace access control

* feat(webui): add a draggable workspace access capsule

* refactor(webui): simplify composer permission controls

* fix(webui): align mobile workspace permissions and stabilize CI test
2026-10-23 21:09:21 +08:00
chengyongru 06f3981962 fix(mcp): remove Figma remote preset and open management (#6399)
* feat(mcp): configure OAuth client names in management

* fix(mcp): use a short OAuth callback for Figma

* fix(mcp): narrow catalog changes and remove Figma remote

* test(mcp): drop unpublished Figma remote compatibility contract

* fix(webui): align MCP catalog skeleton with card body
2026-10-23 01:15:14 +08:00
chengyongru 7dfeff9ddf fix(webui): keep restored waiting messages manual (NAN-275) (#6393) 2026-10-22 17:43:28 +08:00
chengyongru bc5c58d239 feat(webui): distinguish context compaction reasons (NAN-324) (#6389)
* feat(webui): distinguish context compaction reasons (NAN-324)

* fix(webui): describe idle compaction cancellation as interruption

* docs: omit compaction notice details from configuration guide

* fix(i18n): make compaction notices read naturally

* fix(i18n): keep CJK compaction notices concise

* fix(i18n): describe idle compaction as unfinished
2026-10-22 16:13:25 +08:00