Self-hosted mood tracker - very much work in progress
Go to file
Kumi 71c34db6d8
refactor(mood/stats): streamline and optimize visualizations
This commit streamlines mood and activity visualization code in
mood/statistics.py for better readability and maintainability. By
consolidating similar code blocks, replacing ' extension calls with
consistent double quotes, and reformatting large data structures for
clarity, we ensure the code is more Pythonic and easier to follow.
Additionally, the alterations in how pie charts and mood statistics are
generated not only maintain functionality but also reduce cognitive load
when navigating the codebase. These changes pave the way for future
enhancements and debugging efforts by making the codebase more
approachable.
2024-03-24 16:28:10 +01:00
api Missing files 2021-10-24 16:51:12 +02:00
cbt Add incomplete CBT component 2020-12-31 22:18:39 +01:00
common Migrate to AutoSecretKey 2022-10-25 14:40:48 +00:00
cronhandler Fix missing cron signal 2020-12-30 18:38:37 +01:00
doc Initial commit 2020-12-27 18:49:54 +01:00
dreams Move nav sections to respective apps 2021-10-24 17:45:23 +02:00
environment Add blank environment app 2021-10-07 16:36:19 +02:00
friends Add three bare modules 2021-01-03 08:42:04 +01:00
frontend feat: streamline topbar notifications 2024-03-24 16:15:54 +01:00
gpslog Start development of gpslog module 2022-09-09 16:59:13 +00:00
habits Add missing max_length to CharField 2021-01-17 16:47:55 +01:00
health Rename meds to health 2021-02-16 12:15:56 +00:00
kumify Add missing OIDC_CREATE_USER value from config file 2022-10-26 07:00:44 +00:00
mood refactor(mood/stats): streamline and optimize visualizations 2024-03-24 16:28:10 +01:00
msgio Remove dbsettings from init methods (would prevent initial migrations) 2021-03-01 07:09:53 +01:00
.gitignore Migrate to AutoSecretKey 2022-10-25 14:40:48 +00:00
INSTALL.md Updates to documentation 2023-03-26 20:08:18 +00:00
LICENSE Update INSTALL.md 2022-10-25 14:43:01 +00:00
manage.py Initial commit 2020-12-27 18:49:54 +01:00
passenger_wsgi.py Add passenger_wsgi for Passenger deployments 2020-12-27 18:59:45 +01:00
requirements.txt Migrate to AutoSecretKey 2022-10-25 14:40:48 +00:00
settings.dist.ini Migrate to AutoSecretKey 2022-10-25 14:40:48 +00:00
TODO.md Updates to documentation 2023-03-26 20:08:18 +00:00