73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
task_id: task_create_page_login
|
|
entity_id: page_login
|
|
generated_at: '2025-12-19T06:08:12.172043'
|
|
workflow_version: v001
|
|
target:
|
|
type: page
|
|
definition:
|
|
id: page_login
|
|
name: Login
|
|
path: /login
|
|
layout: layout_auth
|
|
data_needs: []
|
|
components:
|
|
- component_login_form
|
|
seo:
|
|
title: Login - NoteToApp
|
|
description: Login to your account
|
|
auth:
|
|
required: false
|
|
roles: []
|
|
redirect: ''
|
|
state:
|
|
local:
|
|
- error
|
|
- isLoading
|
|
global: []
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components:
|
|
- id: component_login_form
|
|
definition: &id001
|
|
id: component_login_form
|
|
name: LoginForm
|
|
props: []
|
|
events:
|
|
- name: onSuccess
|
|
payload: User
|
|
description: Fired when login successful
|
|
- name: onError
|
|
payload: string
|
|
description: Fired when login fails
|
|
uses_apis:
|
|
- api_login_user
|
|
uses_components: []
|
|
internal_state:
|
|
- email
|
|
- password
|
|
- isLoading
|
|
- error
|
|
variants:
|
|
- default
|
|
external: false
|
|
dependencies:
|
|
entity_ids:
|
|
- component_login_form
|
|
definitions:
|
|
- id: component_login_form
|
|
type: component
|
|
definition: *id001
|
|
external: false
|
|
files:
|
|
to_create:
|
|
- app/login/page.tsx
|
|
reference: []
|
|
acceptance:
|
|
- criterion: Page renders at /login
|
|
verification: Navigate to /login
|
|
- criterion: Data fetching works
|
|
verification: Check network tab
|
|
- criterion: Components render correctly
|
|
verification: Visual inspection
|