desktop: queued prompt drag handle does not show a grab cursor
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- electron, tailwindcss, typescript
调研方向
在桌面应用中找到排队提示行的拖动手柄 ⠿,并检查它的光标类;issue 说 .cursor-grab 和 .active:cursor-grabbing 实用类已经存在。查看附近的拖动手柄,了解应用的惯例,然后验证悬停和拖动时会显示预期的光标。排队手柄在静止时显示抓取光标、拖动时显示正在抓取光标,即为完成。
由索引模型根据 Issue 内容生成。
描述
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
- 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). - Hover the
⠿handle on any queued row. - 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-graband.active:cursor-grabbingutility 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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
area/cli platform/windows type/bug version/v2
难度 2/5 1-3 小时 新手友好度 70/100
anomalyco/opencode#64631 · 1 条评论 ·
维护者通常 1 天内回复
-
area/desktop platform/windows type/feature version/v2
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#64566 · 1 条评论 ·
维护者通常 1 天内回复
-
area/desktop platform/windows status/repro-plausible type/bug version/v2
难度 2/5 1-3 小时 新手友好度 64/100
anomalyco/opencode#64522 · 1 条评论 ·
维护者通常 1 天内回复
-
opencode-native panics on session ID after a multibyte character可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area/tui platform/macos status/repro-plausible type/bug version/v2
难度 2/5 1-3 小时 新手友好度 79/100
anomalyco/opencode#64389 · 1 条评论 ·
维护者通常 1 天内回复
-
cli: plugin list shows - for ID of TUI-only plugins configured in cli.json可能已有人在做 @yash-alla 于 1 天前认领。 未关闭area/cli platform/windows type/feature version/v2
难度 2/5 1-3 小时 新手友好度 72/100
anomalyco/opencode#64175 · 1 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
ai-driven-qa bug claude Cosmetic
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Domain / chatbot New
难度 2/5 1-3 小时 新手友好度 65/100
Inist-CNRS/lodex#3861 ·
维护者通常 1 天内回复
-
area:agent-sdk area:docs documentation enhancement
难度 2/5 1-3 小时 新手友好度 66/100
anthropics/claude-code#110914 ·
-
approved check:passed streams:remove
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复