Skip to content

web: fix table refresh button not refreshing table data - #23780

Merged
BeryJu merged 3 commits into
goauthentik:mainfrom
Benricheson101:fix/outpost-refresh-state
Jul 9, 2026
Merged

BeryJu merged 3 commits into
goauthentik:mainfrom
Benricheson101:fix/outpost-refresh-state

Conversation

@Benricheson101

Copy link
Copy Markdown
Contributor

Details

Fixes the Refresh button on a table not refreshing the data in the table.

What does this PR change?

Dispatches the refresh event when the Refresh button is pressed. Also switches related event listeners from deprecated EVENT_REFRESH to AKRefreshEvent.

Why is this change needed?

Some tables have data that may change without user action through the UI, so table data isn't automatically re-fetched. The Refresh button on the table should re-fetch the data and show up-to-date state information.

How was this tested?

Existing tests and manual testing.

Linked issues

closes #19951

Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@Benricheson101
Benricheson101 requested a review from a team as a code owner July 6, 2026 18:34
@netlify

netlify Bot commented Jul 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 44a9024
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a4e3be14a9a6200081b8600
😎 Deploy Preview https://deploy-preview-23780--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 Jul 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 44a9024
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a4e3be138ecfd0008a8d2a7
😎 Deploy Preview https://deploy-preview-23780--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.

@GirlBossRush
GirlBossRush self-requested a review July 7, 2026 16:13
@codecov

codecov Bot commented Jul 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.19%. Comparing base (9734620) to head (44a9024).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23780      +/-   ##
==========================================
- Coverage   93.24%   93.19%   -0.06%     
==========================================
  Files        1043     1043              
  Lines       60981    60981              
  Branches      424      424              
==========================================
- Hits        56864    56833      -31     
- Misses       4117     4148      +31     
Flag Coverage Δ
conformance 36.32% <ø> (+<0.01%) ⬆️
e2e 41.52% <ø> (+<0.01%) ⬆️
integration 32.24% <ø> (-0.50%) ⬇️
rust 0.00% <ø> (ø)
unit 92.30% <ø> (-0.01%) ⬇️
unit-migrate 92.34% <ø> (-0.01%) ⬇️

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 force-pushed the fix/outpost-refresh-state branch from b8637aa to 045e02e Compare July 7, 2026 17:06
@BeryJu
BeryJu enabled auto-merge (squash) July 8, 2026 12:00
@BeryJu
BeryJu merged commit 6372c3e into goauthentik:main Jul 9, 2026
157 of 162 checks passed
@GirlBossRush GirlBossRush added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Jul 9, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

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

GirlBossRush pushed a commit that referenced this pull request Jul 9, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #23780
Original commit: 6372c3e
GirlBossRush pushed a commit that referenced this pull request Jul 9, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #23780
Original commit: 6372c3e
GirlBossRush pushed a commit that referenced this pull request Jul 9, 2026
…23780 to version-2026.5) (#23878)

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

This cherry-pick has conflicts that need manual resolution.

Original PR: #23780
Original commit: 6372c3e

Co-authored-by: Ben Richeson <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Jul 9, 2026
* main: (34 commits)
  lifecycle/container: increase start time to 120s (#23896)
  ci: fix fork checks (#23894)
  root: fix docker compose pg volume path for compatibility with pg18 (#23883)
  ci: better image building (#23359)
  core: bump library/postgres from 16 to 18 in /scripts (#23812)
  core: Form friendly error on uniqueness constraint. (#23864)
  packages: migrate shared pins to the pnpm catalog: protocol (#23784)
  core, web: update translations (#23863)
  core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867)
  core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868)
  core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866)
  core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871)
  core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869)
  core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872)
  core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873)
  core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874)
  web: fix table refresh button not refreshing table data (#23780)
  endpoints: handle exception in connector controller sync setup (#23852)
  internal/outpost/ak: handle empty outpost list during refresh (#23827)
  web/admin/stages/captcha: fix float values in score tresholds fix provider parsing (#22782)
  ...
kensternberg-authentik added a commit that referenced this pull request Jul 9, 2026
* web/cleanup/task-card: (35 commits)
  Just trying to make life a little better.
  lifecycle/container: increase start time to 120s (#23896)
  ci: fix fork checks (#23894)
  root: fix docker compose pg volume path for compatibility with pg18 (#23883)
  ci: better image building (#23359)
  core: bump library/postgres from 16 to 18 in /scripts (#23812)
  core: Form friendly error on uniqueness constraint. (#23864)
  packages: migrate shared pins to the pnpm catalog: protocol (#23784)
  core, web: update translations (#23863)
  core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867)
  core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868)
  core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866)
  core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871)
  core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869)
  core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872)
  core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873)
  core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874)
  web: fix table refresh button not refreshing table data (#23780)
  endpoints: handle exception in connector controller sync setup (#23852)
  internal/outpost/ak: handle empty outpost list during refresh (#23827)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking "Refresh" on Outposts page doesn't refresh state

3 participants