Skip to content

#817 Make question custom answer multiline and scrollable - #818

Merged
ivanfenenko merged 1 commit into
mainfrom
fix/817-question-custom-answer-scroll
Oct 24, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
fix/817-question-custom-answer-scroll

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Question custom answer is now multiline (3-5 lines, then scrolls) on iOS and Android instead of single-line.
  • iOS multiline focus ring now highlights while editing.

Checks

  • Android :app:testDebugUnitTest (OpenCodeTextInputTest, QuestionRequestSupportTest): pass.
  • Android :app:assembleDebug: pass.
  • iOS QuestionCustomSnapshotEvidence (throwaway): 4/4 passed; PNGs show the question card with the custom option selected. Note: ImageRenderer cannot flatten the UIKit multiline text view, so the field box renders as a placeholder in snapshots (harness limitation, pre-existing).
  • Android Paparazzi not run: :screenshot module does not compile on main (OpenCodeFileTypeIconTables imports dev.opencode.mobile.R, pre-existing breakage from #771 File-type icons in @ mentions and the File Browser #772). Android evidence is build + unit tests.

Evidence

Issue

Risks / Follow-ups

  • Android on-device visual not captured (Paparazzi broken on main, pre-existing). Worth a follow-up to fix :screenshot R import, then re-capture Android snapshots.
  • iOS snapshot placeholder for UITextView is a harness limitation, not a UI regression.

@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Evidence for #817 (question custom answer is now multiline/scrollable):

  • Snapshot page: http://ivan-m2.local:8787/2026-10-24/2016-817-question-custom-answer-snapshots/
  • Contents: ios-isolated-light/dark + ios-in-session-light/dark of the question composer with the custom option selected and a long answer.
  • Known harness limits (not regressions):
    • iOS ImageRenderer cannot flatten the UIKit multiline text view, so the field renders as a placeholder box in these snapshots. The focus/border fix is covered by code + existing input tests.
    • Android Paparazzi :screenshot does not compile on main (pre-existing: OpenCodeFileTypeIconTables imports dev.opencode.mobile.R since #771 File-type icons in @ mentions and the File Browser #772). Android covered by :app:assembleDebug pass + OpenCodeTextInputTest / QuestionRequestSupportTest pass.

@ivanfenenko ivanfenenko added the in-progress Implementation started, work still incomplete label Oct 24, 2026
@ivanfenenko
ivanfenenko marked this pull request as ready for review October 24, 2026 18:21
@ivanfenenko
ivanfenenko merged commit fa2b1e6 into main Oct 24, 2026
4 checks passed
@ivanfenenko
ivanfenenko deleted the fix/817-question-custom-answer-scroll branch October 24, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-progress Implementation started, work still incomplete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session Chat: question custom answer scrolls and resizes

1 participant