Skip to content

Conversation

@dchukhin
Copy link
Collaborator

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 an anonym homepage in Wagtail, without styling.

Significant changes and points to review

  • bedrock now uses the wagtail-thumbnail-choice-block library
  • bedrock/mozorg/models.py now has an AnonymIndexPage
  • bedrock/mozorg/blocks/anonym.py has a number of blocks that can be used on the AnonymIndexPage
  • bedrock/mozorg/templates/mozorg/cms/anonym/blocks/ has template files for the new blocks
  • media/css/mozorg/anonym.scss has CSS for the anonym pages. Right now, it's just mostly icon classes mapped to their URLs, which can be moved to a different file in the future

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 the page to match the figma designs from the JIRA ticket. Note: this pull request does NOT include the styles needed to match the designs

@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
Collaborator

localjo commented Dec 26, 2025

CSS for these components is in progress here: #16966

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