Skip to content

feat(admin): paginate audit trail (web/admin 0.1.17)#6

Merged
1456055067 merged 1 commit into
mainfrom
audit-pagination
Jul 6, 2026
Merged

feat(admin): paginate audit trail (web/admin 0.1.17)#6
1456055067 merged 1 commit into
mainfrom
audit-pagination

Conversation

@1456055067

Copy link
Copy Markdown
Contributor

What

Adds client-side pagination to the Audit trail tab in the admin web UI.

  • 25 rows per page via Cloudscape's built-in Pagination control, wired into the Table's pagination slot.
  • Slices the already-fetched entries (the tab still fetches up to limit=1000 in one request) — no backend change, instant page switches.
  • Page index resets to 1 on Refresh so you land on the newest entries.
  • Header counter still reflects the full total.

Version / deploy

  • admin/web/package.json: 0.1.16 → 0.1.17
  • Admin image tag bumped to 0.1.17 in platform/overlays/k3s and platform/overlays/example.

After merge: trigger image-admin.yml (gh workflow run image-admin.yml -f tag=0.1.17) to build & push the image, then kubectl apply -k platform/overlays/k3s to roll out.

Notes

Pagination is client-side over a capped fetch. If the audit table ever grows past ~1000 rows, we'd want true server-side paging (the API already accepts a limit; would add offset/cursor).

Add client-side pagination (25/page) to the Audit tab via Cloudscape
Pagination over the existing capped fetch; page resets to 1 on refresh.
Bump admin image tag in k3s + example overlays.
@sonarqubecloud

sonarqubecloud Bot commented Jul 6, 2026

Copy link
Copy Markdown

@1456055067 1456055067 merged commit 3d4e695 into main Jul 6, 2026
10 checks passed
@1456055067 1456055067 deleted the audit-pagination branch July 6, 2026 22:15
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.

1 participant