Pane menu and Widget picker: Replace widget… (D87)

オープン
#37 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

The work spans the Pane menu, the mouse and key handling for Pane titles and bodies, and a new Widget picker Popup, all of which depend on the design in docs/DESIGN-TREE.md (D87), ADR 0005 and GLOSSARY.md, referenced from the issue. Read those documents first, then the existing Popup variants and the CLAUDE.md popup rules. Done means the picker filters, swaps or replaces Widgets as specified, and tests drive it through the App with real clicks and keys, with tools/check.sh green.

索引モデルが issue の本文から書いたものです。

説明

enhancement ready-for-agent

Parent

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

What to build

A quick way to swap a Pane's Widget for any other. A right-click on a Pane's title (or its body, where the body has no menu of its own) opens the Pane's menu with Replace widget… first. The Widget picker is a palette-style list: type to filter, scroll with the wheel and arrows. Widgets not on screen come first; Widgets already on screen are dimmed below a line, and picking one swaps the two Panes' Widgets. The replaced Widget just leaves the screen. Each Widget at most once on screen.

Acceptance criteria

  • Right-click on a Pane's title opens its menu: Replace widget…, then Close (and room for Split and Arrange from later tickets)
  • Right-click on a Pane's body opens the same menu, except where the body has its own menu (song rows, Cards, the queue keep theirs)
  • Clicking the Widget's name in the title, a key on the focused Pane (free of clashes), and the palette's Replace widget… also open the picker
  • The picker filters as you type and scrolls like other lists; not-on-screen Widgets first, on-screen ones dimmed below a line
  • Picking an on-screen Widget swaps it with this Pane's Widget; picking another replaces this Pane's Widget
  • Home's Pane has no Replace widget
  • The menu and picker are Popup variants (CLAUDE.md popup rules: drawn on top, Esc closes, wheel scrolls)
  • Tests through the App with real clicks and keys; pty shot of the menu and picker
  • 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分
マージ済み PR(30日)
25

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

publicusr/singularity のほかの issue

publicusr/singularity の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。