Relationship Goals — define & track intentional relationship growth — Phase 4: Smart suggestions & cadence enforcement #102
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4: Smart suggestions & cadence enforcement
Surface goal-driven nudges in existing Kin surfaces.
Decomposed from kimi_agent_kin_app_sync#80
Phase 4 Complete ✅Implemented Smart suggestions & cadence enforcement for Relationship Goals:### 1. Dashboard Priority Today — Goal-driven actions- Added
goalDrivenPrioritiescomputed inPrioritySection(Home.tsx)- Active goals with cadence are checked against lastContact date- Priority cards show "Goal Overdue" (red) or "Goal Due Soon" (amber) badges- Cards display goal title, cadence info, and days remaining- Sorted by urgency (high priority first, then closest to deadline)### 2. Goal progress indicator in LogInteraction- When a person is selected in the interaction logger, their active goals are shown- Each goal displays: title, priority level (P1/P2/P3), step progress bar (e.g. 2/5)- Cadence goals show status: "On track", "Xd left", or "Overdue"- Component uses existingdaysSinceand cadence-to-days conversion### 3. Goal cadence reminders (native notifications)- AddedscheduleGoalReminder,cancelGoalReminder,scheduleAllGoalRemindersin notifications.ts- Reminders automatically schedule when goals are loaded (vialoadGoalsin the store)- Uses Capacitor LocalNotifications (same pattern as event reminders)- Scheduled for tomorrow at 10am if permission granted- Exported through use-native.ts barrel### Files modified:- src/pages/Home.tsx — PrioritySection with goal-driven cards- src/pages/LogInteraction.tsx — Goal progress indicators on person select- src/lib/native/notifications.ts — Goal reminder scheduling functions- src/lib/native/use-native.ts — Export new notification functions- src/lib/store.ts — Auto-schedule reminders on goal load---Issue closed by fixit pipeline overseer