Skip to content

Colour code wagtail editor based on environment - #17339

Merged
janriokrause merged 1 commit into
mainfrom
colour-code
Aug 19, 2026
Merged

Colour code wagtail editor based on environment#17339
janriokrause merged 1 commit into
mainfrom
colour-code

Conversation

@stephaniehobson

Copy link
Copy Markdown
Contributor

One-line summary

Colour code wagtail editor based on environment.

Significant changes and points to review

I'm hoping this will help prevent taking actions on prod when we think we're on other sites. Especially with multiple tabs open.

  • add green favicon and stripe for local and dev
  • add orange favicon and stripe for stage
  • fallback to no changes for all other environments (prod)

Issue / Bugzilla link

n/a

Testing

Screenshot 2026-08-14 at 11 50 42 AM

@stephaniehobson
stephaniehobson requested review from a team as code owners August 18, 2026 20:53
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.90%. Comparing base (881724c) to head (671dcaa).

Files with missing lines Patch % Lines
bedrock/cms/utils.py 44.44% 5 Missing ⚠️
bedrock/cms/wagtail_hooks.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17339      +/-   ##
==========================================
- Coverage   82.93%   82.90%   -0.03%     
==========================================
  Files         179      180       +1     
  Lines        9377     9396      +19     
==========================================
+ Hits         7777     7790      +13     
- Misses       1600     1606       +6     

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

@janriokrause
janriokrause merged commit ae9868f into main Aug 19, 2026
6 checks passed
@janriokrause
janriokrause deleted the colour-code branch August 19, 2026 00:38
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