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

Đang mở
#36 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Rust
Star
0
Fork
0
Merge trung bình
3 giờ 30 phút
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của publicusr/singularity

Tất cả issue của publicusr/singularity

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.