Skip to content

web/elements: rename ak-codemirror to ak-code-editor - #27406

Merged
GirlBossRush merged 1 commit into
mainfrom
web/code-editor-rename
Nov 4, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
web/code-editor-rename

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR is in preparation for a switch from CodeMirror to Monaco. The changes here are entirely cosmetic to reduce the changes in #27407 to the actual swap.

  • Renamed <ak-codemirror> to <ak-code-editor>.
  • Moved #elements/CodeMirror to #elements/CodeEditor.

@GirlBossRush
GirlBossRush added this pull request to stack #27412 November 2, 2026 03:21
@netlify

netlify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit dd3790b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aeb65ef2f0d1b88d81a9fd0
😎 Deploy Preview https://deploy-preview-27406--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 Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (b9e1016) to head (dd3790b).
⚠️ Report is 10 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27406      +/-   ##
==========================================
- Coverage   93.00%   92.97%   -0.04%     
==========================================
  Files        1226     1226              
  Lines       85284    85284              
  Branches     4894     4894              
==========================================
- Hits        79322    79296      -26     
- Misses       5875     5901      +26     
  Partials       87       87              
Flag Coverage Δ
conformance 30.57% <ø> (+<0.01%) ⬆️
e2e 35.30% <ø> (+<0.01%) ⬆️
integration 27.72% <ø> (-0.32%) ⬇️
rust 51.12% <ø> (ø)
unit 94.54% <ø> (+<0.01%) ⬆️
unit-migrate 94.55% <ø> (ø)

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

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

@GirlBossRush
GirlBossRush marked this pull request as ready for review November 2, 2026 03:33
@GirlBossRush
GirlBossRush requested a review from a team as a code owner November 2, 2026 03:33
@GirlBossRush GirlBossRush self-assigned this Nov 2, 2026
@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Nov 2, 2026
@GirlBossRush GirlBossRush added this to the Release 2026.11.0 milestone Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 41874176879 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dd3790bec032e78cab10ff375ddde15407e40a41
# Distroless image: AUTHENTIK_TAG=gh-dd3790bec032e78cab10ff375ddde15407e40a41-distroless
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-dd3790bec032e78cab10ff375ddde15407e40a41
        # Distroless image: tag: gh-dd3790bec032e78cab10ff375ddde15407e40a41-distroless

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

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Much rename. Very complex. Wow.

Anyway, I have built and linted this branch, and it runs, there are no type checks or import failures. All good.

Name the element after what it is, not the library behind it, ahead of
replacing CodeMirror.

- Rename `<ak-codemirror>` to `<ak-code-editor>`
- Move `#elements/CodeMirror` to `#elements/CodeEditor`
- Rename `CodeMirrorMode` and the source helpers to match

Co-authored-by: Dominic R <[email protected]>
@GirlBossRush
GirlBossRush force-pushed the web/code-editor-rename branch from a5605a8 to dd3790b Compare November 4, 2026 17:05
@GirlBossRush
GirlBossRush enabled stacked auto-merge (squash) November 4, 2026 17:09
@GirlBossRush
GirlBossRush merged commit 7961cc5 into main Nov 4, 2026
170 checks passed
@GirlBossRush
GirlBossRush deleted the web/code-editor-rename branch November 4, 2026 17:50
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (313 commits)
  web/admin: fix ldap source parent group form (#26421)
  stages/prompt: preserve empty initial values (#25148)
  core: batch expired cache and channel record cleanup (#27587)
  web: bump mermaid from 11.16.0 to 12.3.0 in /website (#27598)
  ci: bump taiki-e/install-action from 2.89.0 to 2.89.1 in /.github/actions/setup (#27630)
  core: bump goauthentik/fips-python from `d4c46c4` to `69e7058` in /lifecycle/container (#27626)
  ci: bump AndreKurait/docker-cache from 0.7.0 to 0.7.1 in /.github/actions/setup (#27628)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 in /.github/actions/setup (#27629)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 (#27627)
  providers/oauth2: sign tokens with ML-DSA keys (#27172)
  sources/oauth: verify ML-DSA signed tokens (#27170)
  web: bump postcss from 8.5.18 to 8.5.32 in /website (#27602)
  web: bump postcss from 8.5.16 to 8.5.32 in /web (#27604)
  web/element: fix missing line break between elapsed time and displayed time. (#27624)
  web/elements: rename ak-codemirror to ak-code-editor (#27406)
  website/integrations: add Google Cloud Workforce Identity Federation guide (#27571)
  root: test that FIPS mode refuses non-approved algorithms (#27536)
  web: bump nanoid from 3.3.16 to 3.3.20 in /website (#27599)
  web: bump baseline-browser-mapping from 2.10.43 to 2.11.35 in /website (#27600)
  web: bump mermaid from 11.16.1 to 11.17.2 in /web (#27603)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (1729 commits)
  web/admin: fix ldap source parent group form (#26421)
  stages/prompt: preserve empty initial values (#25148)
  core: batch expired cache and channel record cleanup (#27587)
  web: bump mermaid from 11.16.0 to 12.3.0 in /website (#27598)
  ci: bump taiki-e/install-action from 2.89.0 to 2.89.1 in /.github/actions/setup (#27630)
  core: bump goauthentik/fips-python from `d4c46c4` to `69e7058` in /lifecycle/container (#27626)
  ci: bump AndreKurait/docker-cache from 0.7.0 to 0.7.1 in /.github/actions/setup (#27628)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 in /.github/actions/setup (#27629)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 (#27627)
  providers/oauth2: sign tokens with ML-DSA keys (#27172)
  sources/oauth: verify ML-DSA signed tokens (#27170)
  web: bump postcss from 8.5.18 to 8.5.32 in /website (#27602)
  web: bump postcss from 8.5.16 to 8.5.32 in /web (#27604)
  web/element: fix missing line break between elapsed time and displayed time. (#27624)
  web/elements: rename ak-codemirror to ak-code-editor (#27406)
  website/integrations: add Google Cloud Workforce Identity Federation guide (#27571)
  root: test that FIPS mode refuses non-approved algorithms (#27536)
  web: bump nanoid from 3.3.16 to 3.3.20 in /website (#27599)
  web: bump baseline-browser-mapping from 2.10.43 to 2.11.35 in /website (#27600)
  web: bump mermaid from 11.16.1 to 11.17.2 in /web (#27603)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (28 commits)
  events: bundle DB-IP Lite GeoIP databases instead of MaxMind GeoLite2 (#27102)
  web/admin: fix ldap source parent group form (#26421)
  stages/prompt: preserve empty initial values (#25148)
  core: batch expired cache and channel record cleanup (#27587)
  web: bump mermaid from 11.16.0 to 12.3.0 in /website (#27598)
  ci: bump taiki-e/install-action from 2.89.0 to 2.89.1 in /.github/actions/setup (#27630)
  core: bump goauthentik/fips-python from `d4c46c4` to `69e7058` in /lifecycle/container (#27626)
  ci: bump AndreKurait/docker-cache from 0.7.0 to 0.7.1 in /.github/actions/setup (#27628)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 in /.github/actions/setup (#27629)
  ci: bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 (#27627)
  providers/oauth2: sign tokens with ML-DSA keys (#27172)
  sources/oauth: verify ML-DSA signed tokens (#27170)
  web: bump postcss from 8.5.18 to 8.5.32 in /website (#27602)
  web: bump postcss from 8.5.16 to 8.5.32 in /web (#27604)
  web/element: fix missing line break between elapsed time and displayed time. (#27624)
  web/elements: rename ak-codemirror to ak-code-editor (#27406)
  website/integrations: add Google Cloud Workforce Identity Federation guide (#27571)
  root: test that FIPS mode refuses non-approved algorithms (#27536)
  web: bump nanoid from 3.3.16 to 3.3.20 in /website (#27599)
  web: bump baseline-browser-mapping from 2.10.43 to 2.11.35 in /website (#27600)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants