chore: page-components clean up (#1790)
* chore: clean up
* chore: clean up
* chore: more clean up
* refactor: external to static page component type
* fix: tsc
* fix: sync
* chore: form-components
* refactor: move configuration to page components
* fix: nullable
* fix: tsc
* chore: constraint db migration
* chore: events
* chore: third-party
* chore: add warning on component removal
* chore: add docs
* chore: remove migration note
* fix: logger
* refactor: migrate getPageBySlug to statusPage router with pageComponents
Move `getPageBySlug` from page router to statusPage router and refactor
to use the modern pageComponents architecture with a single database query.
Changes:
- Add `selectPublicPageLightSchemaWithRelation` schema with pageComponents support
- Implement `statusPage.getPageBySlug` procedure with optimized single query
- Deprecate `page.getPageBySlug` with JSDoc notice
- Update consumers (feed routes, OG image) to use new procedure
- Add comprehensive tests for pageComponents architecture
- Maintain backwards compatibility with legacy monitors array
Performance: Reduces 7 DB queries to 1 query (~50-60% faster)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore: remove test
* fix: test
* chore: public status
* fix: tests
* ci: apply automated fixes
* chore: add limits
* chore: product page
* chore: clean up
* ci: apply automated fixes
* fix: unsubscribed users
* fix: missing components in pricing
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
authored by