Feature: Date night planning & logging with quality ratings (#46 slice 2) #48

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

Goal

Add date night tracking as a specialized interaction type with quality ratings, planner attribution, and recurring date night support.

Data Model Changes

// New fields on Interaction (only for romantic date nights)
interface Interaction {
  // existing fields...
  qualityRating?: 1 | 2 | 3 | 4 | 5;  // user's rating of the date
  plannedBy?: "me" | "them" | "mutual"; // who planned it
  isDateNight?: boolean;                 // tag for romantic date interactions
}

Scope

  • Add qualityRating, plannedBy, isDateNight to Interaction type + schema
  • Dexie migration for new fields
  • Log interaction form: optional "Date Night" toggle on In-Person interactions for romantic partners
  • When toggled: show quality rating picker (1-5 stars), planner attribution radio
  • Person detail page: "Date Nights" section showing date night history with ratings
  • Date night summary stats: average rating, count, who plans more often

Acceptance Criteria

  • Interaction model supports qualityRating, plannedBy, isDateNight
  • Log form shows date night toggle for romantic-type partners
  • Quality rating picker (1-5) and planner attribution appear when date night is on
  • Person detail shows date night history section
  • Date night stats: count, average rating, planner split
  • Typecheck passes

Dependencies

  • Requires #47 (romantic relationship type + romanceFields)

Decomposed from #46

## Goal Add date night tracking as a specialized interaction type with quality ratings, planner attribution, and recurring date night support. ## Data Model Changes ```typescript // New fields on Interaction (only for romantic date nights) interface Interaction { // existing fields... qualityRating?: 1 | 2 | 3 | 4 | 5; // user's rating of the date plannedBy?: "me" | "them" | "mutual"; // who planned it isDateNight?: boolean; // tag for romantic date interactions } ``` ## Scope - Add `qualityRating`, `plannedBy`, `isDateNight` to `Interaction` type + schema - Dexie migration for new fields - Log interaction form: optional "Date Night" toggle on In-Person interactions for romantic partners - When toggled: show quality rating picker (1-5 stars), planner attribution radio - Person detail page: "Date Nights" section showing date night history with ratings - Date night summary stats: average rating, count, who plans more often ## Acceptance Criteria - [ ] Interaction model supports `qualityRating`, `plannedBy`, `isDateNight` - [ ] Log form shows date night toggle for romantic-type partners - [ ] Quality rating picker (1-5) and planner attribution appear when date night is on - [ ] Person detail shows date night history section - [ ] Date night stats: count, average rating, planner split - [ ] Typecheck passes ## Dependencies - Requires #47 (romantic relationship type + romanceFields) --- _Decomposed from #46_
Author
Owner

✅ Completed. Changes made:

  • Added isDateNight, qualityRating, plannedBy fields to Interaction (completed in #47)
  • Updated LogInteraction.tsx form with:
    • Date Night toggle for In-Person interactions with romantic partners
    • Quality rating picker (1-5 stars) when date night is enabled
    • Planner attribution (Me, Partner, Both) when date night is enabled
  • Updated PersonDetail.tsx to show:
    • Date Night badge on interactions in history
    • Star rating display on date night interactions
    • Date Nights section on Overview tab for romantic partners with stats:
      • Total count, average rating, planner split
  • All typechecks and tests pass
✅ Completed. Changes made: - Added `isDateNight`, `qualityRating`, `plannedBy` fields to `Interaction` (completed in #47) - Updated `LogInteraction.tsx` form with: - Date Night toggle for In-Person interactions with romantic partners - Quality rating picker (1-5 stars) when date night is enabled - Planner attribution (Me, Partner, Both) when date night is enabled - Updated `PersonDetail.tsx` to show: - Date Night badge on interactions in history - Star rating display on date night interactions - Date Nights section on Overview tab for romantic partners with stats: - Total count, average rating, planner split - All typechecks and tests pass
Mark closed this issue 2026-05-30 16:24:51 +00:00
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#48
No description provided.