From 676e7777b4fdc8a758f870b978f4499ceefceb59 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 17 Jan 2024 15:10:28 -0600 Subject: [PATCH] WIP --- README.md | 17 +++++- components/Dialog.tsx | 2 +- islands/Dashboard.tsx | 121 +++++++++++++++++++++++++++++++++++++++- islands/Nav.tsx | 7 +++ islands/TodoList.tsx | 6 +- routes/api/todo.ts | 80 +++++++++++++++++++++++--- routes/api/todo/done.ts | 14 +++-- routes/api/user.ts | 56 +++++++++++++++++-- routes/index.tsx | 45 +++++++-------- 9 files changed, 299 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index 16dc38c..8ec336c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ +# Homeman + +Homeman is short for "home management". It is a simple digital dashboard for +managing tasks within a home primarily geared towards planning and organizing +around a touch-capable display. + +**NOTE**: This project was _not_ created to be used outside my family, so some +things may be too inflexible for your use case. + +# Optimizations + +- Use atomic Deno KV operations? +- Event source streams share a single KV watch? + # Fresh project Your new Fresh project is ready to go. You can follow the Fresh "Getting @@ -9,7 +23,7 @@ Make sure to install Deno: https://deno.land/manual/getting_started/installation Then start the project: -``` +```bash deno task start ``` @@ -19,3 +33,4 @@ This will watch the project directory and restart as necessary. - https://github.com/briosheje/Fresh-Deno-Mongo-Docker-Todoapp/tree/main - https://hearthdisplay.com/ +- https://github.com/denoland/showcase_todo diff --git a/components/Dialog.tsx b/components/Dialog.tsx index d7fb690..ef1ad4b 100644 --- a/components/Dialog.tsx +++ b/components/Dialog.tsx @@ -30,7 +30,7 @@ export function Dialog( ref={self} >
-

{headerTitle}

+

{headerTitle}