Add read-only Noya admin panel with assignments and UX polish.

Ship admin auth, user overview, assessments, chats, assignment filters/export, security hardening, and a separate desktop admin shell with clearer assessment answers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-09-21 08:00:24 +03:30
co-authored by Cursor
parent 8016b8f45e
commit c6243caa35
104 changed files with 15654 additions and 415 deletions
+2 -4
View File
@@ -8,8 +8,7 @@ export const profileNameSchema = z
.min(1, 'Name cannot be empty')
.max(NAME_MAX_LENGTH, `Name must be at most ${NAME_MAX_LENGTH} characters`);
export const PROFILE_AGE_MIN = 18;
export const PROFILE_AGE_MAX = 100;
export const PROFILE_AGE_MIN = 12;
export const profileAgeSchema = z
.number({
@@ -17,8 +16,7 @@ export const profileAgeSchema = z
invalid_type_error: 'Age must be an integer',
})
.int('Age must be an integer')
.min(PROFILE_AGE_MIN, `Age must be at least ${PROFILE_AGE_MIN}`)
.max(PROFILE_AGE_MAX, `Age must be at most ${PROFILE_AGE_MAX}`);
.min(PROFILE_AGE_MIN, `Age must be at least ${PROFILE_AGE_MIN}`);
export const patchProfileSchema = z
.object({