Skip to content

feat: implement Pages CMS entity - #34

Merged
bahman026 merged 1 commit into
adminfrom
implement_pages
Jun 20, 2026
Merged

feat: implement Pages CMS entity#34
bahman026 merged 1 commit into
adminfrom
implement_pages

Conversation

@bahman026

Copy link
Copy Markdown
Owner
  • Add PageStatusEnum (DELETED/PUBLISHED/DRAFT/SCHEDULED)
  • Add create_pages_table migration (heading, slug unique, content, SEO fields, status, published_at)
  • Add Page model with MorphOne image and cascade-delete hook
  • Add PageFactory with withImage state
  • Add PageSeeder integrated into TestSeeder
  • Add PageResource with auto-slug, TinyEditor, conditional published_at (required when Scheduled), image Fieldset, hints
  • Add PageResourceTest covering CRUD and cascade image deletion
  • Update CACHE.md with pages.{slug} key and IMPLEMENTATION.md

- Add PageStatusEnum (DELETED/PUBLISHED/DRAFT/SCHEDULED)
- Add create_pages_table migration (heading, slug unique, content, SEO fields, status, published_at)
- Add Page model with MorphOne image and cascade-delete hook
- Add PageFactory with withImage state
- Add PageSeeder integrated into TestSeeder
- Add PageResource with auto-slug, TinyEditor, conditional published_at (required when Scheduled), image Fieldset, hints
- Add PageResourceTest covering CRUD and cascade image deletion
- Update CACHE.md with pages.{slug} key and IMPLEMENTATION.md

Co-authored-by: Cursor <cursoragent@cursor.com>
@bahman026
bahman026 merged commit d1edc2e into admin Jun 20, 2026
1 check passed
@bahman026
bahman026 deleted the implement_pages branch June 20, 2026 01:13
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