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

Offen Anfängerfreundlich
#64,077 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, tailwindcss, typescript
Bereich
desktop, frontend

Rechercherichtung

Finde den Drag-Handle ⠿ der eingereihten Prompt-Zeile in der Desktop-App und prüfe seine Cursor-Klassen; laut Issue sind die Utilities .cursor-grab und .active:cursor-grabbing bereits vorhanden. Prüfe benachbarte Drag-Handles, um die Konvention der App zu ermitteln, und verifiziere anschließend, dass beim Darüberfahren und Ziehen die erwarteten Cursor angezeigt werden. Fertig ist es, wenn der eingereihte Handle im Ruhezustand einen Grab-Cursor und während des Ziehens einen Grabbing-Cursor zeigt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
227k
Forks
30.7k
Ø Merge
4 Std. 35 Min.
Gemergte PRs (30 T.)
498

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus anomalyco/opencode

Alle Issues in anomalyco/opencode

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.