Skip to content

Add response copy controls and native iOS text selection - #36

Merged
eivindjonassen merged 1 commit into
mainfrom
mobile-transcript-copy
Sep 28, 2026
Merged

eivindjonassen merged 1 commit into
mainfrom
mobile-transcript-copy

Conversation

@eivindjonassen

Copy link
Copy Markdown
Member

Summary

  • Add a copy icon below assistant responses and copy controls on code blocks, with a two-second Copied confirmation and retry feedback.
  • Add an Apple-only Expo module using a non-editable, selectable UITextView for native selection handles and partial-range copying. Preserve formatting and route link taps through existing confirmation callbacks.
  • Keep Android's selectable Text renderer and provide a fallback for older iOS builds without the native module.
  • Bump runtime to 0.1.5, iOS build 8, and Android version code 7.

Verification

  • pnpm check passed, including 377 mobile tests and both Hermes exports.
  • pnpm native:doctor passed all 18 checks.
  • Apple autolinking resolves the new module.
  • Native compilation and physical-device verification are pending. Selection is scoped to each rendered text block or table cell.
  • iOS selection requires installation of a new native build; OTA alone cannot add the module.

Preview builds

Both archives were uploaded from this source before committing; EAS build metadata may reference the parent commit.

Add response and code-block copy controls with two-second feedback. Use a local Expo UITextView module for iOS selection handles and partial-range copying, preserving attributed formatting and confirmed link navigation. Retain Android selectable Text and fall back on older iOS builds.

Bump preview runtime to 0.1.5, iOS build 8, and Android version code 7. Record pending native compilation and device verification.
@eivindjonassen
eivindjonassen merged commit 4ae3883 into main Sep 28, 2026
2 checks passed
@eivindjonassen
eivindjonassen deleted the mobile-transcript-copy branch September 28, 2026 21:34
@eivindjonassen

Copy link
Copy Markdown
Member Author

Both native preview builds completed successfully: iOS 0.1.5 build 8 and Android 0.1.5 build 7. This confirms cloud native compilation; physical-device selection verification remains pending.

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.

1 participant