Phone webui - enter key breaks up the slash command

オープン 初心者向け
#67,835 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
frontend, mobile

調査の方向性

まず、モバイルWeb UIのスラッシュコマンド入力とコマンドドックの動作を追い、その後、pull request #61773で導入された変更と比較してください。モバイル版Chromeで/compaと入力してEnterキーを押し、問題を再現します。ハイライトされたコマンドが、改行を挿入したりスラッシュコマンドをキャンセルしたりせずに実行されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area/web platform/android platform/windows type/feature version/v2
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
  1. Start webserver and open it on mobile
  2. Start typing /compa using virtual keyboard.
  3. 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時間
マージ済み PR(30日)
528

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。