desktop: queued prompt drag handle does not show a grab cursor

Aperta Adatta ai principianti
#64,077 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, tailwindcss, typescript
Ambito
desktop, frontend

Direzione di ricerca

Individua la maniglia di trascinamento ⠿ della riga del prompt in coda nell’app desktop e controlla le sue classi del cursore; l’issue dice che le utility .cursor-grab e .active:cursor-grabbing esistono già. Controlla le maniglie di trascinamento vicine per individuare la convenzione dell’app, quindi verifica che al passaggio del puntatore e durante il trascinamento vengano mostrati i cursori previsti. Il lavoro è completato quando la maniglia in coda mostra un cursore di presa a riposo e un cursore di presa attiva durante il trascinamento.

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

Descrizione

area/desktop platform/windows type/feature version/v2

Summary

The drag handle on queued/steering prompt rows shows the default arrow cursor on hover instead of a grab hand. The handle visually suggests reordering, but the cursor gives no affordance that the row can be dragged.

Environment

  • opencode version: 2.2.6
  • OS: Windows 11 (10.0.26200.9711)
  • Terminal: desktop app (Electron)
  • Shell: n/a
  • Install/channel: release desktop app
  • Active plugins: none

Reproduction

  1. Open a desktop session and queue two or more prompts while a response is running (the rows with the ⠿ drag handle shown above the composer).
  2. Hover the ⠿ handle on any queued row.
  3. Observe the cursor: it remains the default arrow.

Expected Behavior

Hovering a reorderable drag handle should show cursor: grab, and cursor: grabbing while dragging, consistent with other drag handles in the app.

Actual Behavior

The default arrow cursor remains. There is no visual indication that the handle is draggable, so the reorder interaction is undiscoverable.

Additional Context

  • The desktop app bundle already defines the .cursor-grab and .active:cursor-grabbing utility classes, so this looks like the handle element is missing the class rather than a missing style definition.
  • No plugins are configured; default configuration.
  • Screenshot shows two queued prompts, each with a ⠿ handle on the left.
Lingua principale
TypeScript
Stelle
227k
Fork
30.7k
Merge medio
4h 35m
PR unite (30g)
498

Preparare l'ambiente

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 anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.