7 Commits
Author SHA1 Message Date
RedwindA 137d1171f2 feat(web): fade in streamed response words and harden playground editor (#6895)
* feat(web): fade in newly streamed response words

Animate only new word-level deltas while markdown is still streaming, and
cache markdown-it instances per parser id so concurrent Response trees do
not rebuild or reparse on every render.

* fix(web): keep CodeMirror editor alive across keystroke re-renders

Deliver onKeyDown through a ref instead of the extensions memo so a new
handler identity no longer tears down the EditorView, which reset the
cursor to the document start and made typing appear right-to-left.

* feat(web): add unsaved changes confirmation dialog in PlaygroundMessageEditor

Implement a confirmation dialog to warn users about unsaved changes when attempting to leave the editor. This includes handling the beforeunload event to prevent accidental navigation away from the editor. Additionally, add tests to verify the dialog's behavior under various scenarios.

* test(web): cover beforeunload guard and fade hydration suppression

Address review feedback: add regression tests for the unsaved-changes
beforeunload guard and the first-render fade suppression of hydrated
content, and annotate getCachedMarkdown's return type.
2026-08-18 18:20:53 +08:00
RedwindA 0cd9dc85e3 Merge commit from fork 2026-08-06 17:53:55 +08:00
RedwindA a0d0e5049e fix(web/channel): stabilize inline priority updates (#6415)
* fix(channel): debounce inline priority updates

* fix(channel): commit spinner edits only on Enter or focus leave

Blurring the inline edit input to the +/- buttons flushed the pending
priority update immediately, bypassing the container focus-containment
check and defeating the debounce. Commit now happens via the container
blur handler or explicitly on Enter. Add unit tests for the priority
update scheduler.

* fix(channel): preserve row identity when priority updates reorder channels
2026-07-25 15:59:59 +08:00
RedwindA 08677566f8 fix(web): show used quota for unlimited API keys (#6224) 2026-07-20 18:08:53 +08:00
RedwindA 5d943281b5 feat(system-settings): add user token limit configuration section (#5678) 2026-06-24 20:39:21 +08:00
RedwindA aabeec7425 Add ERROR_LOG_ENABLED description 2025-05-29 12:35:13 +08:00
RedwindA 3ad58d61b4 Add ERROR_LOG_ENABLED description 2025-05-29 12:33:27 +08:00