Arrange mode and the Tray (D87)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

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.

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

描述

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

主要语言
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 摘要。