feat: redesign /refractor status with rich Unicode display #129

Merged
cal merged 1 commits from feat/refractor-status-redesign into main 2026-03-26 03:50:43 +00:00
Owner

Summary

  • Replace ASCII progress bars with Unicode block characters (▰▱) and tier-specific symbols (○ ◈ ◆ ✦ ★)
  • Use get_team_embed() for team color, logo, and branded footer instead of hardcoded purple
  • Add tier distribution summary header and percentage display
  • Tier-specific accent colors for single-tier filtered views

Test plan

  • All 105 refractor unit tests pass
  • Manual test /refractor status in Discord
  • Verify pagination buttons work with new embed format
  • Check single-tier filter applies correct accent color
## Summary - Replace ASCII progress bars with Unicode block characters (▰▱) and tier-specific symbols (○ ◈ ◆ ✦ ★) - Use `get_team_embed()` for team color, logo, and branded footer instead of hardcoded purple - Add tier distribution summary header and percentage display - Tier-specific accent colors for single-tier filtered views ## Test plan - [x] All 105 refractor unit tests pass - [ ] Manual test `/refractor status` in Discord - [ ] Verify pagination buttons work with new embed format - [ ] Check single-tier filter applies correct accent color
cal added 1 commit 2026-03-26 03:47:08 +00:00
feat: redesign /refractor status with rich Unicode display and team branding
All checks were successful
Ruff Lint / lint (pull_request) Successful in 21s
cd822857bf
Replace plain ASCII progress bars and text badges with a polished embed:
- Unicode block progress bars (▰▱) replacing ASCII [===---]
- Tier-specific symbols (○ ◈ ◆ ✦ ★) instead of [BC]/[R]/[GR]/[SF] badges
- Team-branded embeds via get_team_embed (color, logo, season footer)
- Tier distribution summary header in code block
- Percentage display and backtick-wrapped values
- Tier-specific accent colors for single-tier filtered views
- Sparkle treatment for fully evolved cards (✧ FULLY EVOLVED ✧)

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

Reviewed and approved. Clean UI-only redesign — Unicode progress bars, tier symbols, team branding via get_team_embed(). Three items verified: (1) production code correctly reads current_value from the API response shape; (2) negative-value clamp added to render_progress_bar is sound and tested; (3) removal of TestTierBadgesFormatConsistency is correct since cogs.refractor no longer uses bracket badges — replacement TestTierSymbolsCompleteness maintains equivalent coverage. build_status_embed footer append is correct. build_tier_summary page-scoped counting is acceptable. All 105 tests pass.

Reviewed and approved. Clean UI-only redesign — Unicode progress bars, tier symbols, team branding via get_team_embed(). Three items verified: (1) production code correctly reads current_value from the API response shape; (2) negative-value clamp added to render_progress_bar is sound and tested; (3) removal of TestTierBadgesFormatConsistency is correct since cogs.refractor no longer uses bracket badges — replacement TestTierSymbolsCompleteness maintains equivalent coverage. build_status_embed footer append is correct. build_tier_summary page-scoped counting is acceptable. All 105 tests pass.
cal merged commit 64c656ce91 into main 2026-03-26 03:50:43 +00:00
cal deleted branch feat/refractor-status-redesign 2026-03-26 03:50:43 +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#129
No description provided.