Skip to content

show specific error messages for empty vs too-long names#812

Merged
moehdotdev merged 1 commit into
mainfrom
home-uiux-changes
Jun 14, 2026
Merged

show specific error messages for empty vs too-long names#812
moehdotdev merged 1 commit into
mainfrom
home-uiux-changes

Conversation

@moehdotdev

Copy link
Copy Markdown
Member

what changed:

note title and workspace name validation:

  • split the single generic error into two specific ones based on the zod issue code
  • too_small (empty): clears the input and shows "must not be empty"
  • too_big (over limit): resets to the previous valid value instead of clearing, and shows the character limit message
  • this fixes the previous behavior where typing too many characters would wipe your input entirely

tooltip shortcut badge:

  • removed ml-2 from ShortcutBadge, replaced with gap-2 on the tooltip content container spacing is now handled by the parent
  • py-0.5py-px mt-px for tighter vertical alignment

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
notevo Building Building Preview, Comment Jun 14, 2026 7:55pm

@moehdotdev moehdotdev merged commit 88d5615 into main Jun 14, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant