Skip to content

Navigation Menu

Sign in
Sign up

feat: new react-embed actions - #23

Merged
bendersej merged 9 commits into
main from
new-embed-actions
Jan 17, 2026
Merged

feat: new react-embed actions #23
bendersej merged 9 commits into
main from
new-embed-actions

Conversation

@bendersej

@bendersej bendersej commented Jan 16, 2026
edited
Loading

Copy link
Copy Markdown
Member

Background

Adds new programmatic actions to the React embed component for advanced integrations.

Closes:

Changes

  • Add goTo({ page }) action to navigate to a specific page
  • Add createField({ type, page, x, y, width, height, value? }) action to programmatically create annotation fields
  • Add clearFields({ fieldIds?, page? }) action to remove fields by ID or page
  • Add getDocumentContent({ extractionMode? }) action to extract document content (supports OCR)
  • Introduce ActionResult<TData> discriminated union for typed action responses
  • Increase request timeout from 5s to 30s to support OCR extraction
  • Add test coverage
  • Update documentation

Copy link
Copy Markdown

Deploying web-embed with Cloudflare Pages Cloudflare Pages

Latest commit: 1a84d95
Status: ✅ Deploy successful!

View logs

Copy link
Copy Markdown

Deploying with Cloudflare Workers Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
simplepdf-webhooks 1a84d95 Commit Preview URL

Branch Preview URL
Jan 16 2026, 08:36 PM

bendersej marked this pull request as ready for review January 17, 2026 17:24
bendersej merged commit cae5ce6 into main Jan 17, 2026
2 checks passed
bendersej deleted the new-embed-actions branch January 17, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /