镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(baseball-scoreboard): series summary no longer prints over the score (1.54.1) - #588

Merged
ChuckBuilds merged 2 commits into
mainfrom
claude/mlb-scoreboard-layout-0cd779
Oct 1, 2026
Merged

ChuckBuilds merged 2 commits into
mainfrom
claude/mlb-scoreboard-layout-0cd779

Conversation

@ChuckBuilds

@ChuckBuilds ChuckBuilds commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Problem

A user reported a garbled Recent card: with display_options.show_series_summary on, "Series tied 1-1" was drawn at the vertical centre of the full-screen card, directly over the score and the "Final/10" text.

Fix

The series line now shares the card's bottom row with the date (baseball.py). It takes the first of these that fits between the record corners:

  1. date - series
  2. series alone
  3. compact spelling (Tied 1-1, NYY 2-1, NYY W 4-2)
  4. the same candidates in the small 4x6 font, with the date row cleared

The series line is never dropped. Off by default, Recent card only.

Known gap: a 64-wide panel with both team records on leaves no room between the record corners; the line is drawn and can touch them. Fixing it means changing record drawing in the shared sports.py.

Tests

  • New test_series_summary_layout.py (widths 64/96/128/192, with and without records).
  • test_recent_game_date, test_inert_settings_are_hidden, test_traditional_scoreboard, test_scorebug_element_toggles, test_settings_reach_the_manager, schema-settings and version-bump checks pass.
  • Core check_plugin.py harness not run locally.
  • Rendered at 128x32 and 64x32, with and without records, to confirm placement.

Manifest bumped to 1.54.1 (above main's 1.54.0); plugins.json regenerated.

🤖 Generated with Claude Code

…ore (1.53.2)

show_series_summary drew the series line at the vertical centre of the
full-screen Recent card, on top of the score and the Final/N text. It now
shares the bottom row with the date: date plus series when they fit between
the record corners, the series alone otherwise, then a compact spelling
("Tied 1-1") and finally the small 4x6 font, so the line is never dropped.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 9ba9d28f-93ae-4a25-9d34-3c2122959142

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 52 complexity

Metric Results
Complexity 52

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Re-bump baseball-scoreboard to 1.54.1 above main's 1.54.0 (live Vegas cards)
and regenerate plugins.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ChuckBuilds ChuckBuilds changed the title fix(baseball-scoreboard): series summary no longer prints over the score (1.53.2) fix(baseball-scoreboard): series summary no longer prints over the score (1.54.1) Oct 1, 2026
@ChuckBuilds
ChuckBuilds merged commit a11cf8c into main Oct 1, 2026
5 checks passed
@ChuckBuilds
ChuckBuilds deleted the claude/mlb-scoreboard-layout-0cd779 branch October 1, 2026 13:42
ChuckBuilds added a commit that referenced this pull request Oct 1, 2026
Baseball._recent_date_text (#588) is not a copy of the promoted method: with
a series line the full-screen Recent card draws its own bottom row, so it
blanks the date there and otherwise defers to core's via super(). KEEP it
with that reason. Found by CI: the local guard loop recorded the exit code
of a command substitution rather than of the guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant