Skip to content

feat: Add mood statistics and trends visualization dashboard - #334

Merged
Nitya-003 merged 2 commits into
Nitya-003:mainfrom
shri8977:restructure/frontend-backend-new
Jul 22, 2026
Merged

feat: Add mood statistics and trends visualization dashboard#334
Nitya-003 merged 2 commits into
Nitya-003:mainfrom
shri8977:restructure/frontend-backend-new

Conversation

@shri8977

Copy link
Copy Markdown
Contributor

📝 Pull Request Summary

Added richer analytics to the existing frontend/app/analytics/page.tsx, including:

  • Weekly mood trend line chart
  • Peak mood hours bar chart
  • Current streak / longest streak / latest reflection summary cards
  • Helper logic in frontend/lib/moodAnalytics.ts
  • Regression tests in frontend/lib/moodAnalytics.test.mjs

Also updated package metadata as part of the frontend branch push.

🔗 Related Issue

Closes #49

🛠️ Type of Change

  • 🚀 New Feature
  • 🐛 Bug Fix
  • 📄 Documentation Update
  • 🎨 UI/UX Enhancement

📸 Screenshots (If applicable)

No screenshot available; UI additions are chart and dashboard improvements.

✅ Contributor Checklist

  • I have tested my changes locally.
  • My code follows the Apple-level design guidelines.
  • I have updated the README if necessary.
  • (Apertre 3.0) I have added relevant badges/labels.

By submitting this PR, I agree to contribute my work under the MIT License.

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

@shri8977 is attempting to deploy a commit to the Nitya Gosain's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Nitya-003
Nitya-003 merged commit 251423b into Nitya-003:main Jul 22, 2026
3 of 5 checks passed
@Nitya-003 Nitya-003 added enhancement New feature or request Medium 30 pts SSoC26 labels Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Medium 30 pts SSoC26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add mood statistics and trends visualization dashboard

2 participants