Repository navigation
Conversation
apps/content-blocks-sylius-shop-sandbox is Sylius-Standard 2.3 with the Sylius plugin, i18n and SEO from the path repositories: - `make up DEMO=shop` (port 8006) installs it, loads Sylius's default fixtures, then app:demo:load: the Fashion homepage built with the builder, an About us page in English and French, a size guide on a product. - Admin assets built by its own Encore config; Flex wrote the controllers. Two monorepo artefacts are commented in place (resolve.modules, a pinned webpack). playwright.sylius.config.js (port 8007, `_e2e` database) runs three specs on it: the homepage replaced by chosen products, a CMS page created and served by slug, a product's content previewed on its page. CI job sylius-e2e-tests gates the split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sylius's default fixtures purge sylius_core.images_dir on load. The e2e reset loaded them into the `_e2e` database but the shared public/media/image, so every run deleted the demo's product images and the demo showed broken images. The directory now takes SANDBOX_SUFFIX, like the database and the uploads; demo.sh empties each sandbox's own upload directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
slider.js now gives its arrows, dots and ARIA roles to any element with data-cb-slider and a data-cb-slider-track child, so a block gets the section slider's controls without a second implementation. The controls are redrawn: round tinted arrows with a chevron icon, dots drawn by ::before with the current one stretched into a pill. Stops now end at the last slide's edge: a slide's negative margin made an extra dot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Catalog blocks are swapped in place in the builder's preview: the Live add-to-cart form and the carousel attach to injected markup. - The product carousel is a core slider host: arrows, dots, no scrollbar. - With klehm/content-blocks-media: routes under the admin prefix, and shop administrators manage the library unless the host names its manager. - Shop sandbox: the media package, a slider section and a Lookbook folder seeded from Sylius's own fixture photos (no network at seed time). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The builder's images go through the shop's LiipImagine: WebP sized for their box with a srcset, media library thumbnails included. Files outside public/, SVG and GIF pass through; images: false turns it off. - The new slider look moves from the core to a plugin stylesheet, linked by a hookable: the core's controls are back to what they were. The core keeps the slider on any host and the extra-dot fix. - AdminMediaManagerPass becomes DefaultAliasPass, used for both seams. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The locales service called its provider as soon as the container built it, and some twenty services take it, the block renderer among them: booting anything that touches Twig ran the provider. A provider reading the database (the Sylius plugin's) then broke every console command run without one, cache:clear in a composer install included.
composer audit flagged six advisories published against Sylius < 2.3.2.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #96. Merge that one first; GitHub will then retarget this PR to
master.What
apps/content-blocks-sylius-shop-sandbox: a Sylius-Standard 2.3 shop with the Sylius plugin, i18n and SEO installed from the path repositories.make up DEMO=shopserves it on port 8006. On the first run it loads Sylius'sdefaultfixtures, thenapp:demo:load, which adds:resolve.modulesand a pinned webpack (the latest webpack breaks@symfony/stimulus-bridge3.2).Playwright suite
playwright.sylius.config.js(port 8007,_e2edatabase, 3 specs):The CI job
sylius-e2e-testsgates the split.Found along the way
The bugs below are fixed in #96: running the plugin in a real shop exposed them, where
sylius/test-applicationhid them.ux_live_componentroute.Tests
3/3 Playwright specs pass locally. PHPUnit passes 71/71 on Sylius 2.0, 2.1, 2.2 and 2.3.
🤖 Generated with Claude Code