Skip to content

feat(users): ✨ add user creation functionality with form validation#694

Merged
aXenDeveloper merged 3 commits into
canaryfrom
feat/add-user-creation-functionality
Jun 4, 2026
Merged

feat(users): ✨ add user creation functionality with form validation#694
aXenDeveloper merged 3 commits into
canaryfrom
feat/add-user-creation-functionality

Conversation

@aXenDeveloper

Copy link
Copy Markdown
Owner

Improving Documentation

Description

What?

Why?

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vitnode-docs Ready Ready Preview, Comment Jun 4, 2026 4:00pm

@github-actions github-actions Bot added the 💡 Feature A new feature label Jun 4, 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 an admin feature to create new users, including the backend API route, UI components, and translation keys. Feedback highlights critical runtime errors in the Zod schemas where z.email() is incorrectly used instead of z.string().email(). Additionally, it is recommended to wrap the server action call in a try/catch block to handle network failures gracefully.

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 packages/vitnode/src/api/modules/admin/users/routes/create.route.ts
- Introduced roles management functionality with routes for listing and showing roles.
- Added `Verify Email` feature for users, allowing admin to verify user emails.
- Updated user and role components to reflect new functionalities.
- Enhanced localization for roles and email verification messages.
@aXenDeveloper aXenDeveloper marked this pull request as ready for review June 4, 2026 16:02
@aXenDeveloper aXenDeveloper merged commit 40e24ee into canary Jun 4, 2026
4 checks passed
@aXenDeveloper aXenDeveloper deleted the feat/add-user-creation-functionality branch June 4, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 Feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant