Skip to content

docs: document Custom UI comment and viewport APIs#3706

Merged
caio-pizzol merged 4 commits into
mainfrom
caio/docs-custom-ui-api-coverage
Jun 10, 2026
Merged

docs: document Custom UI comment and viewport APIs#3706
caio-pizzol merged 4 commits into
mainfrom
caio/docs-custom-ui-api-coverage

Conversation

@caio-pizzol

Copy link
Copy Markdown
Contributor

Documents the Custom UI APIs that landed with the recent comment and viewport work.

  • Adds concise docs for ui.comments.setActive, pendingSelection, ui.viewport.observe, ui.viewport.getScrollContainer, and body text-range getRect.
  • Updates Custom UI demo overlays/popovers to remeasure through ui.viewport.observe instead of manual DOM listeners.
  • Removes stale wording that said text-range getRect was deferred.

Verified:

  • pnpm --prefix apps/docs check:em-dashes
  • pnpm --prefix apps/docs check:imports
  • pnpm --prefix apps/docs test:examples
  • pnpm check:public:superdoc

@caio-pizzol
caio-pizzol requested a review from a team as a code owner June 10, 2026 20:05
@github-actions

Copy link
Copy Markdown
Contributor

@caio-pizzol
caio-pizzol merged commit ba85912 into main Jun 10, 2026
24 checks passed
@caio-pizzol
caio-pizzol deleted the caio/docs-custom-ui-api-coverage branch June 10, 2026 21:37
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