Size contact sheet and the `needs W × H` line (D87)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
frontend

调研方向

Read D87 in docs/DESIGN-TREE.md, ADR 0005 and GLOSSARY.md first, then the existing pty scenario harness the tools/check.sh suite drives, since the contact sheet must be produced by a scenario rather than by hand. From there you need the Widget trait's layout path, where each Widget's minimum size would be declared and where a Pane currently renders when it has too little room. Done means the scenario emits labelled images per Widget across every listed Pane size on both cell and pixel tiers, each Widget declares its smallest size with the needs W × H fallback and name-only title below that, and tools/check.sh passes with the pty behaviour seen by hand.

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

描述

enhancement ready-for-agent

Parent

#34 (spec), D87 in docs/DESIGN-TREE.md, ADR 0005, terms in GLOSSARY.md.

What to build

Every Widget must look right at any Pane size, because a floor plan you build yourself makes odd sizes common. Build a contact sheet the owner judges instead of vague "improve it" passes, and give every Widget a stated smallest size.

The owner marks each cell good or bad; each bad cell becomes its own follow-up ticket with that cell as its before/after (lyrics and Karaoke first). Keep established looks: change nothing the owner didn't mark.

Acceptance criteria

  • A pty scenario renders every Widget at a fixed set of Pane sizes (tiny 20×6, narrow-tall, wide-short, medium, big, full screen) on the cell and pixel tiers, one image per Widget, labelled by size
  • Full-terminal shots at the PC's size and an emulated 13-inch laptop (about 180×54 full screen and 90×50 half, Retina cell pixels)
  • Every Widget declares its smallest size; below it the Pane shows one dim centred line needs W × H, and a Pane too small even for that shows only the Widget's name in its title
  • The black hole's shape rule is expressed as its smallest size
  • The sheet is handed to the owner as images to mark (outside the repo if they contain anything personal)
  • run-hidden tools/check.sh green; user-visible changes checked in the pty before closing

Blocked by

None (can start immediately).

The owner tests the app once, after all D87 tickets are done (not between tickets).

主要语言
Rust
星标
0
派生
0
平均合并
3 小时 30 分钟
30 天内合并 PR
25

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

publicusr/singularity 的其他 Issue

查看 publicusr/singularity 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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