Phone webui - enter key breaks up the slash command
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
首先跟踪移动端 Web UI 的斜杠命令输入和命令停靠栏的行为,然后将其与 pull request #61773 引入的更改进行比较。在移动版 Chrome 中输入/compa并按 Enter,以重现问题。高亮的命令能够执行,且不会插入换行或取消斜杠命令时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Description
After experiencing https://github.com/anomalyco/opencode/issues/62647 on the desktop, I realized that slash commands are canceled and broken into a new line by pressing enter. I reproduced the same on webui on mobile chrome.
I think it was introduced in https://github.com/anomalyco/opencode/pull/61773.
Fix request:
On mobile Enter should not break the line if we started typing a slash command and the command dock is displayed.
Plugins
No response
OpenCode version
2.4.3
Steps to reproduce
- Start webserver and open it on mobile
- Start typing
/compausing virtual keyboard. - Press Enter
The highlighted command doesn't execute.
Screenshot
No response
Operating System
opencode served on Windows, Android + Chrome mobile client.
Terminal
No response
- 主要语言
- TypeScript
- 星标
- 230k
- 派生
- 31.3k
- 平均合并
- 6 小时
- 30 天内合并 PR
- 528
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
area/web platform/windows type/bug version/v2
难度 2/5 1-3 小时 新手友好度 65/100
anomalyco/opencode#68237 · 1 条评论 ·
维护者通常 1 天内回复
-
Sidebar width未关闭area/desktop triaging type/bug
难度 2/5 1-3 小时 新手友好度 65/100
anomalyco/opencode#68206 · 1 条评论 ·
维护者通常 1 天内回复
-
area/desktop inference/go platform/macos type/bug version/v2
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#68121 · 1 条评论 ·
维护者通常 1 天内回复
-
area/providers inference/free-tier inference/go platform/windows status/repro-plausible type/bug version/v2
难度 2/5 1-3 小时 新手友好度 76/100
anomalyco/opencode#68063 · 1 条评论 ·
维护者通常 1 天内回复
-
area/core platform/windows type/feature version/v2
难度 2/5 1-3 小时 新手友好度 67/100
anomalyco/opencode#68036 · 1 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Chocobozzz/PeerTube#7901 ·
维护者通常 3 天内回复
-
area:tools bug has repro
难度 2/5 1-3 小时 新手友好度 86/100
anthropics/claude-code#113984 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ehmpathy/declapract-typescript-ehmpathy#960 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 78/100
laststance/design-world#34 ·
维护者通常 1 天内回复