Skip to content

feat: Complete Mood Suggestions Data for All 38 Moods #218

@Suvam-paul145

Description

@Suvam-paul145

🔎 Problem Description

The lib/moodData.ts file defines 38 distinct moods, but the suggestions object only contains entries for approximately 8 moods (happy, sad, anxious, excited, calm, angry, hopeful, lonely). The remaining 30 moods fall back to a generic default suggestion, which degrades the personalized experience that is core to InnerHue's value proposition.

✨ Proposed Solution

Populate the suggestions object with 2–3 unique suggestions per mood for all 38 moods. Each suggestion should include:

  • A reflective journal prompt tailored to the emotion
  • An inspirational quote from a renowned author relevant to the mood
  • Emotion keywords for vocabulary expansion
  • A music recommendation with genre and description

🛠️ My Approach

  1. Audit lib/moodData.ts to identify all moods missing suggestions.
  2. Research emotion-specific quotes, journal prompts, and keyword clusters for each mood.
  3. Add suggestions following the existing data structure (MoodSuggestion type).
  4. Validate that getSuggestions(moodId) returns mood-specific data for all 38 moods.
  5. Update unit tests (if any) to cover the new data.

📊 Flow Diagram

flowchart TD
    A[User selects a mood] --> B{Suggestions exist for mood?}
    B -- Yes --> C[Return mood-specific suggestions]
    B -- No --> D[Return generic fallback]
    C --> E[Display: Journal Prompt + Quote + Keywords + Music]
    D --> E

    style B fill:#FF7043,color:#fff
    style C fill:#66BB6A,color:#fff
    style D fill:#42A5F5,color:#fff
Loading

Files to modify: lib/moodData.ts
Estimated effort: ~4 hours


I want to work in this issue please assign me this issue under apertre 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions