Skip to content

Conversation

@charley-oai
Copy link
Collaborator

Summary

  • Make TextElement placeholders private and add a text-backed accessor to avoid assuming Some.
  • Since they are optional in the protocol, we want to make sure any accessors properly handle the None case (getting the placeholder using the byte range in the text)
  • Preserve placeholders during protocol/app-server conversions using the accessor fallback.
  • Update TUI composer/remap logic and tests to use the new constructor/accessor.

@charley-oai charley-oai force-pushed the bubblewrap-text-element-type branch from 0652f0b to d1e0360 Compare January 20, 2026 20:44
@charley-oai charley-oai marked this pull request as ready for review January 20, 2026 21:02
@charley-oai
Copy link
Collaborator Author

@codex review this

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8d2fb5fb1e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@charley-oai charley-oai marked this pull request as draft January 20, 2026 21:09
@charley-oai charley-oai marked this pull request as ready for review January 20, 2026 21:58
@charley-oai charley-oai merged commit be9e55c into main Jan 20, 2026
32 checks passed
@charley-oai charley-oai deleted the bubblewrap-text-element-type branch January 20, 2026 22:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants