Skip to content

web: fix British spellings flagged by cspell - #22820

Merged
GirlBossRush merged 1 commit into
mainfrom
cspell/british-frontend
Jun 3, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
cspell/british-frontend

Conversation

@GirlBossRush

Copy link
Copy Markdown
Contributor

Part of enabling a cspell rule that rejects British spellings in favor of American variants.

This PR fixes the frontend (@goauthentik/frontend) portion: 10 files under web/.

  • Renames the PFColor.Grey enum member to Gray (all references updated) and the FONT_COLOUR_* / fontColour chart identifiers to FONT_COLOR_* / fontColor.
  • PatternFly's upstream pf-m-grey CSS class string is intentionally left unchanged.
  • American spellings in comments and one UI label string.

tsc --noEmit passes; renames are self-contained within web/.

Merge order

This is one of three independent cleanup PRs (docs / backend / frontend). They can merge in any order. The PR that actually activates the cspell rule (#ENABLE) must merge last, after all three cleanups land, or CI will fail on pre-existing British spellings.

🤖 Generated with Claude Code

Rename the PFColor.Grey enum member to Gray and the FONT_COLOUR_*/fontColour chart identifiers to FONT_COLOR_*/fontColor (PatternFly's pf-m-grey CSS class is left as-is), plus American spellings in comments and a UI string. Part of enabling cspell's British-spelling rule; the rule itself lands in a separate PR once all areas are clean.

Co-Authored-By: Playpen Agent <[email protected]>
@GirlBossRush
GirlBossRush requested a review from a team as a code owner June 3, 2026 14:36
@GirlBossRush GirlBossRush mentioned this pull request Jun 3, 2026
3 tasks done
@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 1fc8384
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a203c10c1c5100008749ae7
😎 Deploy Preview https://deploy-preview-22820--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 1fc8384
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a203c106e59780008f18880
😎 Deploy Preview https://deploy-preview-22820--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (d639c03) to head (1fc8384).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22820      +/-   ##
==========================================
- Coverage   93.27%   93.25%   -0.03%     
==========================================
  Files        1033     1033              
  Lines       60150    60150              
  Branches      400      400              
==========================================
- Hits        56107    56094      -13     
- Misses       4043     4056      +13     
Flag Coverage Δ
conformance 36.56% <ø> (+<0.01%) ⬆️
e2e 41.81% <ø> (+<0.01%) ⬆️
integration 32.51% <ø> (-0.49%) ⬇️
rust 0.00% <ø> (ø)
unit 92.23% <ø> (+<0.01%) ⬆️
unit-migrate 92.27% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-1fc8384c6c376685ed9d202eb4df37a81dcb1888
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-1fc8384c6c376685ed9d202eb4df37a81dcb1888

Afterwards, run the upgrade commands from the latest release notes.

@GirlBossRush
GirlBossRush merged commit d2cc7d4 into main Jun 3, 2026
110 checks passed
@GirlBossRush
GirlBossRush deleted the cspell/british-frontend branch June 3, 2026 17:26
dominic-r pushed a commit that referenced this pull request Jun 4, 2026
Rename the PFColor.Grey enum member to Gray and the FONT_COLOUR_*/fontColour chart identifiers to FONT_COLOR_*/fontColor (PatternFly's pf-m-grey CSS class is left as-is), plus American spellings in comments and a UI string. Part of enabling cspell's British-spelling rule; the rule itself lands in a separate PR once all areas are clean.

Co-authored-by: Playpen Agent <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Jun 30, 2026
* main: (175 commits)
  web: fix British spellings flagged by cspell (#22820)
  web: Flesh out frontend, E2E, agent instructions. (#22388)
  root: update gen-changelog to filter unnecessary commits (#22550)
  root: gitignore release generation artifacts (#22549)
  sources/oauth: Fallback to `id` field when `sub` is missing in OIDC callback (#22672)
  translate: Updates for project authentik and language fr_FR (#22687)
  ci: replace deprecated app-id with client-id for actions/create-github-app-token (#22799)
  web: bump @playwright/test from 1.59.1 to 1.60.0 in /web (#22476)
  web: bump the storybook group across 1 directory with 5 updates (#22653)
  website/docs: add oidc issuer information (#22556)
  ci: bump snok/container-retention-policy from 3.0.1 to 3.1.0 (#22778)
  website: bump the build group across 1 directory with 9 updates (#22669)
  web: bump knip from 6.12.0 to 6.14.1 in /web (#22657)
  ci: update ubuntu version of ARM runners (#22798)
  core: bump openapitools/openapi-generator-cli from v7.20.0 to v7.22.0 in /packages/client-go (#22573)
  core: bump axllent/mailpit from v1.30.0 to v1.30.1 in /tests/e2e (#22747)
  core: bump goauthentik/fips-python from `33d1ed9` to `7a06339` in /lifecycle/container (#22676)
  ci: explicitly exit Node lint scripts to fix CI hang (#22794)
  core: bump openapitools/openapi-generator-cli from v7.21.0 to v7.22.0 in /packages/client-ts (#22575)
  core: bump django-stubs[compatible-mypy] from 6.0.4 to 6.0.5 (#22748)
  ...
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