refactor: extract infrastructure and config changes for pricing page - #428
Merged
Merged
Conversation
vitormattos
force-pushed
the
refactor/extract-pricing-infrastructure
branch
3 times, most recently
from
July 7, 2026 20:02
461b27b to
5f8da66
Compare
vitormattos
added a commit
that referenced
this pull request
Jul 7, 2026
Add pricing page user interface: Templates: - source/pricing.blade.php: Complete pricing page with product comparison table and sticky header for mobile responsiveness Styles: - source/_assets/scss/_pricing.scss: Pricing page responsive design with mobile-first approach and dynamic cell styling JavaScript: - source/_assets/js/pages/pricing.js: Pricing page interactions and logic The pricing page uses WooCommerce API to fetch and display product information with locale-aware pricing, product transformations, and dynamic styling. Depends on infrastructure changes in PR #428. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
vitormattos
force-pushed
the
refactor/extract-pricing-infrastructure
branch
from
July 7, 2026 20:04
5f8da66 to
c69f5c6
Compare
vitormattos
added a commit
that referenced
this pull request
Jul 7, 2026
Add pricing page user interface: Templates: - source/pricing.blade.php: Complete pricing page with product comparison table and sticky header for mobile responsiveness Styles: - source/_assets/scss/_pricing.scss: Pricing page responsive design with mobile-first approach and dynamic cell styling JavaScript: - source/_assets/js/pages/pricing.js: Pricing page interactions and logic The pricing page uses WooCommerce API to fetch and display product information with locale-aware pricing, product transformations, and dynamic styling. Depends on infrastructure changes in PR #428. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Adds infrastructure required for pricing page deployment: Configuration & Build: - config.php: Wire pricing page data provider and WooCommerce services - docker-compose.yml: Add WooCommerce environment variables (WC_CONSUMER_KEY, WC_CONSUMER_SECRET) Core Pricing Classes: - WooCommerceAuthHeadersBuilder: Construct authenticated API headers - WooCommerceProductCollection: Fetch and manage product collections - WooCommerceProductTransformer: Transform WooCommerce product data - PricingPageBuilder: Orchestrate pricing page data preparation - PricingStyleBuilder: Build dynamic pricing styles Complete Test Suite: - PricingPageBuilderTest - PricingStyleBuilderTest - WooCommerceAuthHeadersBuilderTest - WooCommerceProductCollectionTest - WooCommerceProductTransformerTest This commit includes all infrastructure needed for pricing page deployment but excludes the pricing page template (pricing.blade.php), pricing styles (_pricing.scss), and pricing page JavaScript (pages/pricing.js), which are deployed separately. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
vitormattos
force-pushed
the
refactor/extract-pricing-infrastructure
branch
from
July 7, 2026 20:06
c69f5c6 to
9b01e4f
Compare
vitormattos
added a commit
that referenced
this pull request
Jul 7, 2026
Add pricing page user interface: Templates: - source/pricing.blade.php: Complete pricing page with product comparison table and sticky header for mobile responsiveness Styles: - source/_assets/scss/_pricing.scss: Pricing page responsive design with mobile-first approach and dynamic cell styling JavaScript: - source/_assets/js/pages/pricing.js: Pricing page interactions and logic The pricing page uses WooCommerce API to fetch and display product information with locale-aware pricing, product transformations, and dynamic styling. Depends on infrastructure changes in PR #428. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
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.
Problem
The
feat/pricing-refactor-v2branch contains both infrastructure/configuration changes and pricing page implementation changes. To deploy infrastructure changes independently without shipping the pricing page, these need to be separated.Solution
Extracted all infrastructure and configuration changes into a separate PR:
Changes Included
Infrastructure & Configuration:
Structural Changes:
Benefits
Next Steps
After this PR merges, the
feat/pricing-refactor-v2branch can be rebased to keep only pricing-specific code:source/pricing.blade.php)support/Pricing/*)source/_assets/scss/_pricing.scss)source/_assets/js/pages/pricing.js)tests/Unit/Support/Pricing/*)source/index.blade.php)