Commit graph

150 commits

Author SHA1 Message Date
8032375bb5 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
37035aad01 refactor(statistics.py): standardize chart height param
Standardized the parameter name for setting chart height across all
chart creation functions in statistics.py. Replaced `plot_height` with
`height` to align with the latest visualization library conventions.
This change enhances code consistency and adheres to the updated library
API, ensuring future compatibility and easier maintenance.
2024-03-24 16:23:48 +01:00
a64a404551 feat: streamline topbar notifications
Simplified the alert system in the topbar by removing outdated
notifications and placeholder content for messages. Introduced a generic
alert placeholder to hint at potential future alert implementations.
This change aims to declutter the UI and enhance user experience by
focusing on relevant and streamlined information. Additionally, the
removal of the message center underscores a shift towards simplifying
user interactions within the platform.
2024-03-24 16:15:54 +01:00
5b0ef75396 Updates to documentation 2023-03-26 20:08:18 +00:00
f5582d2a0d Add missing OIDC_CREATE_USER value from config file 2022-10-26 07:00:44 +00:00
3a267aaace Update INSTALL.md
Add license
2022-10-25 14:43:01 +00:00
2ff91abe82 Migrate to AutoSecretKey
Implement OIDC login
2022-10-25 14:40:48 +00:00
ac18f31d9a Start development of gpslog module 2022-09-09 16:59:13 +00:00
67c602ddcf Start gpslog app 2022-09-07 16:15:22 +00:00
649f3bb86e Get requirements fixed (?) for Django4.1 2022-09-07 16:15:10 +00:00
b6659a235f Fix Dashboard link in navigation 2021-10-27 09:01:25 +02:00
2e03956f1d Move nav sections to respective apps 2021-10-24 17:45:23 +02:00
0ed152e061 Try fixing styling error 2021-10-24 17:41:38 +02:00
6c6656abcb Try fixing syntax error 2021-10-24 17:38:20 +02:00
969b63d002 Try implementing sidebar generation 2021-10-24 17:35:52 +02:00
aefcf5dec9 Fix autoescaping 2021-10-24 17:03:33 +02:00
98ab024d8c Missing files 2021-10-24 16:51:12 +02:00
4d2e04435a Minor work on frontend generation
Basic status API
2021-10-24 16:51:04 +02:00
7401b8a87c Add blank environment app 2021-10-07 16:36:19 +02:00
fb8cb5f298 Prepare for dynamic generation of navigation menus 2021-03-03 11:36:25 +01:00
30bc1deb73 Order activities by name by default 2021-03-03 10:35:54 +01:00
2d09e25df3 Basic activity statistics 2021-03-03 08:39:26 +01:00
bedfccb79c Bokeh problems seem solved now with latest panel 2021-03-03 07:51:18 +01:00
a8a7637a48 Colored buttons for mood selection 2021-03-01 21:04:44 +01:00
f80b909c6e Badly implement mood pie charts 2021-03-01 18:05:14 +01:00
57fa6c5d7e Require older bokeh than 2.3.0 which causes Exception 2021-03-01 07:15:29 +01:00
5582f15440 Handle empty database in mood template tags 2021-03-01 07:12:15 +01:00
efc6e1c326 Remove dbsettings from init methods (would prevent initial migrations) 2021-03-01 07:09:53 +01:00
ca56b250f7 Replace max time parameter by current time 2021-02-28 19:58:38 +01:00
5aa667a86f Fix moodstats call 2021-02-26 18:09:13 +01:00
8d75d9b342 Fix moodstats signature
Remove unused variables
Fix time selection for CSV
2021-02-26 07:38:17 +01:00
e7f0e07a99 Fix activitystats signature 2021-02-26 07:26:52 +01:00
040ffe0fb3 Add monthly and yearly activity counters 2021-02-25 15:33:28 +01:00
e6a54d96c2 Fix Bokeh output
Lock Y axis of Bokeh HTML output
2021-02-22 20:10:37 +01:00
51ee9cd76f Add statistics to sidebar
Fix stupid mistake
2021-02-22 07:59:51 +01:00
e1078bbd4c Add rolling average to mood statistics chart
Add ordering clause to Status objects
2021-02-22 07:51:27 +01:00
2ffe276304 Make prettier 2021-02-21 21:03:34 +01:00
c2e384cf7a Adding activity output
Bug fixing
2021-02-21 20:59:39 +01:00
7301e2a401 Reworked statistics with HoloViews/Bokeh 2021-02-21 20:13:22 +01:00
67a6be0e3c Implement statistics in Javascript only to soon replace this with HoloViews 2021-02-21 11:24:25 +01:00
6b1ff42f2f Fix matrix message delivery? 2021-02-20 14:17:52 +00:00
90474c3bb5 Use pip versions of Kumi modules 2021-02-20 13:52:46 +00:00
67d303f9f9 Template tag for PIL image display 2021-02-20 13:39:54 +00:00
837d0313ca Blindly code Matrix gateway 2021-02-17 06:43:24 +00:00
9a965de742 Fix mindless copy-paste programming 2021-02-17 05:55:04 +00:00
399be9aafc Rename meds to health
Add more health related models
Add activity categories
2021-02-16 12:15:56 +00:00
e4ec8200b7 Calculate average moods from average daily moods 2021-01-17 16:49:22 +01:00
c9dbd0baca Add missing max_length to CharField 2021-01-17 16:47:55 +01:00
bc03763a3a Fix notification sending for multiple dispatchers or no specified dispatchers 2021-01-15 15:14:08 +01:00
0658a4f587 Prepare models for habits
Add fields for weekdays and days of month
Update requirements to include dateutil, polymorphic, multiselectfield
2021-01-08 18:32:25 +01:00