Files
haushalt/module.md
2026-04-14 18:15:05 +02:00

50 lines
2.4 KiB
Markdown

# Setup module
- Symfony ./backend
- Vue ./frontend
- Kotlin ./app
- Kotlin copy vue changes
- Symfony, Vue and Kotlin can start
# Base module
- layout: Breadcrumb, main area
- start page: /, empty
# Task module
- task: id, name, date?, status, schema?
- status: active, done, inactive, past (< today)
- breadcrumb: /tasks, /tasks/all, /tasks/:id
- period: today to +2 weeks
- done task: strikethrough, less opacity, default eye hide
- inactive task: less opacity, smaller
- start page: /tasks button
- tasks page: list tasks (name, toggle onclick), only period, group by date, no-date first, hide inactive, navigation (schemas, create, list, toggle, refresh)
- all tasks page: list all task (name, toggle onclick, edit, delete), sort by date desc, no-date-first, navigation (schemas, create, refresh)
- edit page: form (name, date, status), current values, buttons(save, abort) remove schema on update
- navigation: calender icon (schemas), + icon (create), list icon (all tasks), eye icon (toggle), arrow (refresh), pencil icon (edit), bin icon (delete), save icon (save), abort icon (abort)
# AppUpdate module
- version: public/app/version.json
- apk: public/app/haushalt.apk
- start page: button check version, download apk, trigger install
# TaskSchema module
- task schema: id, name, status, taskStatus, type, date?, repeat?, start?, end?
- status: active, inactive
- type: single (show date), repeat (show repeat, start, end)
- type(single, !date): just create task
- type(single, date): create schema, schema creates task
- type(repeat, daily/weekly/2weekly/4weekly/monthly): create schema, schema creates tasks
- type(repeat, days): + icon (add input:date), add multiple dates, like single+date in bulk, create schema, schema creates tasks, bin icon (remove date)
- schema: creates tasks in period, schema update and delete affects only tasks in period (no-past), start(today if null), delete schema (if end < today)
- schema create: create tasks in period
- schema update: remove and create task in period (if task ref schema)
- schema delete: remove tasks in period (if task ref schema)
- scheduler: execute 3:00, create task (if date=today), remove schemas (if end < today)
- router - /schemas, /schemas/create, /schemas/:id
- list page: list all schemas (name, repeat label, edit, delete), navigation (create, refresh)
- create page: form (name, status, taskStatus, type, date, repeat, weekday/monthday, start, end), buttons(save, abort)
- edit page: like create but with current values