Skip to content

docs(hockey-scoreboard): document all 226 settings, with real renders - #433

Open
ChuckBuilds wants to merge 1 commit into
mainfrom
docs/hockey-readme
Open

docs(hockey-scoreboard): document all 226 settings, with real renders#433
ChuckBuilds wants to merge 1 commit into
mainfrom
docs/hockey-readme

Conversation

@ChuckBuilds

Copy link
Copy Markdown
Owner

The hockey README ran to 894 lines and still covered a fraction of the 226 settings, with no images. It now documents every schema leaf — token audit: 0 undocumented — with five renders.

Kept: the ChuckBuilds links block, rotation and resume semantics, the non-favorite dwell table, the exclude-teams note, and all three example configurations.

Structure

Three leagues, 53 leaves each. The two NCAA blocks are identical to each other; the NHL block differs in nine defaults — enabled, live_priority, display_durations.live, both update_intervals, and four of the five display_options. Documented as a nine-row comparison plus one <league> table, rather than 106 duplicated rows.

Two settings that do not work

#431show_powerplay draws nothing. ESPN's isPowerPlay is read (hockey.py:83), stored as power_play (hockey.py:109), and the setting is resolved into the manager config (manager.py:825, :849). Nothing consumes either. I grepped the core as well: src/base_classes/hockey.py:116 and src/base_classes/api_extractors.py:308 also only produce power_play. No value of the setting changes the render — which is why there is deliberately no power-play image in this PR, and the fixture comment says so.

#432 — shots never show on scroll or Vegas cards. The switch card reads the resolved show_shots_on_goal; game_renderer.py:651 reads a flat show_shots at the league root, which the schema declares nowhere, so it is always False. Two resolution points for one feature.

Renders

shots on goal

Five images from docs/assets/hockey-scoreboard/shots.json: hero, the three display modes, the three period states (P2 / Final / Final/OT), show_shots_on_goal on and off, show_records on and off, and four panel sizes. Real NHL crests.

Also documented

The per-league display_options copy wins over the defaults copy and several of its defaults differshow_shots_on_goal is false under defaults and true under nhl, show_records and show_ranking invert between NHL and NCAA. Changing the defaults copy on a UI-written config appears to do nothing. That is the same trap as #427 and #429, now called out in both the settings reference and troubleshooting.

nhl.filtering.other_games_min_quality still carries the stale broadcast text covered by #426; the README notes it was retired.

Checks

  • check_plugin.py: zero FAIL
  • Config-token audit: 226 schema leaves, 0 undocumented
  • Every example config validated against the schema, including nesting depth and additionalProperties
  • Every documented default read back from config_schema.json, including all nine per-league divergences
  • Manifest bumped 1.25.1 -> 1.25.2 (PATCH, docs-only), plugins.json regenerated

Does not touch the shared sports.py lineage.

Dependency

Carries the docs-tooling commits from #423 so this branch renders standalone; identical in both branches and they collapse on merge.

🤖 Generated with Claude Code

The README ran to 894 lines and still covered a fraction of the 226
settings, with no images. It now documents every schema leaf -- verified
by a token audit -- with five renders, and keeps the ChuckBuilds links
block, the rotation and resume semantics, the non-favorite dwell table,
the exclude-teams note and all three example configurations.

Three leagues, 53 leaves each. The two NCAA blocks are identical; the
NHL block differs in nine defaults, so that is a table rather than 106
duplicated rows.

Two settings do not work, and the README now says so rather than
describing them as features:

- show_powerplay is resolved into the manager config and power_play is
  extracted onto the game dict, but nothing in this plugin or in the
  core draws either. No value changes the render. Filed as #431.
- Scroll and Vegas cards gate the shot line on a flat show_shots key at
  the league root, which the schema never declares, so it reads False
  whatever show_shots_on_goal is set to. Switch mode is unaffected.
  Filed as #432.

Also documented: the per-league display_options copy wins over the
defaults copy and several of its defaults differ -- show_shots_on_goal
is false under defaults and true under nhl -- which presents as a
setting that does nothing.

check_plugin.py passes with no FAIL.

Carries the docs-tooling changes from #423, which this render depends on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 4, 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: Team

Run ID: 2004f014-19a2-45ed-bee6-fba9b73023cb


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 18 complexity

Metric Results
Complexity 18

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.

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