tju-yxq opened a new pull request, #2541: URL: https://github.com/apache/rocketmq-dashboard/pull/2541
## Summary - add server-side pagination to `GET /api/studio-users` with default `page=1`, `pageSize=20`, and a 100-row maximum - filter by username substring, administrator role, and enabled status - keep stable `username ASC, id ASC` ordering and perform filtering/pagination in MyBatis-Plus - reject invalid pagination and oversized search input before repository access - update the user management page with debounced username search, role/status filters, server total, and 20/50/100 page sizes - preserve existing create, enable/disable, password reset, and password-hash redaction behavior ## Why The page previously loaded every Studio account in one request and had no way to narrow a growing inventory. This also made it inconsistent with the cloud credential and data source management pages, which are server-paginated. ## Tests - focused backend: `AuthServiceDatabaseTest,StudioUserControllerTest` — 13 tests passed - backend full suite: 1,555 tests passed; Checkstyle 0 violations - focused frontend: API and user-management page — 2 files / 3 tests passed - full frontend suite: 98 files / 670 tests passed; one unrelated `ClusterPage` test initially timed out under full-suite load, then its file passed in isolation with 15/15 tests - `npm run lint -- --quiet`: 0 errors (3 pre-existing warnings) - `npm run build`: passed - `git diff --check`: passed Production changes: 198 additions / 19 deletions across backend and frontend, naturally exceeding 100 production lines without test padding. Closes #2540 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
