Skip to content

Conversation

akshay0611
Copy link
Contributor

This PR addresses Issue #306 by upgrading the "Quick Self-Check" feature in pages/WellnessResourceHub.py to support historical tracking and visualization of well-being metrics.

Changes Made:

  • Data Persistence: User submissions for stress, sleep, and mood are now stored with timestamps in the session state.
  • Trend Visualization: Added a line chart (st.line_chart) to display historical trends for stress, sleep, and mood.
  • Raw Data View: Implemented an expander section where users can view their past submissions in a tabular format.

Benefits:

  • Transforms the Quick Self-Check from a one-time tool into a long-term self-monitoring feature.
  • Provides users with clear insights into their well-being trends over time.
  • Encourages consistent self-assessment and reflection.

Screenshot:

image

It fixes #306

Load blog posts from json file instead of hardcoding them in the module
Add new resources across meditation, fitness, nutrition, sleep, podcasts, books, and crisis support sections to provide more comprehensive wellness options
Add optional notes to mood entries and migrate old string format to dicts
Display moods in reverse chronological order with formatted markdown
…nner

Add a button that suggests random wellness tasks from a predefined list when clicked. The suggested task is automatically added to the user's task list.
- Enhance mood tracker with analysis visualization using pandas
…ization

- Store user responses in session state with timestamps
- Display historical data as line chart and raw table
- Update UI text to reflect new tracking feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance Quick Self-Check with History Tracking and Visualization
1 participant