fix: context-aware empty state messages for /refractor status #128

Merged
cal merged 1 commits from fix/refractor-empty-filter-message into main 2026-03-25 23:57:55 +00:00
Owner

Summary

When filters return 0 results, show which filters were applied instead of the misleading "No refractor data found for your team."

Example: No cards match your filters (T2 — Refractor). Try /refractor status with no filters to see all cards.

The unfiltered empty state ("No refractor data found") is unchanged.

Test plan

  • /refractor status tier:T2 with 0 results shows filter-aware message
  • /refractor status with no team still shows "sign up with /newteam"
  • /refractor status with team but 0 cards shows "No refractor data"
## Summary When filters return 0 results, show which filters were applied instead of the misleading "No refractor data found for your team." Example: `No cards match your filters (T2 — Refractor). Try /refractor status with no filters to see all cards.` The unfiltered empty state ("No refractor data found") is unchanged. ## Test plan - [ ] `/refractor status tier:T2` with 0 results shows filter-aware message - [ ] `/refractor status` with no team still shows "sign up with /newteam" - [ ] `/refractor status` with team but 0 cards shows "No refractor data"
cal added 1 commit 2026-03-25 23:57:46 +00:00
fix: context-aware empty state messages for /refractor status
All checks were successful
Ruff Lint / lint (pull_request) Successful in 23s
6239f1177c
When filters are active and return 0 results, show which filters were
applied and suggest removing them, instead of the misleading
"No refractor data found for your team."

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude approved these changes 2026-03-25 23:57:52 +00:00
Claude left a comment
Collaborator

Approved via pd-pr

Approved via pd-pr
cal merged commit 34774290b8 into main 2026-03-25 23:57:55 +00:00
cal deleted branch fix/refractor-empty-filter-message 2026-03-25 23:57:55 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
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: cal/paper-dynasty-discord#128
No description provided.