Skip to content

FEAT: [UI] add API key management and user management pages - #5065

Merged
qinxuye merged 6 commits into
xorbitsai:mainfrom
yiboyasss:FEAT/ui-system-management-pages
Jun 25, 2026
Merged

FEAT: [UI] add API key management and user management pages#5065
qinxuye merged 6 commits into
xorbitsai:mainfrom
yiboyasss:FEAT/ui-system-management-pages

Conversation

@yiboyasss

Copy link
Copy Markdown
Contributor

No description provided.

@XprobeBot XprobeBot added this to the v2.x milestone Jun 23, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces user and API key management pages, updates the sidebar navigation, and adds corresponding localization strings across multiple languages. The review feedback highlights several critical issues, including the incorrect use of the onChange prop instead of onCheckedChange on the Switch components, which prevents toggling functionality. Additionally, the reviewer suggests addressing potential Next.js hydration mismatches caused by localized dates and dynamic input attributes, safely handling potentially undefined user permissions to prevent application crashes, and catching errors in the clipboard copy operation.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread frontend/src/components/pages/api-key-management/index.tsx
Comment thread frontend/src/components/pages/user-management/index.tsx
Comment thread frontend/src/components/pages/user-management/index.tsx
Comment thread frontend/src/components/pages/api-key-management/index.tsx Outdated
Comment thread frontend/src/components/pages/api-key-management/index.tsx Outdated
Comment thread frontend/src/components/pages/user-management/index.tsx Outdated
Comment thread frontend/src/components/pages/user-management/index.tsx
Comment thread frontend/src/components/pages/api-key-management/index.tsx

@qinxuye qinxuye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a couple of issues that should be fixed before merging.

Comment thread frontend/src/components/pages/api-key-management/index.tsx Outdated
Comment thread frontend/src/components/layout/sidebar.tsx Outdated
Comment thread frontend/src/components/pages/api-key-management/index.tsx
Comment thread frontend/src/components/pages/api-key-management/index.tsx Outdated
Comment thread frontend/src/components/pages/user-management/index.tsx Outdated
@qinxuye
qinxuye requested a review from maoyuehui June 24, 2026 05:03
Comment thread frontend/src/components/pages/api-key-management/index.tsx Outdated
Comment thread frontend/src/components/layout/sidebar.tsx Outdated

@qinxuye qinxuye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinxuye
qinxuye merged commit 1c2d6ac into xorbitsai:main Jun 25, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants