feat: Storefront Components#16486
Open
Philipp Schuch (Phil23) wants to merge 16 commits into
Open
Conversation
OpenAPI Snapshotℹ️ shopware/store-api — schema identical to base trunkℹ️ shopware/admin-api — schema identical to base trunk📋 Additional Information |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## trunk #16486 +/- ##
==========================================
+ Coverage 63.01% 63.22% +0.21%
==========================================
Files 4846 4852 +6
Lines 176514 177050 +536
Branches 9984 9984
==========================================
+ Hits 111223 111939 +716
+ Misses 62354 62174 -180
Partials 2937 2937
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fb891d0 to
198fc8d
Compare
|
3938918 to
0780156
Compare
Nicolas Fortier (nfortier-shopware)
approved these changes
May 18, 2026
Michael Telgmann (mitelg)
requested changes
May 18, 2026
701b23d to
0d808c2
Compare
Michael Telgmann (mitelg)
approved these changes
May 19, 2026
Martin Bens (SpiGAndromeda)
approved these changes
May 19, 2026
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.
Storefront Components
This PR is a further iteration of the previously reverted change: #15651
This change introduces the Storefront Component System, which is a foundation for the upcoming content system and a new, unified extensibility surface for the Storefront. It is built on top of Symfony UX Twig Components and additional asset handling for component script and style files.
It combines four tightly related tracks of work:
<twig:Sw:Button />) with automatic component namespace registration for bundles.ShopwareComponent) and globalwindow.Shopwareorchestration/event API.Major Decision
The biggest change compared to the initial pull request is the decision to not use PHP-based compiling for component assets. All component script and style files are compiled during build time with a new Node-based build process using Vite. Component assets are copied as theme-agnostic files with the usual asset process of Shopware. The files are served via an import map, which is still stored per theme in the theme runtime config.
The full decision is documented in the corresponding ADR.
SaaS PR: https://github.com/shopware/saas/pull/550
Docs PR: shopware/docs#2283