plane
plane copied to clipboard
Fix: Intake open count not updating after accept, decline, or duplicate
This pull request updates the inbox issue actions in inbox-issue-header.tsx to ensure that the inbox issue list is always refreshed after key actions (accept, decline, duplicate). This helps keep the UI in sync with the latest data after any status changes.
Inbox issue list refresh improvements:
- The
fetchInboxIssuesfunction fromuseProjectInboxis now imported and used to refresh the issue list after accepting, declining, or marking an issue as duplicate. - After accepting, declining, or marking an issue as duplicate,
fetchInboxIssuesis called to reload the inbox issues, ensuring the UI reflects the latest state. [1] [2]
Fixes #8473
[!NOTE] Ensures the intake inbox stays in sync after key actions.
- Import and invoke
fetchInboxIssuesfromuseProjectInboxafteraccept,decline, andmark as duplicateactions ininbox-issue-header.tsxto refresh the list (with "filter-loading"), wrapped in try/catch with console logging- No changes to snooze/delete flows or navigation
Written by Cursor Bugbot for commit fb92856b4de77425ec1915169de319c3c130f8e7. This will update automatically on new commits. Configure here.
Summary by CodeRabbit
- Bug Fixes
- Inbox now automatically refreshes after accepting, declining, or marking items as duplicates so it stays up-to-date.
- Improved reliability when refreshing the inbox with better error handling and logging to surface refresh failures.
✏️ Tip: You can customize this high-level summary in your review settings.