fix: extend workspace name max character limit and truncate (#233)

This commit is contained in:
Henry
2025-10-28 21:14:01 +00:00
committed by GitHub
parent 690c1394b1
commit 81e9fe777c
21 changed files with 214 additions and 199 deletions

View File

@@ -12,7 +12,7 @@ const schema = z.object({
name: z
.string()
.min(3, { message: t`Workspace name must be at least 3 characters long` })
.max(24, { message: t`Workspace name cannot exceed 24 characters` }),
.max(64, { message: t`Workspace name cannot exceed 64 characters` }),
});
type FormValues = z.infer<typeof schema>;