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

未关闭 适合新手
#64,077 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
electron, tailwindcss, typescript
领域
desktop, frontend

调研方向

在桌面应用中找到排队提示行的拖动手柄 ⠿,并检查它的光标类;issue 说 .cursor-grab 和 .active:cursor-grabbing 实用类已经存在。查看附近的拖动手柄,了解应用的惯例,然后验证悬停和拖动时会显示预期的光标。排队手柄在静止时显示抓取光标、拖动时显示正在抓取光标,即为完成。

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
TypeScript
星标
227k
派生
30.7k
平均合并
4 小时 35 分钟
30 天内合并 PR
498

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anomalyco/opencode 的其他 Issue

查看 anomalyco/opencode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。