Skip to content

Anonym Part 11: Backend Updates#17003

Merged
kkellydesign merged 106 commits intoWT-514-anonym-homepage-cmsfrom
anonym-part-11-backend-updates-branch
Jan 29, 2026
Merged

Anonym Part 11: Backend Updates#17003
kkellydesign merged 106 commits intoWT-514-anonym-homepage-cmsfrom
anonym-part-11-backend-updates-branch

Conversation

@dchukhin
Copy link
Collaborator

@dchukhin dchukhin commented Jan 26, 2026

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

One-line summary

This pull request implements the backend changes from https://mozilla-hub.atlassian.net/browse/WT-561.

Significant changes and points to review

  • Person.description is now a RichTextField
  • TwoColumnBlock.subheading_text is now optional
  • Person now has a learn_more_link for a URL to learn more about a person
  • AnonymContactPage subheading is now editable, and users can choose form_fields in Wagtail. Note: the form still submits to the same URL (which does not handle the form submission)
  • AnonymNewsItemPages are displayed in cards on the AnonymNewsPage. If the AnonymNewsItemPage has a non-empty link, then clicking on that card takes the user to the URL; if the link field is empty, then clicking on that card takes the user to the Wagtail page.
  • AnonymCaseStudyItemPages are displayed in cards on the AnonymCaseStudyPage.
  • the LogoCardBlock has been replaced with the CaseStudyItemListBlock, which allows users to choose case studies to display in the block

Note that that AnonymNewsItemPage.link determines whether it will show up in the sitemap or not. However, it does not regenerate the sitemap; instead the sitemap will be updated the next time that the python manage.py update_sitemaps_data command is run. The same issue exists for page publishes/unpublishes. If we need to update the sitemap more frequently (like when a page is published), we will need to make that change.

Issue / Bugzilla link

WT-561

Testing

log in to wagtail, and make (or update) anonym pages to match the designs

Note: this pull request does NOT include the styles needed to match the designs

… better handle the need for other card types in the future
@dchukhin dchukhin requested review from a team as code owners January 26, 2026 20:43
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

❌ Patch coverage is 97.10145% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.18%. Comparing base (8ada3ff) to head (f9b09ac).

Files with missing lines Patch % Lines
bedrock/sitemaps/utils.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##           anonym-part-10-table-component   #17003      +/-   ##
==================================================================
+ Coverage                           81.95%   82.18%   +0.22%     
==================================================================
  Files                                 165      167       +2     
  Lines                                8804     8917     +113     
==================================================================
+ Hits                                 7215     7328     +113     
  Misses                               1589     1589              

☔ 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 Anonym part 11 backend updates branch Anonym Part 11: Backend Updates Jan 26, 2026
@dchukhin dchukhin marked this pull request as draft January 27, 2026 14:53
@dchukhin dchukhin requested a review from kkellydesign January 27, 2026 14:56
Base automatically changed from anonym-part-10-table-component to WT-514-anonym-homepage-cms January 29, 2026 23:11
* for consistency with springfield, add wagtail helper dependencies

* set up wagtail-localize-dashboard on project

* set up wagtail-localize-intentional-blanks on project

* create fixtures for tests and create test anonym pages with a management command (#17008)
@kkellydesign kkellydesign marked this pull request as ready for review January 29, 2026 23:33
@kkellydesign kkellydesign merged commit 1f0cd72 into WT-514-anonym-homepage-cms Jan 29, 2026
2 of 3 checks passed
@kkellydesign kkellydesign deleted the anonym-part-11-backend-updates-branch branch January 29, 2026 23:33
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.

2 participants