Dragging swaps Widgets on a fixed floor plan (D87, ADR 0005)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read D87 in docs/DESIGN-TREE.md, ADR 0005 and the terms in GLOSSARY.md before touching code, then the current drag/drop handling for title drags, edge drop zones and the dwell rule that this ticket removes. The new Arrangement module owns the floor plan and the swap/fill edits; #31's path replayer must be retargeted so it asserts the invariants in the acceptance criteria on every path. Done means those properties hold and run-hidden tools/check.sh is green, with the pty checked by hand for the highlight and chip.
索引モデルが issue の本文から書いたものです。
説明
Parent
#34 (spec), D87 in docs/DESIGN-TREE.md, ADR 0005, terms in GLOSSARY.md.
What to build
Introduce Arrangement: one module holding the floor plan, which Widget is in which Pane (and, in the next ticket, the Tray). A title drag now only moves contents: drop on another Pane and the two Widgets swap; drop on an empty Pane and it fills it. While dragging, nothing moves except a highlight on the Pane under the pointer (shown at once, saying "swap with queue" or "put here") and a small chip with the Widget's name next to the pointer. Release drops on the Pane under the pointer; releasing on its own Pane or Esc cancels.
Removed: edge and screen-edge drop zones, live reflow, the dwell rule, the full-size floating Pane and the reflow motion. Divider dragging and #31's fixes (unheard releases, right click ignored mid-drag, dividers clamped to the furthest fit) stay.
Acceptance criteria
- Arrangement's edits (swap, fill an empty Pane, move a line, replace a Widget) keep the floor plan valid and each Widget at most once, and say why when an edit can't happen
- A title drag swaps or fills; the floor plan never changes during or because of a drag
- The highlight follows the pointer with no dwell; the chip (Widget's name, about one row, ≤ 20 columns) follows the pointer
- Every drop is allowed, including into a Pane below the Widget's smallest size
- The old zones, live reflow, dwell and floating Pane code is deleted
- #31's path replayer is retargeted: on every path the floor plan stays valid, the drop lands on the Pane highlighted at release, nothing stays held, nothing but highlight and chip changes during a drag
- Property test of random Arrangement edit sequences over every Design and many sizes
- Undo/redo, the naming prompt on a built-in's first edit and Reset design keep working
-
run-hidden tools/check.shgreen; user-visible changes checked in the pty before closing
Blocked by
- #35
The owner tests the app once, after all D87 tickets are done (not between tickets).
- 主要言語
- Rust
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 30分
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
publicusr/singularity のほかの issue
-
enhancement ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
publicusr/singularity#55 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
publicusr/singularity#17 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
publicusr/singularity#62 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
publicusr/singularity#61 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
publicusr/singularity#60 ·
メンテナーはふだん 1 日以内に返信
publicusr/singularity の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mufeedvh/code2prompt#355 ·
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:3d effort:medium P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
akitaonrails/ai-memory#2446 ·
メンテナーはふだん 1 日以内に返信