Arrange mode and the Tray (D87)

Đang mở
#41 1 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/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

Start with D87 in docs/DESIGN-TREE.md, ADR 0005 and GLOSSARY.md, then the parent spec #34; the acceptance criteria name the behaviours but not the files, so read how the App's layer ordering and existing Pane/Widget drag paths are implemented first. This ticket is blocked by #39 and #40, so confirm those landed before starting. Done means the Tray round-trips through save/restart and undo, the pointer tests and pty arrange session pass, and run-hidden tools/check.sh is green.

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

Arrange mode is where rearranging happens: the Tray strip shows at the bottom edge, empty Panes say so, each Pane gets split and close buttons, a one-line key legend sits at the bottom, and Done ends it. A title drag enters it (so a quick swap stays one gesture), as do m, the palette ("Arrange") and the Pane menu. Outside Arrange mode the Tray is never visible.

Acceptance criteria

  • Arrange mode is a layer in the App's one order of what's on top; entered by a title drag, m, the palette and the Pane menu; Done or Esc ends it
  • Dropping a Widget on the Tray leaves its Pane empty; dragging one from the Tray onto a Pane places it, swapping that Pane's Widget into the Tray
  • × closes a Pane: its Widget goes to the Tray and the neighbour fills the room
  • Clear Tray and × on one Tray item remove Widgets; Home is never removed
  • Done is unavailable with a short line ("Home still needs a Pane") while Home isn't placed
  • Empty Panes are labelled; Panes show split and close buttons; the legend shows the keys
  • The Tray is saved per Design with the floor plan and survives restarts; it scrolls if it holds more than fits
  • Undo/redo cover Tray edits
  • Tests through the App and pointer paths onto and from the Tray; pty shots of an arrange session
  • run-hidden tools/check.sh green; user-visible changes checked in the pty before closing

Blocked by

  • #39
  • #40

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.