Move a song by keyboard: Alt+↑↓ and Move in its menu, queue and own playlists

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Start from the Alt+↑↓ handling #55 added to your own playlists and follow the existing reorder commands (Connect queue move, playlist reorder) so the queue Pane and the Queue popup share one path; the song menu entry, its Move · Alt+↑↓ label and the Help list hang off the same code. Find the App test harness that sends key events and mirror an existing playlist-reorder test for lift/move/drop/escape. Done means run-hidden tools/check.sh green, pty checked, and the README macOS quirks note added if Option+arrow does not arrive as Alt in Ghostty.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement ready-for-agent

What to build

Moving a song by keyboard works the same in every list you can reorder (the queue and your own playlists), in two ways:

  • Alt+↑ / Alt+↓ moves the selected song one place (as your own playlists already do since #55); the queue gets it too, in its Pane and in the Queue popup.
  • Move in a song's menu (Enter or right-click): the song lifts, ↑↓ moves it, Enter drops it, Esc puts it back. The menu item shows the key: Move · Alt+↑↓.

Mouse dragging stays as it is. Owner decision 2026-11-24 (during D87, after #38's helper added Alt+↑↓ to the queue unasked: the key is kept, the rule "no keys beyond the ticket" stays).

Acceptance criteria

  • Alt+↑↓ moves the selected song in the queue (Pane and popup) and in your own playlists; elsewhere it does nothing
  • "Move · Alt+↑↓" in a movable song's menu lifts it; ↑↓ moves, Enter drops, Esc restores; only songs that can move offer it (own playlists, queued songs within their section)
  • The same move goes through the existing reorder commands (Connect queue move, playlist reorder), with the existing refusal handling
  • Help lists the key
  • Check on macOS whether Option+arrow reaches the app as Alt in Ghostty; if not, document it in the README's macOS quirks (the menu works anyway)
  • Tests through the App with keys; run-hidden tools/check.sh green; pty checked

Blocked by

  • #38 (the Queue popup), and lands after D87 (#34) is merged to main
Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
3h 30m
PR unite (30g)
25

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di publicusr/singularity

Tutte le issue di publicusr/singularity

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.