Commit Graph
344 Commits
Author SHA1 Message Date
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
chengyongru 4bd1b74c6b perf(webui): defer non-chat startup interfaces 2026-10-24 22:15:50 +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 8af2d396ab fix(webui): tighten mobile chat layout and soften transcript edges 2026-10-24 19:29:24 +08:00
chengyongru 3c022ada6a fix(webui): show renamed topic titles in @ mentions (#6413)
* fix(webui): use renamed titles for session mentions

Pass persisted title overrides to each thread and resolve mention display titles through the same helper as the sidebar. Keep canonical session identities unchanged.

Fixes NAN-342

* fix(webui): refresh bound session mention titles without truncating previews

* fix(webui): persist topic renames as session titles with legacy import

* fix(webui): keep session rename broadcast typed and identity-owned

* fix(webui): limit topic-title fix to composer mentions

Withdraw backend title storage, rename protocol/capability, import migration and global-title changes. Keep the existing sidebar title overrides and only project those names into the composer mention catalog.

Retain focused single/split-pane rename, bound-label, send/reload and full-preview filtering coverage.

* fix(webui): preserve bound mention and draft behavior

Keep the fix limited to candidate titles. Leave existing bound references untouched and exercise rename, candidate filtering, selection, send and reload in the regression test.
2026-10-24 03:00:22 +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 3bd489e314 fix(webui): remove goal halo and redundant detail header (#6417)
* fix(webui): remove goal composer halo

* fix(webui): remove redundant goal detail header
2026-10-24 02:10:16 +08:00
chengyongru 5ae49a43e7 fix(webui): share sidebar and Composer run state (#6337) 2026-10-24 00:43:34 +08:00
chengyongru cab2af7e94 fix(webui): simplify workspace picker icon 2026-10-23 21:41:06 +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 9cff5a90cc fix(webui): keep missing pasted paths silent (#6408)
* fix(attachments): keep missing pasted paths silent

* fix(webui): limit missing-path silence to paste inspection
2026-10-23 11:41:46 +08:00
chengyongru 254f94b068 feat(attachments): support local files and video attachments (#6321)
* feat(attachments): support local files and video attachments

Share gateway inspection and send validation for borrowed local paths while preserving binary uploads, original-file ownership, and existing limits.

Related to NAN-284. Native provider video input remains outside this change.

* test: make cross-platform verification fixtures self-contained

* test(webui): align typed fixtures with runtime contracts

* fix(webui): preserve uploaded video playback during history sync

* test(tui): preserve local attachment drafts across resizes

* perf(attachments): preserve upload caches and release video previews

* docs(webui): keep attachment guidance user-focused

* chore: remove redundant dependency comment

* test(providers): make stream idle renewal timing deterministic

* fix(attachments): keep upload byte limits out of local references

Validate common format/count rules separately from upload byte budgets. Keep local inspection and send-time checks metadata-only, and exclude local references from composer and pending-upload totals. Explain upload size rejections with actual size and maximum in all ten locales. Related to NAN-284.

* fix(attachments): retain image references and draft order

* fix(attachments): close local reference UX and authorization gaps

* fix(attachments): preserve focus during asynchronous path confirmation
2026-10-22 18:32:18 +08:00
chengyongru 7dfeff9ddf fix(webui): keep restored waiting messages manual (NAN-275) (#6393) 2026-10-22 17:43:28 +08:00
chengyongru 08ca3b4525 refactor(webui): use native link actions and remove website previews (#6391)
* refactor(webui): remove website previews and custom link menus

* docs(webui): focus guide on product-specific usage
2026-10-22 16:34:54 +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
chengyongru 872a83340d fix(webui): apply latest offscreen visibility notification (NAN-333) 2026-10-22 15:08:29 +08:00
chengyongru f9257c3548 fix(webui): preserve file edit stats and left-truncate long paths (#6388)
* fix(webui): preserve file edit stats and truncate paths from start (NAN-332)

* fix(webui): remove redundant collapsed diff line totals

* fix(webui): include full paths in image edit hints
2026-10-22 14:34:36 +08:00
chengyongru b37a23698d fix(webui): admit history without dropping live output (NAN-311) 2026-10-22 01:22:49 +08:00
chengyongru 76da55994b fix(webui): preserve answer checkpoints and stream order (#6368)
* fix(webui): preserve answer checkpoints and stream order

* fix(stream): close hosted-tool answer segments at the producer
2026-10-21 18:30:52 +08:00
chengyongru 743c51e81f fix(webui): stabilize earlier-history loading and reclaim space (#6349)
* fix(webui): retain smoothly revealed history loading headers

* refactor(webui): simplify history loading feedback

* fix(webui): keep retained history headers clear of preceding text

* fix(webui): reclaim completed history loading space

* refactor(webui): group history projection handoff with navigation

* test(webui): synchronize history motion observations

* fix(webui): collapse history completion geometry handoff
2026-10-21 13:10:05 +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 14d9e6ed0d fix(webui): show skeleton while conversation history loads 2026-10-20 22:01:40 +08:00
chengyongru f80956966b fix(webui): hide exhausted history hints at rest
Refs NAN-300
2026-10-20 17:04:29 +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 816c9221a0 fix(webui): add spring feedback at the history boundary (#6322)
* fix(webui): add spring feedback at the history boundary

Refs NAN-287.

* fix(webui): refine history boundary states and retry feedback

* fix(webui): share history loading states with subagents
2026-10-20 15:32:21 +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 f57018aa7f feat(webui): render Mermaid diagrams with Pele (#6302)
* feat(webui): render Mermaid diagrams with Pele

* fix(webui): reserve diagram replacement capacity

* fix(webui): prebundle lazy diagram worker dependencies

* fix(webui): account diagram capacity by encoded size

* fix(webui): use shared hover hints for diagram actions

* docs(webui): focus diagram guide on usage
2026-10-19 17:16:20 +08:00
chengyongru 5d886fbb20 fix(webui): show route-aligned skeletons from first paint (#6303) 2026-10-19 15:57:32 +08:00
chengyongru 53e0edf709 fix(session): prevent consumed follow-ups from replaying after restart (#6299)
* fix(session): atomically acknowledge consumed follow-ups

* refactor(webui): drop legacy follow-up replay compatibility
2026-10-19 11:31:19 +08:00
Xubin Ren 6baf7178a8 fix(webui): cancel stale history reads on local navigation 2026-10-18 17:13:18 +08:00
Xubin Ren 27ef6fe24f fix(webui): center prompt navigation in the complete chat frame 2026-10-18 17:13:18 +08:00
Xubin Ren f230409b5a fix(webui): navigate from history to unsaved live prompts 2026-10-18 17:13:18 +08:00
Xubin Ren f9a3e55b64 perf(webui): revalidate prompt summaries and bound navigation work 2026-10-18 17:13:18 +08:00
Xubin Ren bf1eada575 fix(webui): navigate complete prompt history with bounded pages 2026-10-18 17:13:18 +08:00
chengyongru 7edd377352 fix(webui): keep search activity summaries on one line 2026-10-18 01:45:53 +08:00
chengyongru 1a4cee5815 fix(webui): align mention overlay spacing with the native caret 2026-10-18 00:25:47 +08:00
Xubin Ren 61666c495a fix(webui): reuse preview tabs for resolved file aliases 2026-10-18 00:14:36 +08:00
Xubin Ren 0869c928a2 feat(webui): preview Markdown files with a source toggle 2026-10-18 00:14:36 +08:00
chengyongru 8de03ac0a2 fix(webui): use file-type icons in file change activity 2026-10-17 23:27:00 +08:00
chengyongru 559107172a fix(webui): hide recovery notice while resumed tasks run
Render recovery decisions only for awaiting_user and failed states so a reload cannot resurrect a resuming banner. Preserve the runtime recovery state and normal running controls.

Refs NAN-260
2026-10-16 18:25:40 +08:00
chengyongru 3ccc181d29 fix(webui): load history for running sessions 2026-10-16 14:07:10 +08:00
chengyongru 70ac000ad9 fix(webui): space other tasks from following messages 2026-10-16 13:40:14 +08:00