X6 File and visual rendering, plus git panel polish

未关闭
#409 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
electron, typescript
领域
desktop, frontend

调研方向

This issue groups 12 UI changes across chat and file viewers, the Git panel, and tool row labels; it names no implementation files or tests. Start by reading the experience rework (#399) and related issues #400 and #402 to find the current ownership and scope. Done means resolving the remaining listed items and verifying the linked fixes and release follow-ups; several items are already assigned to other work.

由索引模型根据 Issue 内容生成。

描述

Found in hands-on testing of 0.3.11 (12 Oct). Part of the experience rework (#399); target claude/experience-integration.

P0: invisible streamed text
When the window is inactive, the global animation pause freezes .md-fade (md-fade-in) and screen-fade-in at opacity 0. A reply that streams while Muster is visible but unfocused is blank until the window is focused. Rule: pausing may only stop loops, never hold content at its start state. (This is being fixed inside X1, #400, with a regression test.)

Files in chat and file viewer

  1. File links in replies that point outside the chat's folders open a read-only modal that shows a PDF as raw source, an .xlsx as 'binary file', and Markdown and .mmd as plain source. Use the same rich viewers as the side file tab (PDF, sheets, docs, rendered Markdown, Mermaid, sandboxed HTML), read-only.
  2. Opening a second file modal stacks it on top of the first; Escape closes only one. Use one viewer, which replaces its content or opens a tab.
  3. The DOCX preview shows a blank white page for a second or more with no loading state, then renders. Add a skeleton or spinner.
  4. DOCX tables are flattened into stacked text, and the default font is very small. Render real tables and readable body text.
  5. Add a 'Viewed N images' thumbnail (fixed on main in #377 and #379; verify again after the release).
  6. File references in replies become chips with the file-type icon and line, opening the file at that line (with X1).
  7. Render .mmd files and mermaid fences in the file viewer, not only in chat (with the visuals work).

Git panel
8. The summary card shows 'Changes: Unavailable' while the git tab shows 169 changed files (+31,529 −62) for the same folder. Use one source of truth.
9. The summary card is hidden by default behind 'Show summary'. Show it compactly by default (see X3, #402).
10. Git tab: 'Compare against Last commit' overlaps '0 files'; the tab title is truncated; there's a horizontal scrollbar; the '↑15' counter is clipped.
11. Primary git actions (commit, push, PR) must always confirm, or show a menu first, and must never run as a side effect of opening a panel.

Tool row labels
12. Multi-line shell scripts (heredocs) are shown in full as the tool row label. Label commands by their first meaningful command plus '…', with the full script in the expanded detail (with X1).

主要语言
TypeScript
星标
3
派生
0
平均合并
17 小时 33 分钟
30 天内合并 PR
163

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

musterhq/muster-code 的其他 Issue

查看 musterhq/muster-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。