Skip to content

[3.x] Support replacing discovered page classes - #2609

Open
emmadesilva wants to merge 2 commits into
masterfrom
v3/page-class-replacements
Open

[3.x] Support replacing discovered page classes#2609
emmadesilva wants to merge 2 commits into
masterfrom
v3/page-class-replacements

Conversation

@emmadesilva

Copy link
Copy Markdown
Member

Summary

  • Add an early-bound API for replacing discovered page classes with application subclasses
  • Resolve replacements only when assembling the discovery registry and constructing parsed pages
  • Make file collection page-class queries polymorphic, matching page collection behavior
  • Preserve subclass-aware Blade parsing, routing, sitemap classification, and heading permalinks
  • Document behavioral replacement constraints and the exact-file-query upgrade case

Testing

  • FeatureFramework: 1,898 passed; one sandbox-only socket binding failure
  • UnitFramework: 1,934 passed; one known PHP 8.5 FeaturedImage failure
  • FeatureHyde: 6 passed
  • Focused replacement, extension, file collection, parser, route, sitemap, and permalink tests pass
  • HydeStan reports no errors

@emmadesilva
emmadesilva temporarily deployed to pr-documentation-2609 September 5, 2026 13:08 — with GitHub Actions Inactive
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cac9b84) to head (a1edd37).
⚠️ Report is 34 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master     #2609   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity      1824      1839   +15     
===========================================
  Files            184       184           
  Lines           4517      4544   +27     
===========================================
+ Hits            4517      4544   +27     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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