Playoffs:
- List every round played so far (Round 1 → current) instead of only the
current round, on both macOS menu and iPhone
- Strike through the eliminated team's tricode in a finished series and drop
the now-redundant "(Final … wins)" tag on completed earlier rounds
- Refetch the bracket when a finished game implies more completed games than
the cached bracket records, so the series score and round no longer get
stuck on stale data after cold launch or the NHL bracket endpoint's lag
API robustness:
- Tolerate optional gameCenterLink/startTimeUTC on TBD playoff matchups so the
scoreboard decode no longer aborts
- Reject API state regressions via a monotonic FUT→…→OFF progression rank so a
brief glitch can't downgrade a finished game back to "-:-"
Drop the spaces around the colon. Score field is still monospaced so
the home logo lines up across rows; the tighter format reads more
like a hockey score and frees up some horizontal slack on narrow
widths.
Switch the score Text from .monospacedDigit() to .monospaced() so the
dash in the "- : -" pre-game placeholder takes the same character cell
as a digit — home logos now line up across upcoming and finished games.
Series scores keep the dash (it reads as series progress, not a goal
total) but match game scores in secondary color so they sit visually
behind the tricodes.
Game rows now render scores as "2 : 3" (with spaces) in secondary
color so they read as data, not as part of the team-name run.
Pre-game rows show "- : -" in the same slot so tricode columns line
up regardless of whether the game has started — only two-digit scores
push the layout, which doesn't happen in NHL play.
Game and series rows now lead with a 40pt logo + title3-monospaced
tricode + bold inline score + tricode + logo, so the matchup fills
the row's vertical space and reads at a glance. For future games the
score is replaced by an "@" separator. Right-side metadata (game number,
status, kickoff time) stays at subheadline/caption2 so it's secondary.
Tricodes and scores get .lineLimit(1).fixedSize() to keep everything
on one line on tighter widths.
New TeamLogo view loads bundled TeamLogos/{abbrev}.png with a UIImage
cache so scrolling doesn't repeatedly re-decode. GameRow and SeriesRow
now render [logo] TRI @ [logo] TRI with tricodes in a monospaced font
so columns line up regardless of which letters are present. SF Symbol
fallback when an abbrev has no bundled logo (e.g. "TBD" for unfilled
playoff slots).
Two-target restructure: shared sources (models, services, settings,
extensions, team logos) move into Shared/, consumed by both the
existing macOS menu bar app and a new iOS app. MainService no longer
imports AppKit — platform code attaches via a MainServiceObserver
protocol (MacObserverAdapter wires back to MenuManager / StatusItemManager
/ NotificationManager).
iPhone app is a single SwiftUI page mirroring the macOS menu (playoff
round + yesterday/today/tomorrow), with a gear-icon settings sheet
(display option + IndieAbout for license/changelog). Persistent JSON
snapshot in Application Support paints last-known data on cold launch;
"Updated …" header escalates secondary → orange (>5min) → red (>30min)
so staleness is visually unmistakable. Foreground polling, scenePhase
refresh, and pull-to-refresh; no notifications on iOS in v1.
Fires the first time a game transitions from non-over to any over-state
(OVER/FINAL/OFF), so the notification lands when the clock runs out
rather than hours later when NHL statisticians stamp OFF. Shows the
winning team's logo with a "{TEAM} wins" title and final score body.
Deduped by game ID via gameEndsSent; cleared on resetForNewDay.
Dev menu: "Test Game Ended Notification" for manual trigger.
The notification thumbnail's native display size is ~48 physical pixels
(measured empirically with a size-ladder test attached via the dev menu).
Shipping logos at 512×342 forced macOS to downsample ~10×, which is what
was producing the blurry/aliased team logos in banner thumbnails.
- Pre-render logos at 72×72 (1.5× over native; stays sharp, gives a little
extra detail for retina displays without triggering aliasing)
- Trim transparent margins before fitting: NHL brand SVGs pad their
viewBox generously, so the actual logo was only ~60% of the bundled
image. square_logo.swift now scans the alpha channel, crops to the
tight bounding box, then fits aspect-preserved into the 72×72 canvas.
- Drop the 32 unused TeamLogo_*.imageset asset-catalog entries (dead code
since the team-filter feature was removed); notifications load PNGs
from the filesystem bundle subdir
- Move TeamLogos/ → Resources/TeamLogos/ and update project.yml source
paths; excludes: on the recursive scan prevents duplicate flat copies
that were bloating the bundle
- Simplify NotificationManager: drop SVG fallback (macOS doesn't accept
SVG attachments) and content-hash identifier experiments; back to the
minimal working config
- Dev menu: add "Thumbnail Size Test" which fires a ladder of 10 test
notifications (16…128px) for future sizing verification
- Fire a test game-start notification on startup in DEBUG builds so the
dev loop doesn't require clicking through the menu after each launch
- Scripts/square_logo.swift: alpha-bbox trim + aspect-preserved fit
- Fetch NHL standings and surface league/season game counts in the menu bar
- Prefix regular-season rows with the league-wide game number (from gameId)
- New ROUND section shows each active playoff series (matchup, series score,
next game number + time) derived from /v1/playoff-bracket; rows always open
the NHL series page so completed series remain clickable
- Goal notifications include scorer sweater, abbreviated name, and strength
(PPG/SHG/EN), resolved via /v1/gamecenter/{id}/play-by-play
- Drop the per-team filter submenu and NHLTeam enum
- Regenerate AppIcon with the full 10-size macOS set (alpha preserved) so
notifications render the app icon correctly; rename the iOS marketing PNG
to icon-ios-1024.png
- gitignore .claude/ local tooling settings
macOS menu bar app providing NHL game situational awareness with
league-wide scoreboard, dynamic polling, notifications with team
logos, and configurable display options.