Add TodoItem component, enhance task list, and improve API data handling

- Introduced `TodoItem.vue`, a reusable component for task items.
- Refactored `ListScreen` to use `TodoItem` for better modularity.
- Added new animations and styles for smooth transitions.
- Updated `useTasks` with `updateTask` method to sync task updates via API.
- Improved type definitions for `Task` and added nullable fields for flexibility.
- Added dependencies: `luxon`, `@types/luxon`, `uuid`, and `@vueuse/core`.
This commit is contained in:
2026-02-21 21:23:28 +01:00
parent e44e88adfd
commit f1e098d3c7
10 changed files with 192 additions and 39 deletions

View File

@@ -21,8 +21,12 @@
"@tauri-apps/plugin-http": "~2.5.7",
"@tauri-apps/plugin-opener": "^2",
"@tauri-apps/plugin-store": "~2.4.2",
"@types/luxon": "^3.7.1",
"@vueuse/core": "^14.2.1",
"daisyui": "^5.5.18",
"jsencrypt": "^3.5.4",
"luxon": "^3.7.2",
"uuid": "^13.0.0",
"vue": "^3.5.28",
"vue-router": "^4.6.4"
},