Foreground server logo, chat stream trust, and hub edit/scroll polish - #280
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
needs_output) runs the same icon_anime intro/dismiss/farewell session asfount log; path CLI renamesrun_server_with_updatestorun_with_updatesand adds arun_serverentry for debug + keepalive.isTrustedMarkdownAuthor(not blanket!isRemote); reasoning blocks render as Markdown<details>with CommonMark blank lines; addscrollToBottomIfPinnedand same-channel hash-nav short-circuit.edit_body, reject empty edits with i18n toast, and cover reasoning Markdown with a pure test.Test plan
fount servershows icon intro, dismisses after start, farewell on shutdown / Ctrl+C mid-intro<details>; untrusted/federated stream stays safe previeweventIdscrolls/highlights without full remountfount test --no-parallel shells/chat:pure:reasoning_markdown摘要
icon_anime会话,并拆分run_server与run_with_updates。<details>渲染、贴底滚动和重复导航抑制。edit_body,增加快捷键提示、空内容校验和国际化文案。0,并更新虚拟控制台依赖。原因
统一前台服务器与 TTY 动画行为。
降低流式渲染、内联 HTML、事件属性和危险 URL 的风险。
减少消息编辑模板重复,改善编辑体验和可访问性。
自动维护仓库描述,减少人工操作。
架构与审美风险
StreamRenderer的异步信任切换同时触发缓存清理和 DOM 重渲染,时序复杂。<details>交给 Markdown 管线,输出依赖下游的 HTML 和空行处理。run_server集中调试参数、前台启动和 keepalive 入口,职责更清晰,但入口层更集中。editBodyHtml。