Skip to content

Commit fde953a

Browse files
committed
feat(frontend): add pagination and filters to admin users table
- Remove deprecated auth type tabs (All/Email/GitHub) - Add server-side pagination with 20 items per page default - Add search type selector (Username/Email) using ButtonGroup pattern - Add DropdownMenu for filters matching MCP catalog pattern - Add auth_type filter with email_signup and github options - Add role filter with global_admin and global_user options - Implement active filters row with inline pill components - Add loading states (skeleton + spinners) - Update UserService with getUsersPaginated() and searchUsers() methods - Update types for paginated API responses - Remove search button, search triggers on Enter key only - Update pagination alignment to match MCP catalog (right-aligned) - Fix auth_type filter value to use 'email_signup' instead of 'email'
1 parent dca989f commit fde953a

File tree

10 files changed

+619
-149
lines changed

10 files changed

+619
-149
lines changed

services/backend/api-spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@
21242124
"type": "string",
21252125
"enum": [
21262126
"email",
2127+
"email_signup",
21272128
"github"
21282129
]
21292130
},

services/backend/api-spec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,6 +1494,7 @@ paths:
14941494
type: string
14951495
enum:
14961496
- email
1497+
- email_signup
14971498
- github
14981499
in: query
14991500
name: auth_type

services/backend/src/routes/users/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export const SEARCH_USERS_QUERY_SCHEMA = {
277277
},
278278
auth_type: {
279279
type: 'string',
280-
enum: ['email', 'github'],
280+
enum: ['email', 'email_signup', 'github'],
281281
description: 'Filter by authentication type'
282282
},
283283
role_id: {

0 commit comments

Comments
 (0)