Skip to content

Commit

Permalink
Update TODO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lrq3000 authored Feb 26, 2024
1 parent b77517b commit 1441178
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Additional implementation details to complement the specification:
* App needs to implement a homescreen widget to tap, like plees-tracker (open-source) and sleepmeter (closed-source) do.
* App also needs to implement tapping widgets on the lockscreen, and hide time if possible, or being tappable (for the sleep diary) by pressing physical buttons, to allow to run sleep studies without having the user look at the time at night when they are trying to sleep (a major recommendations by sleep clinicians - although not necessarily backed by evidence, but without a tool to test, we cannot know if this makes a difference or not - currently, paper sleep diaries are used, and they can't be used at night due to this constraint, so clinical sleep diaries do not represent faithfully sleep fragmentation nor even sleep onset and offset times since the user is instructed not to look at the time!).
* Deno modern typescript engine, can cross-compile for Windows, Linux and MacOS: https://docs.deno.com/runtime/manual/tools/compiler
* get inspiration from UI of https://github.com/SamAmco/track-and-graph great tracking and grouping of events types, and great duration charts and correlations, and previously entered tags are suggested
* but no 24h chart so cannot correlate start times and end times, and no explicit start time, only based on duration and end time, so very unintuitive to modify an event. also no margin on tapping. and very difficult to modify existing entries.
* SUPER IDEA: to mimic how it's easy to notice errors and modify on a paper sleep graph, when editing an event, show a previsualization of this event on the sleep graph as well as a few days earlier and later (if available) for context, so it will be much more easy to spot if the event looks alright, and fix mistakes.
* SUPER IDEA: also do it like calendars: allow to edit directly on sleep graph, to create a new event on a 1h block where the user taps, or if holding on an already existing event, it will open in edit mode. No need to be able to resize as on a computer, but at least to.open the event in edit mode from the sleep graph will make it much easier to modify the sleep graph aposteriori.

0 comments on commit 1441178

Please sign in to comment.