Skip to content

Remove the old pages system - #4814

Merged
marcoacierno merged 1 commit into
mainfrom
claude/issue-4813-20260818-1755
Aug 18, 2026
Merged

Remove the old pages system#4814
marcoacierno merged 1 commit into
mainfrom
claude/issue-4813-20260818-1755

Conversation

@marcoacierno

Copy link
Copy Markdown
Member

Everything is driven by the CMS now, so the legacy pages app is gone: the Django app, its PagesQuery/Page GraphQL types, the demo fixture, and the MenuLink.page foreign key that was its only remaining consumer.

The header query on the frontend still asked for page { slug }, but the value was never read, so it is dropped from the document too.

cms.0006_menu_menulink no longer declares the page column - its pages dependency could not survive the app removal - and a new migration cleans up the leftover column and table on already migrated databases.

Also regenerates backend/schema.graphql, which drops the Page type, the pages/page root fields and MenuLink.page.

Closes #4813

Generated with Claude Code

Everything is driven by the CMS now, so the legacy `pages` app is gone:
the Django app, its `PagesQuery`/`Page` GraphQL types, the demo fixture,
and the `MenuLink.page` foreign key that was its only remaining consumer.

The header query on the frontend still asked for `page { slug }`, but the
value was never read, so it is dropped from the document too.

`cms.0006_menu_menulink` no longer declares the `page` column (its `pages`
dependency could not survive the app removal), and a new migration cleans
up the leftover column and table on already migrated databases.

Co-authored-by: Marco Acierno <3382153+marcoacierno@users.noreply.github.com>
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pycon Error Error Aug 18, 2026 6:19pm

@marcoacierno
marcoacierno marked this pull request as ready for review August 18, 2026 18:19
@claude

claude Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Removes the legacy pages Django app/GraphQL type (superseded by the CMS), drops the now-unused MenuLink.page FK and the corresponding frontend query field, and adds a cleanup migration for already-migrated databases.

No issues found.

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.08%. Comparing base (3dd7b69) to head (ad41aa7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4814      +/-   ##
==========================================
- Coverage   93.11%   93.08%   -0.04%     
==========================================
  Files         360      356       -4     
  Lines       11238    11173      -65     
  Branches      904      902       -2     
==========================================
- Hits        10464    10400      -64     
+ Misses        663      662       -1     
  Partials      111      111              
🚀 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.

@marcoacierno
marcoacierno merged commit 470187e into main Aug 18, 2026
18 of 21 checks passed
@marcoacierno
marcoacierno deleted the claude/issue-4813-20260818-1755 branch August 18, 2026 21:42
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.

Remove old pages system

1 participant