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}

@@ -131,7 +131,7 @@ export function Admin({ users, todos }: Props) { {avatarUrl == null ? 'None' - : } + : } #{color} @@ -163,12 +163,14 @@ export function Admin({ users, todos }: Props) { Description Assignee + Done At + Emoji Actions {Object.entries(todos).map(( - [_index, { id, description, assigneeUserId }], + [_index, { id, emoji, doneAt, description, assigneeUserId }], ) => ( {description} @@ -183,6 +185,8 @@ export function Admin({ users, todos }: Props) { ? 'Unassigned' : users[assigneeUserId]?.name} + {doneAt == null ? 'Not Done' : doneAt.toLocaleString()} + {emoji || 'No Emoji'}