Skip to content

Refactor form element dispatch - #547

Merged
chubes4 merged 1 commit into
trunkfrom
refactor/html-transformer-dispatch
Jul 6, 2026
Merged

chubes4 merged 1 commit into
trunkfrom
refactor/html-transformer-dispatch

Conversation

@chubes4

@chubes4 chubes4 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move form element dispatch out of HtmlTransformer::convertElement into FormDispatchTrait
  • Preserve existing form, search-form, data-entry fallback, runtime-island, and div-based pseudo-form behavior
  • Keep media dispatch untouched to avoid overlap with the recent media refactor

Tests

  • composer test from php-transformer

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Implemented the behavior-preserving form dispatch extraction, ran tests, and prepared the PR.

@chubes4
chubes4 merged commit b2fa225 into trunk Jul 6, 2026
1 check passed
@chubes4
chubes4 deleted the refactor/html-transformer-dispatch branch July 6, 2026 21:53
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