Skip to content

Conversation

@MorayMySoc
Copy link
Contributor

@MorayMySoc MorayMySoc commented Dec 10, 2025

Change homepage placeholder text - fixes: https://github.com/mysociety/societyworks/issues/5225
Contact and privacy information - https://github.com/mysociety/societyworks/issues/5226

Please also check: dumfries-categories-and-config in server repo for:

Categories mapping https://github.com/mysociety/societyworks/issues/5254
Display asset layers from https://github.com/mysociety/societyworks/issues/5255

[skip changelog]

Creates a contact_us_phone configuration to be used in place
of contact_us_url.

If contact_us_phone exists, will not check for contact_us_url
so, if anyone decides they want both, will require a little
more development, and possibly simplifying the template as
feels a little 'tricky' at the moment.

Tests in shropshire.t should demonstrate the previous state
still working.

mysociety/societyworks#5226
@MorayMySoc MorayMySoc requested a review from davea December 10, 2025 17:29
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.62%. Comparing base (c67d862) to head (6b9ab27).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           dumfries-reviewed    #5771      +/-   ##
=====================================================
+ Coverage              82.60%   82.62%   +0.01%     
=====================================================
  Files                    458      458              
  Lines                  35697    35693       -4     
  Branches                5814     5814              
=====================================================
+ Hits                   29488    29491       +3     
+ Misses                  4517     4510       -7     
  Partials                1692     1692              

☔ 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.

[% ELSE %]
call us on: [%~ c.cobrand.feature('contact_us_phone') %]
[% END %]
</p>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realised I could remove the ~ and the non-breaking space and this should be the same

@davea
Copy link
Member

davea commented Dec 16, 2025

Branch in mysociety-servers looks good too 👍

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