Feature: Romantic mood/energy tags + pattern detection (#46 slice 6) #52

Closed
opened 2026-05-30 14:15:46 +00:00 by Mark · 1 comment
Owner

Goal

Add romantic mood/energy tags on interactions and pattern detection correlating mood with time periods and life events.

Data Model Changes

// Extends existing mood field on Interaction with romantic-specific values
// The existing mood field already supports strings — add romantic mood values
// Romantic mood options: "loving", "connected", "distant", "passionate", "tender", "playful"

Scope

  • Expand mood field documentation/options to include romantic mood tags
  • Log interaction form: mood picker shows romantic-specific options for romantic partners
  • Pattern detection: correlate mood with date nights, conflict/repair cycles, milestones
  • Display mood trend on person detail for romantic partners
  • Uses existing Interaction.mood field — no schema change needed, just UI expansion

Acceptance Criteria

  • Romantic mood options appear for romantic-type partners
  • Mood history renders on person detail
  • Pattern detection: mood trend correlated with recent events
  • No schema changes required (reuses existing mood field)
  • Typecheck passes

Dependencies

  • Requires #47 (romantic relationship type)

Decomposed from #46

## Goal Add romantic mood/energy tags on interactions and pattern detection correlating mood with time periods and life events. ## Data Model Changes ```typescript // Extends existing mood field on Interaction with romantic-specific values // The existing mood field already supports strings — add romantic mood values // Romantic mood options: "loving", "connected", "distant", "passionate", "tender", "playful" ``` ## Scope - Expand mood field documentation/options to include romantic mood tags - Log interaction form: mood picker shows romantic-specific options for romantic partners - Pattern detection: correlate mood with date nights, conflict/repair cycles, milestones - Display mood trend on person detail for romantic partners - Uses existing `Interaction.mood` field — no schema change needed, just UI expansion ## Acceptance Criteria - [ ] Romantic mood options appear for romantic-type partners - [ ] Mood history renders on person detail - [ ] Pattern detection: mood trend correlated with recent events - [ ] No schema changes required (reuses existing mood field) - [ ] Typecheck passes ## Dependencies - Requires #47 (romantic relationship type) --- _Decomposed from #46_
Mark closed this issue 2026-05-30 21:20:11 +00:00
Author
Owner

Implementation Complete

Changes Made

1. Romantic Mood Tags (src/pages/LogInteraction.tsx)

  • Added 6 new romantic mood options: Loving, Connected, Distant, Passionate, Tender, Playful
  • Each mood has a distinct icon and color
  • Mood picker automatically switches to romantic mood options when selected people include a Romantic/Partner/Spouse relationship type

2. Mood Trend Section (src/pages/PersonDetail.tsx)

  • Added "Mood Trend" panel for romantic partners showing:
    • Most common mood across recent interactions
    • Date night moods (moods after date nights)
    • Conflict moods (moods after conflicts)
    • Recent mood timeline (last 10 mood-tagged interactions)
  • All moods displayed with color-coded badges

Acceptance Criteria Status

  • ✅ Romantic mood options appear for romantic-type partners
  • ✅ Mood history renders on person detail
  • ✅ Pattern detection: mood trend correlated with recent events (date nights, conflicts)
  • ✅ No schema changes required (reuses existing mood field)
  • ✅ All 720 tests pass
  • ✅ Lint clean
## Implementation Complete ### Changes Made **1. Romantic Mood Tags (`src/pages/LogInteraction.tsx`)** - Added 6 new romantic mood options: Loving, Connected, Distant, Passionate, Tender, Playful - Each mood has a distinct icon and color - Mood picker automatically switches to romantic mood options when selected people include a Romantic/Partner/Spouse relationship type **2. Mood Trend Section (`src/pages/PersonDetail.tsx`)** - Added "Mood Trend" panel for romantic partners showing: - Most common mood across recent interactions - Date night moods (moods after date nights) - Conflict moods (moods after conflicts) - Recent mood timeline (last 10 mood-tagged interactions) - All moods displayed with color-coded badges ### Acceptance Criteria Status - ✅ Romantic mood options appear for romantic-type partners - ✅ Mood history renders on person detail - ✅ Pattern detection: mood trend correlated with recent events (date nights, conflicts) - ✅ No schema changes required (reuses existing mood field) - ✅ All 720 tests pass - ✅ Lint clean
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/kimi_agent_kin_app_sync#52
No description provided.