Composer: let a pending question fold instead of only closing

オープン
#293 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile-dev

調査の方向性

Start by finding the composable that renders the pending-question card in the transcript, and the permission-prompt card next to it that already folds — that pair is the model for this change. Hoist a fold state on the question card so folding keeps the pending request and any entered answer, then render the folded one-line form with the question text and an expand affordance. The ✕ path needs a confirmation step before it cancels. Done when folding and expanding round-trips without losing the request or typed answer, and cancelling only happens after confirming.

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

説明

When the agent asks a question, it shows up as a card in the transcript. The only control on that card is the ✕, and the ✕ cancels the request. There is no way to fold the card, read the agent's message above it, and then come back to answer. Permission prompts do fold, so the behaviour is inconsistent between the two.

Why it matters

I answer questions by voice. While the card is open, it and the keyboard take the bottom of the screen, and the text the question refers to is off-screen. The choice is between cancelling the question and answering blind.

What I'd like

  1. A fold control on the question card: folded, it becomes one line with the question text and an expand affordance.
  2. Folding must not cancel: the question stays pending, entered answers are kept, expanding restores them.
  3. ✕ keeps cancelling, but asks for confirmation first — it reads as "close this window" while it actually dismisses the agent's request.

Environment

  • OpenCode 0.8.0 (Google Play), Android 13 (MIUI 14.0.8), Redmi Note 10 Pro.
  • For comparison: in another Android client the same panel has a chevron, folds down, and unfolds without losing the request.
主要言語
Kotlin
スター
146
フォーク
35
平均マージ
7時間 41分
マージ済み PR(30日)
221

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

anomalyco/opencode-android のほかの issue

anomalyco/opencode-android の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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