Libra CodeHub
CedarCopilot/cedar-mail
staging
Code
Pull requests
8
Commits
Insights
Runs
cedar-mail
/
apps
/
mail
/
modules
/
userTasks
/
slice
userTasksSlice.ts
fix(tasks): fix task-filters test fixture and teammate AOP types in filter menu Add filterTypes to the TaskFilters test fixture and cover the types facet (makeTaskFilter + taskFacetCounts) — the missing required field was breaking tsc and the whole Jest suite (Mail app tests CI failure on #2801). Also fix the Type filter submenu to include teammate-owned AOPs: it only listed the caller's own useAOPs() result, so a task filed against a teammate's deal (hydrateTaskConversations is org-wide) could carry an aopId/aopName that never appeared as a selectable option, even though it was already counted by FACET_DEFS.types.keyOf. The submenu now unions useAOPs() with the distinct aopId/aopName pairs observed on the loaded tasks, deduped by aopId. Requires threading aopId/aopName through HydratedTaskConversation, which the server already returns but the client type didn't declare. Co-Authored-By: Claude Sonnet 5 <<email>> Claude-Session: https://claude.ai/code/session_019jTe7TuDHKYaFL6Ny2Z5h6
Sep 16, 2026, 7:20 AM