How silentkeyboard1/justmoods works
JustMoods is a mobile mood-tracking app whose main flow is to record a daily mood, view it on a calendar, and review mood history and streaks. The home screen also tracks three daily wins; settings support data import/export, deletion, name changes, and themes, while a notification service schedules reminders. The graph follows the documented capabilities and visible imports/calls. Several screens are only partially sampled, so unverified links between them and the underlying data are omitted.
Main entry points: CalendarContext.tsx Mood state · NotificationService.ts Reminder service · ThemeContext.tsx Theme state · index.tsx Daily tasks
Components 16
Daily use
- Daily tasks
app/(tabs)/index.tsx - Add mood
app/(tabs)/two.tsx - Sleep tracking
app/(tabs)/four.tsx
Mood and insights
- Overview
app/(tabs)/three.tsx - Mood calendar
components/Calendar.tsx - Mood chart
components/DonutChart.tsx
Settings and reminders
- Settings
app/settings.tsx - Reminder service
services/NotificationService.ts
Shared state and UI
- App navigation
app/(tabs)/_layout.tsx - App providers
app/_layout.tsx - Mood state
context/CalendarContext.tsx - Theme state
context/ThemeContext.tsx - Color palette
constants/Colors.ts
Other components
- App user
- Local storage
- Device notifications
Connections 26
- App user → Daily tasks: uses
README.md - App user → Add mood: records mood
README.md - App user → Overview: reviews data
README.md - App user → Settings: manages settings
README.md - App providers → Mood state: provides
app/_layout.tsx - App providers → Theme state: provides
app/_layout.tsx - App providers → Reminder service: initializes
app/_layout.tsx - App navigation → Theme state: reads
app/(tabs)/_layout.tsx - Daily tasks → Local storage: reads/writes
app/(tabs)/index.tsx - Daily tasks → Theme state: reads
app/(tabs)/index.tsx - Daily tasks → Settings: opens
app/(tabs)/index.tsx - Add mood → Mood state: uses
app/(tabs)/two.tsx - Add mood → Reminder service: reschedules
app/(tabs)/two.tsx - Sleep tracking → Reminder service: schedules
app/(tabs)/four.tsx - Overview → Mood state: reads
app/(tabs)/three.tsx - Overview → Mood chart: renders
app/(tabs)/three.tsx - Mood calendar → Mood state: reads
components/Calendar.tsx - Settings → Mood state: imports/clears
app/settings.tsx - Settings → Theme state: changes
app/settings.tsx - Mood state → Local storage: loads/saves
context/CalendarContext.tsx - Theme state → Local storage: loads/saves
context/ThemeContext.tsx - Reminder service → Local storage: stores IDs
services/NotificationService.ts - Reminder service → Device notifications: schedules/cancels
services/NotificationService.ts - App navigation → Color palette: uses
app/(tabs)/_layout.tsx - Overview → Color palette: uses
app/(tabs)/three.tsx - Mood calendar → Color palette: uses
components/Calendar.tsx