diff --git a/.Jules/palette.md b/.Jules/palette.md index 7577a1ca7..2c3b2d590 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -56,3 +56,6 @@ ## 2024-07-14 - Native Keyboard Submission with Forms for Modals **Learning:** Modals designed with plain `
` elements as wrappers instead of `
` lack native keyboard submission support, forcing users to switch from keyboard to mouse to confirm actions like "Save". **Action:** When designing modals or popups containing inputs, always use a `` element to wrap the content, handle the `onSubmit` event (calling `e.preventDefault()`), and set the primary confirmation button to `type="submit"` to enable seamless Enter-key submission for keyboard users. +## 2025-02-28 - Native form submission for "New Project" +**Learning:** In React SPA patterns, interactive input groups (like creating a new project) are often built with simple `
` and ` -
+
{createProjectHint ? ( {createProjectHint} @@ -1304,20 +1309,25 @@ export default function App() {

프로젝트

프로젝트를 선택하면 해당 다이어그램 목록을 볼 수 있습니다.

-
+
{ + e.preventDefault(); + onCreateProject(); + }} + > setProjectName(event.currentTarget.value)} /> -
+