diff --git a/.gitignore b/.gitignore index e768b80..88d05b5 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,7 @@ node_modules/ dist/ # Auxiliary scripts -reset_demo.sh \ No newline at end of file +reset_demo.sh + +# LLM generated files +pr_description.md \ No newline at end of file diff --git a/AI.md b/AI.md index aaf0356..65d0319 100644 --- a/AI.md +++ b/AI.md @@ -9,7 +9,7 @@ ## 🚦 Strict Workflow Protocol Before modifying, generating, or deleting any files, the agent MUST follow these steps in exact order: 1. **Plan First:** Present a comprehensive architectural review, design summary, or pseudo-code strategy. Wait for explicit user greenlight. -2. **Git Branching:** Checkout to a distinct feature or refactor branch from `main` using the Conventional Commits specification (e.g., `feat(backend): ...`, `refactor(frontend): ...`). +2. **Git Branching:** Checkout to a distinct feature or refactor branch from `main` using the Conventional Commits specification (e.g., `feat(backend)/...`, `refactor(frontend)/...`). 3. **Execution:** Apply the changes within the tightly scoped workspace directory. 4. **Finalize:** Upon user validation, stage and commit changes with concise, structured commit messages. 5. **Documentation:** Auto-generate a pull request summary titled `pr_description.md` in the project root adhering to the workspace markdown template. diff --git a/frontend/src/modules/auth/components/LoginForm.vue b/frontend/src/modules/auth/components/LoginForm.vue index 81b5ecf..74ce968 100644 --- a/frontend/src/modules/auth/components/LoginForm.vue +++ b/frontend/src/modules/auth/components/LoginForm.vue @@ -24,6 +24,12 @@ const redirect = route.query.redirect as string | undefined const { handleSubmit } = useForm({ validationSchema: toTypedSchema(loginSchema), + initialValues: isDemo + ? { + email: 'demo@evsy.dev', + password: 'bestructured', + } + : undefined, }) const { mutate: runLogin, isPending: isLoading } = useMutation({ @@ -91,7 +97,7 @@ const onSubmit = handleSubmit(values => runLogin(values)) -
+
Don’t have an account?