Skip to content

fix: free-form questions render a visible text input (#349) - #361

Merged
jeonghun-jj-lee merged 1 commit into
mainfrom
fix/349-text-card-textarea
Aug 12, 2026
Merged

jeonghun-jj-lee merged 1 commit into
mainfrom
fix/349-text-card-textarea

Conversation

@jeonghun-jj-lee

@jeonghun-jj-lee jeonghun-jj-lee commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Problem

When the agent asks a free-form question (kind: "text"), no textarea appears for the user to type their answer. The question text and footer buttons render, but the input area is invisible.

Root cause

The opencode commit c1e4862d (PR #143, file-reference resolution) accidentally deleted the [data-slot="question-text-form"] CSS rules that had been added by PR #124 (fix opencode#121). These rules gave the text-card textarea its:

  • border (1px solid)
  • background (layer-02 surface)
  • border-radius (radius-md)
  • min-height (36px)
  • padding (8px 12px)

Without them, the textarea inherits the choice-card's transparent/borderless custom-input style — invisible.

Fix

Restores the deleted CSS in the opencode engine (harmoniqs/opencode#191) and bumps the vendored binary pin to include it. A regression test in the opencode repo asserts the selectors remain present.

Dependencies

Once that PR merges and a release is cut, this lock should be bumped from source:"local" to source:"release" with the new tag.

Testing

  • opencode: bun test packages/session-ui/src/components/message-part-css.test.ts — 4/4 pass
  • opencode: bun test packages/app/src/pages/session/composer/session-question-dock.helpers.test.ts — 6/6 pass
  • opencode: typecheck clean (turbo)
  • amicode: vitest run test/opencode_config.test.ts — 24/24 pass
  • amicode: local binary smoke-tested (--version → 1.18.10)

Closes #349

Summary by CodeRabbit

  • Chores
    • Updated the extension package source reference and Darwin ARM64 integrity data for a local build.

The opencode commit c1e4862d (file-reference resolution, PR #143)
accidentally deleted the [data-slot="question-text-form"] CSS rules
that made the kind:"text" question textarea visible (border, background,
min-height). This lock bump pins the fix (opencode PR #191).

Source set to 'local' pending the next opencode release tag — once
harmoniqs/opencode#191 merges and a release is cut, bump back to
source:'release' with the new tag.

Closes #349
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fd1769cd-6165-4a97-82ec-6167288c5e7a

📥 Commits

Reviewing files that changed from the base of the PR and between c96865a and 098e1b0.

📒 Files selected for processing (1)
  • packages/extension/opencode.lock.json

📝 Walkthrough

Walkthrough

The opencode lockfile now uses a local source reference, a new commit, and an updated Darwin ARM64 checksum.

Changes

Opencode lock update

Layer / File(s) Summary
Update lockfile source metadata
packages/extension/opencode.lock.json
The lockfile source changed from release to local. The commit reference and Darwin ARM64 SHA-256 checksum were updated.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: jack-champagne

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/349-text-card-textarea

Comment @coderabbitai help to get the list of available commands.

@jeonghun-jj-lee
jeonghun-jj-lee marked this pull request as ready for review August 12, 2026 23:10
@jeonghun-jj-lee
jeonghun-jj-lee merged commit 3e92056 into main Aug 12, 2026
3 of 7 checks passed
@jeonghun-jj-lee
jeonghun-jj-lee deleted the fix/349-text-card-textarea branch August 12, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Free-form questions don't render a text input textarea

1 participant