mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
[PR #970] feat: table and pagination improvements #543
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/970
Author: @kmendell
Created: 9/21/2025
Status: 🔄 Open
Base:
main← Head:feat/kyles-pagination-attempt📝 Commits (10+)
3e53508feat: pagination and table improvements (kyles version)d388a89fix facet filters for user status2250900finish user table filters493f5ddMerge branch 'main' into feat/kyles-pagination-attemptb42731cmigrate oidc client and user group tables1adf8famigrate audit log table87b82a6Merge branch 'main' into feat/kyles-pagination-attempt4d57792initial idea for backend filteringb1c171fget filter logic working for isAdminea6489ccleanup linter📊 Changes
30 files changed (+1814 additions, -355 deletions)
View changed files
📝
backend/internal/controller/user_controller.go(+1 -1)📝
backend/internal/model/user.go(+2 -2)📝
backend/internal/service/user_service.go(+21 -2)📝
backend/internal/utils/paging_util.go(+123 -3)📝
frontend/messages/en.json(+14 -1)📝
frontend/package.json(+1 -0)📝
frontend/src/lib/components/audit-log-list.svelte(+56 -42)➕
frontend/src/lib/components/pocket-id-table/data.ts(+29 -0)➕
frontend/src/lib/components/pocket-id-table/index.ts(+4 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table-cell.svelte(+9 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table-checkbox.svelte(+8 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table-filter.svelte(+130 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table-toolbar.svelte(+80 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table-view-options.svelte(+38 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table.svelte(+594 -0)➕
frontend/src/lib/components/pocket-id-table/pocket-id-table.types.svelte.ts(+51 -0)📝
frontend/src/lib/components/signup/signup-token-list-modal.svelte(+68 -66)➕
frontend/src/lib/components/ui/data-table/data-table.svelte.ts(+141 -0)➕
frontend/src/lib/components/ui/data-table/flex-render.svelte(+36 -0)➕
frontend/src/lib/components/ui/data-table/index.ts(+3 -0)...and 10 more files
📄 Description
My attempt at this, using the tanstack table.
Issues Closed
Fixes: https://github.com/pocket-id/pocket-id/issues/824
Fixes: https://github.com/pocket-id/pocket-id/issues/825
TODO
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.