Skip to content

fix(php-transformer): recognize captured slideshow controls - #1604

Merged
chubes4 merged 2 commits into
trunkfrom
fix/cindy-parallel-testimonials
Sep 9, 2026
Merged

fix(php-transformer): recognize captured slideshow controls#1604
chubes4 merged 2 commits into
trunkfrom
fix/cindy-parallel-testimonials

Conversation

@chubes4

@chubes4 chubes4 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Scope

Add regression coverage for existing camel-cased carousel control recognition across generic metadata signals, including data-testid, and retain image-slide text when no explicit caption fields are present.

The transformer remains platform-agnostic: recognition is based on control and slideshow semantics, not a platform-specific branch.

Verification

  • composer validate --strict
  • composer test
  • php tests/contract/production-acceptance-matrix.php

The authored-carousel regression includes camel-cased previous/next control IDs, text-rich captured slide states, responsive counterparts, and serialized copy retention. A bounded two-slide DLA capture input compiles to custom/authored-carousel with slideshow presentation, two slides, and both testimonial strings.

Runtime Coverage

The existing native authored-carousel companion provides frontend controls through the WordPress Interactivity API. This PR proves recognition and block serialization only. It does not claim browser playback, responsive visual parity, or full-site import completion.

The DLA multi-state capture prerequisite is now landed upstream; this PR consumes its generic captured markup without modifying DLA.

AI Assistance

GPT-5.6 Terra via OpenCode was used to inspect the merge, resolve the implementation, and run verification. GPT-6 Astra via OpenCode orchestrated the work. Chris Huber remains responsible for the submitted changes.

@chubes4
chubes4 marked this pull request as draft September 8, 2026 08:57
…estimonials

# Conflicts:
#	php-transformer/src/HtmlToBlocks/HtmlCompilation.php
@chubes4
chubes4 marked this pull request as ready for review September 9, 2026 17:41
@chubes4
chubes4 merged commit e04b10f into trunk Sep 9, 2026
34 of 40 checks passed
@chubes4
chubes4 deleted the fix/cindy-parallel-testimonials branch September 9, 2026 18:24
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