Daily re-clarification surface floods with waiting-for tasks as "actionless" (#289)#295
Conversation
…rface (#289) (#issue-289)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
WalkthroughThis PR implements issue Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@CodeRabbit resume |
✅ Actions performedReviews resumed. |
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
|
Merge conflicts resolved. Merged main into the feature branch, resolving a |
Summary
_needsReviewWhereintodo_dao.dartso the daily Review Next Actions step stops flooding with waiting-fors whosenext_action_textis legitimately empty. The stale branch is untouched, so a waiting-for nudged more recently than it was last clarified still surfaces.readsFromforwatchNeedsReview/getNeedsReview/getNeedsReviewCount/isNeedsReviewfrom{todos}to{todos, todoTags, tags}so Drift invalidates the stream when a person tag is attached or detached — without this, a newly tagged task would linger on the daily card until cold reload.staleWaitingForReclarifyHintvariant totask_review_step.dart: stale delegated tasks now badge with "Waiting for {person} — still waiting?" and default to a one-tap "Still waiting" action that stampslast_clarified_atwithout a person-picker round trip.FocusSessionPlanningNotifier.advanceStepvia a single batchedgetPersonTagsForTodoscall and stored them onFocusSessionPlanningState.reviewPersonTags, so the card renders delegate names without a per-frame DAO call.Test plan
intent='next'task with a person tag and emptynext_action_textdoes NOT appear inwatchNeedsReview().last_next_action_completion_at > last_clarified_atDOES appear (stale branch still fires).TaskReviewSteprenders thestaleWaitingForbadge with the delegate name and "Still waiting" as the primary action for a stale waiting-for.last_clarified_atand clears the card without opening the person picker.🤖 Generated with Claude Code
Closes #289