Skip to content

web: Fix stale clipboard tokens, untranslated labels - #23063

Merged
GirlBossRush merged 9 commits into
mainfrom
fix-stale-clipboard-tokens
Jun 16, 2026
Merged

GirlBossRush merged 9 commits into
mainfrom
fix-stale-clipboard-tokens

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR fixes several issues that prevent copy to clipboard button from behaving as expected.

  • Use of guard now correctly lists its dependencies, preventing stale event handlers when switching between large paginated lists.
  • Labels that previously were defined once are now wrapped with a callback to allow Lit localize to translate them.
  • Fix table labels
  • A description of which user and the purpose of the token being copied to the clipboard is now included in the message.
  • Tooltips for clipboard buttons now appear.
  • Fix user view tab HTML
  • Add tokens tab to user view

Additionally, a small fix to our vendored lex package was applied to fix a bug discovered by the latest TS-Go.

Closes #22860

@GirlBossRush GirlBossRush self-assigned this Jun 15, 2026
@GirlBossRush
GirlBossRush requested a review from a team as a code owner June 15, 2026 15:21
@GirlBossRush GirlBossRush added area:frontend Features or issues related to the browser, TypeScript, Node.js, etc i18n Internationalization and localization labels Jun 15, 2026
@GirlBossRush GirlBossRush added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Jun 15, 2026
@GirlBossRush GirlBossRush moved this from Todo to In review in authentik Core Jun 15, 2026
@netlify

netlify Bot commented Jun 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit a717628
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a31921b606a34000898193e
😎 Deploy Preview https://deploy-preview-23063--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 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit a717628
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a31921bfd8af40008e5549c
😎 Deploy Preview https://deploy-preview-23063--authentik-integrations.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 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a717628
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a31921b6c46d200080edca3
😎 Deploy Preview https://deploy-preview-23063--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 15, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23063      +/-   ##
==========================================
+ Coverage   93.18%   93.25%   +0.06%     
==========================================
  Files        1032     1032              
  Lines       60196    60196              
  Branches      400      400              
==========================================
+ Hits        56094    56136      +42     
+ Misses       4102     4060      -42     
Flag Coverage Δ
conformance 36.52% <ø> (+<0.01%) ⬆️
e2e 41.78% <ø> (+0.21%) ⬆️
integration 32.96% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.21% <ø> (ø)
unit-migrate 92.22% <ø> (-0.02%) ⬇️

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.

@github-project-automation github-project-automation Bot moved this from In review to In Progress in authentik Core Jun 15, 2026
@github-actions

github-actions Bot commented Jun 15, 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-a717628a2fb04794db1ec7acbb362155c98d874a
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-a717628a2fb04794db1ec7acbb362155c98d874a

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

@GirlBossRush
GirlBossRush force-pushed the fix-stale-clipboard-tokens branch from 63777dc to 9cd696b Compare June 16, 2026 14:27
@GirlBossRush
GirlBossRush force-pushed the fix-stale-clipboard-tokens branch from a945d2f to a717628 Compare June 16, 2026 18:12
@GirlBossRush GirlBossRush moved this from In Progress to In review in authentik Core Jun 16, 2026
@GirlBossRush
GirlBossRush enabled auto-merge (squash) June 16, 2026 18:47
@GirlBossRush
GirlBossRush merged commit fadc14e into main Jun 16, 2026
109 checks passed
@GirlBossRush
GirlBossRush deleted the fix-stale-clipboard-tokens branch June 16, 2026 18:58
@github-project-automation github-project-automation Bot moved this from In review to Done in authentik Core Jun 16, 2026
@authentik-automation

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.5 has conflicts: #23143

GirlBossRush added a commit that referenced this pull request Jun 16, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #23063
Original commit: fadc14e
GirlBossRush added a commit that referenced this pull request Jun 17, 2026
 to version-2026.5) (#23143)

Cherry-pick #23063 to version-2026.5 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #23063
Original commit: fadc14e

Co-authored-by: Teffen Ellis <[email protected]>
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 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 i18n Internationalization and localization

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Copy to clipboard does not copy the right secret

2 participants