Commit graph

31 commits

Author SHA1 Message Date
725f566d97
feat: Enhances asset management for dashboard sections
Introduces methods to manage styles and scripts in dashboard
sections, promoting modularity and reusability.

Updates templates to dynamically render styles and scripts
directly from context, ensuring better integration with
existing features system.

Migrates related static assets to 'mood' section to streamline
the module structure.

These changes enable smoother customization and extendability
of the dashboard's look and feel.

Relates to improved frontend architecture.
2024-11-20 07:41:50 +01:00
7f79a79a17
feat: Enhances navigation with collapsible menus
Introduces NavCollapse to manage grouped navigation items.
Simplifies 'features.py' by organizing items under collapsible sections.
Updates HTML generation for both NavItem and NavCollapse classes.

Improves user experience by improving sidebar organization.
2024-11-19 06:56:52 +01:00
5c7586bb9a
feat: Modularizes dashboard structure
Introduces DashboardSection class to encapsulate dashboard logic,
enabling easier extension and customization. Adds separate mood
and dreams dashboard templates to streamline content rendering.

Refactors main dashboard template to dynamically render content
from enabled modules using a new template tag system, improving
flexibility and maintainability.
2024-11-18 10:49:04 +01:00
841c5e08de fix: Update footer and reorder enabled modules
Revises footer content to include a new company name and links to
the source code repository, enhancing transparency and resource
accessibility.

Reorders the ENABLED_MODULES list to ensure correct load order.
2024-11-17 16:56:25 +01:00
dcb0f66478 feat: Refines HTML structure in dashboard template
Improves readability by adjusting whitespace and formatting.
Enhances visual consistency in card components by updating
CSS classes and HTML structure for better alignment and spacing.
2024-11-17 16:40:14 +01:00
ff70221553 refactor: clean up unused imports and improve code quality
Removed unnecessary imports across various modules to streamline the application's dependencies and improve loading times. Specific changes include the removal of unused Django model and admin imports in several apps, simplifying view imports by eliminating unutilized components, and cleaning up static CSS for better maintainability. Corrections were made to conditional expressions for clearer logic. The removal of the django.test.TestCase import in test files reflects a shift towards a different testing strategy or the current lack of tests. Exception handling has been made more explicit to avoid catching unintended exceptions, paving the way for more robust error handling and logging in the future. Additionally, a new CSS file was added for frontend enhancements, indicating ongoing UI/UX improvements.

These changes collectively aim to make the codebase more maintainable and efficient, reducing clutter and focusing on used functionalities. It's a step towards optimizing the application's performance and ensuring a clean, manageable codebase for future development.
2024-06-02 20:27:02 +02:00
9fbfe583be feat: Enhance data security and introduce heatmap UI
Reinforced user data access rules to bolster security and reorganized distribution files into separate directories for cleaner structure. Added a new heatmap visualization for mood statistics on the dashboard, making user engagements more interactive and insightful. Implemented a JSON view to support the heatmap feature, fetching mood entries within a specified time range.

This change responds to the need for improved data security and a more engaging user interface, directly addressing user feedback for clearer insights into their mood patterns over time.
2024-05-17 15:03:20 +02:00
c1f05fb1bb feat: Added cal-heatmap dependency 2024-05-17 13:36:59 +02: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
2ff91abe82 Migrate to AutoSecretKey
Implement OIDC login
2022-10-25 14:40:48 +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
fb8cb5f298 Prepare for dynamic generation of navigation menus 2021-03-03 11:36:25 +01:00
a8a7637a48 Colored buttons for mood selection 2021-03-01 21:04:44 +01:00
51ee9cd76f Add statistics to sidebar
Fix stupid mistake
2021-02-22 07:59:51 +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
d683f2f2a4 Do not hide buttons on narrow screens – might be ugly but I need those buttons 2021-01-08 12:03:41 +01:00
f021f618f8 Preliminary dream stat template tags 2021-01-01 18:17:10 +01:00
fc7d56680a Dreams module completed (?) 2021-01-01 17:49:39 +01:00
499c573890 Add unit to streak length widget on dashboard 2020-12-31 22:22:21 +01:00
4e4d47a9ad Add registration form
Prepare for closed registrations (will be default probably)
2020-12-31 22:17:02 +01:00
64a757b2de Implement Telegram notifications
Some refactoring
2020-12-29 17:26:48 +01:00
aa8a2a6b9c Modify CSS to work in S3 configuration 2020-12-27 19:30:35 +01:00
e57bd452cb Initial commit 2020-12-27 18:49:54 +01:00