Skip to content

Conversation

@leeunduck
Copy link
Owner

๐Ÿš€ Pull Request

๐Ÿ“ PR ์œ ํ˜•

  • ๊ธฐ๋Šฅ ์ถ”๊ฐ€ (Feature)
  • ๋ฒ„๊ทธ ์ˆ˜์ • (Bug Fix)
  • ์ฝ”๋“œ ๊ฐœ์„  (Refactoring)
  • ๋ฌธ์„œ ์ž‘์—… (Docs)
  • ํ™˜๊ฒฝ ์„ค์ • (Configuration)
  • ์ตœ์ข… ์ ๊ฒ€ (Release Check)

๐Ÿ” ๋ณ€๊ฒฝ ์‚ฌํ•ญ

๊ฐ ํŽ˜์ด์ง€์— ์žˆ๋Š” metadata๋ฅผ layout์œผ๋กœ ์˜ฎ๊ฒผ์Œ

Auth Input Field ๋กœ๊ทธ์ธ & ํšŒ์›๊ฐ€์ž… input์„ ์ถ”๊ฐ€ ์‹œํ‚ด


๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2025-10-28 02 46 57 แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2025-10-28 02 47 12 แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2025-10-28 02 47 21

๐Ÿšง ๊ด€๋ จ ์ด์Šˆ


๐Ÿ› ๏ธ ์ตœ์ข… ๋ฐฐํฌ ์ ๊ฒ€ ๋ฆฌ์ŠคํŠธ

  • ์ฃผ์š” ๊ธฐ๋Šฅ ๋™์ž‘ ํ™•์ธ
  • ๋นŒ๋“œ/๋ฐฐํฌ ํ™˜๊ฒฝ ์ ๊ฒ€
  • ๋ฌธ์„œ/์„ค์ • ๊ฒ€ํ† 

โœ… ์ตœ์ข… ๋ฐฐํฌ ์ ๊ฒ€ ๊ฒฐ๊ณผ

@vercel
Copy link

vercel bot commented Oct 27, 2025

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

Project Deployment Preview Comments Updated (UTC)
custom-daily-planner Ready Ready Preview Comment Oct 27, 2025 5:47pm

@leeunduck leeunduck merged commit 6b06891 into main Oct 27, 2025
8 checks passed
@leeunduck leeunduck deleted the Feature/CDP-157-AuthInputField branch October 27, 2025 17:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

๐Ÿ’ก Codex Review

Here are some automated review suggestions for this pull request.

โ„น๏ธ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with ๐Ÿ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 35 to +42
<input
type={type}
data-slot="input"
className={cn(
// ํฌ๊ธฐ/๋ ˆ์ด์•„์›ƒ
"h-12 w-full min-w-0 rounded-md px-3 py-2 text-sm outline-none transition-colors",
// ๊ธฐ๋ณธ ํ…์ŠคํŠธ/๋ฐฐ๊ฒฝ
"bg-white text-[#111827]",
// ๊ธฐ๋ณธ ํ…Œ๋‘๋ฆฌ(1px, ํšŒ์ƒ‰)
"border border-[var(--color-gray-300)]",
// ํ”Œ๋ ˆ์ด์Šคํ™€๋”
"placeholder:text-[#737373]",
// โœ… ํฌ์ปค์Šค(ํ™œ์„ฑํ™”): ํ…Œ๋‘๋ฆฌ ๋‘๊ป˜โ†‘(2px) + ์ƒ‰์ƒ #111827
"focus-visible:border-2 focus-visible:border-[#111827]",
// ์—๋Ÿฌ(์ ‘๊ทผ์„ฑ): aria-invalid=true โ†’ ํ…Œ๋‘๋ฆฌ #dc2626
"aria-invalid:border-[#dc2626]",
// ๋น„ํ™œ์„ฑ
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
// file input ๊ธฐ๋ณธ๊ฐ’(ํ•„์š” ์‹œ)
"file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground",
className,
)}
{...props}
ref={ref}
onFocus={handleFocus}
onBlur={handleBlur}
className={cn(authInputVariants({ status: currentStatus }), className)}
aria-invalid={currentStatus === "error" ? "true" : "false"}
data-invalid={currentStatus === "error" ? "true" : "false"}
{...rest}

Choose a reason for hiding this comment

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

P1 Badge Internal focus logic is bypassed when consumers pass handlers

The new auth input clears its error state in handleFocus/handleBlur, but the JSX spreads ...rest after wiring those handlers. Any consumer that passes its own onFocus or onBlur prop will overwrite the internal handlers, so the input never resets its status and the wrapped callbacks (rest.onFocus/rest.onBlur) are never invoked. This makes the error-clearing behaviour unreliable in typical form usage where custom focus handlers are common. Consider spreading rest before attaching the internal handlers or composing the handlers so both run.

Useful? React with ๐Ÿ‘ย / ๐Ÿ‘Ž.

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.

2 participants