Skip to content

Conversation

@dchukhin
Copy link
Collaborator

@dchukhin dchukhin commented Dec 18, 2025

If this changeset needs to go into the FXC codebase, please add the WMO and FXC label.

One-line summary

This pull request makes it possible to create anonym pages in Wagtail.

Significant changes and points to review

Issue / Bugzilla link

WT-514

Testing

  1. log in to Wagtail
  2. choose to create a new page, and choose an Anonym Index Page
  3. create other anonym pages
  4. create the page to match the figma designs from the JIRA ticket

@dchukhin dchukhin requested review from a team as code owners December 18, 2025 18:12
@dchukhin dchukhin marked this pull request as draft December 18, 2025 18:12
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 98.46154% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.61%. Comparing base (911ca18) to head (c37a58b).

Files with missing lines Patch % Lines
bedrock/mozorg/blocks/anonym.py 98.19% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16958      +/-   ##
==========================================
+ Coverage   80.36%   80.61%   +0.25%     
==========================================
  Files         163      164       +1     
  Lines        9100     9230     +130     
==========================================
+ Hits         7313     7441     +128     
- Misses       1787     1789       +2     

☔ View full report in Codecov by Sentry.
📢 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.

@dchukhin dchukhin changed the title WT-514 - Anonym Homepage In CMS WT-514 - Anonym Part 1: Homepage In CMS Dec 23, 2025
@localjo
Copy link
Contributor

localjo commented Dec 26, 2025

CSS for these components is in progress here: #16966

* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* update body class to be anonym-specific

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* add a PersonCard, to allow adding cards with people's photos to the 'About' page

* add a TwoColumnBlock, to allow adding them to 'About' page

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* add a PersonCard, to allow adding cards with people's photos to the 'About' page

* add a TwoColumnBlock, to allow adding them to 'About' page

* add ability to create static pages as AnonymIndexPage children

* fill in content for static pages

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make sure AnonymStaticPage can be added in production

* make sure AnonymStaticPage is included in db export script

* make sure that there is only 1 AnonymNewsPage and 1 AnonymContactPage

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* add a PersonCard, to allow adding cards with people's photos to the 'About' page

* add a TwoColumnBlock, to allow adding them to 'About' page

* add ability to create static pages as AnonymIndexPage children

* fill in content for static pages

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make sure AnonymStaticPage can be added in production

* make sure AnonymStaticPage is included in db export script

* make sure that there is only 1 AnonymNewsPage and 1 AnonymContactPage

* add AnonymArticlePage to project, with ability to add rich text blocks to sections

* update advertising pages to pass CSS class to notification snippet

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* add a PersonCard, to allow adding cards with people's photos to the 'About' page

* add a TwoColumnBlock, to allow adding them to 'About' page

* add ability to create static pages as AnonymIndexPage children

* fill in content for static pages

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make sure AnonymStaticPage can be added in production

* make sure AnonymStaticPage is included in db export script

* make sure that there is only 1 AnonymNewsPage and 1 AnonymContactPage

* add AnonymArticlePage to project, with ability to add rich text blocks to sections

* update advertising pages to pass CSS class to notification snippet

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name

* make CMS process DRYer by updating PeopleListBlock to reference Person objects

* make sure migration has a license
@dchukhin dchukhin changed the title WT-514 - Anonym Part 1: Homepage In CMS WT-514 - Anonym Pages In CMS Jan 12, 2026
* add an AnonymTopAndBottomPage to the project

* add counter to section templates

* only show icon element if icon is set

* add CSS class to sections with 'top glow' theme

* add table block to SectionBlocks

* make sure first section heading is an h1 element, and others are h2 elements on AnonymTopAndBottomPage

* add an AnonymContentSubPage to the project

* add toggleable items component to AnonymContentSubPage

* update migration, since CardsListBlock.cards is now a StreamBlock, to better handle the need for other card types in the future

* add logo cards, to allow creating case study cards on AnonymContentSubPage

* update toggle to handle dark and light icons automatically

* add a configurable navigation to anonym pages

* make sure migration has a license

* update body class to be anonym-specific

* update body class to be anonym-specific

* add a PersonCard, to allow adding cards with people's photos to the 'About' page

* add a TwoColumnBlock, to allow adding them to 'About' page

* make sure AnonymTopAndBottomPage can be added in production

* make sure AnonymTopAndBottomPage is included in db export script

* make sure AnonymContentSubPage can be added in production

* make sure AnonymContentSubPage is included in db export script

* make instances of AnonymTopAndBottomPage more easily identifiable by setting verbose_name

* make instances of AnonymContentSubPage more easily identifiable by setting verbose_name

* Initial CSS implementation

* Match header style to Figma

Note: This attempts to reconcile differences between the Figma design and the m24 code this was based on

* Section styles

Increase fidelity of section styles to match Figma

* Card list styles

Increase fidelity of card list styles to match Figma

* Add section themes

* Add stats table styles

* Increase anonym homepage figma fidelity

---------

Co-authored-by: Dmitriy Chukhin <6025153+dchukhin@users.noreply.github.com>
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.

3 participants