tvl-depot/website/habit-screens
William Carroll 1cff020d66 Show Morning and Evening habits by default
Now that I've deployed this, and I have an iPad running in kiosk mode, I
realized that I'd like to show my morning routine and my evening routine.
2020-12-13 15:14:19 +00:00
..
src Show Morning and Evening habits by default 2020-12-13 15:14:19 +00:00
.envrc Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
.gitignore Commit compiled file, output.css to habit-screens 2020-12-13 14:16:14 +00:00
default.nix Productionize habit-screens 2020-12-13 13:33:49 +00:00
design.md Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
elm-srcs.nix Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
elm.json Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
index.css Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
index.html Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
output.css Commit compiled file, output.css to habit-screens 2020-12-13 14:16:14 +00:00
README.md Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
registry.dat Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00
shell.nix Move the habit-screens project into //website 2020-12-11 22:47:04 +00:00

Habit Screens

Problem: I would like to increase the rate at which I complete my daily, weekly, monthly, yearly habits.

Solution: Habit Screens are mounted in strategic locations throughout my apartment. Each Habit Screen displays the habits that I should complete that day, and I can tap each item to mark it as complete. I will encounter the Habit Screens in my bedroom, kitchen, and bathroom, so I will have adequate "cues" to focus my attention. By marking each item as complete and tracking the results over time, I will have more incentive to maintain my consistency (i.e. "reward").

Elm

Elm has one of the best developer experiences that I'm aware of. The error messages are helpful and the entire experience is optimized to improve the ease of writing web applications.

Developing

If you're interested in contributing, the following will create an environment in which you can develop:

$ nix-shell
$ npx tailwindcss build index.css -o output.css
$ elm-live -- src/Main.elm --output=Main.min.js

You can now view your web client at http://localhost:8000!