57358797e1
- 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
39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
# IceGlass
|
|
|
|
A macOS menu bar app for NHL game situational awareness.
|
|
|
|
## Key Features
|
|
|
|
- NHL shield icon in the menu bar with game count
|
|
- Shows games from yesterday, today, and tomorrow grouped by date (configurable)
|
|
- Regular-season rows show league-wide game number (`#547 NYR @ WAS …`)
|
|
- During playoffs, a ROUND section lists every active series with its series score, next game-in-series number, and upcoming tip-off time
|
|
- Game format: `NYR @ WAS 0:2 (FINAL)` / `DAL @ TOR Today @ 7:30 PM`
|
|
- Click a game to open NHL GameCenter; option-click for NHL Videocast
|
|
- Goal scored notifications with scoring team logo
|
|
- Game start notifications on FUT→LIVE state transition
|
|
- Dynamic polling: 7s during live games, scales back when idle
|
|
- Display Options: choose which days to show (yesterday/today/tomorrow)
|
|
- Refresh Now (⌘R) for immediate updates
|
|
- Launch at Login support
|
|
- About window via IndieAbout
|
|
|
|
## Building
|
|
|
|
Requires XcodeGen to generate the project:
|
|
|
|
```bash
|
|
xcodegen generate
|
|
xcodebuild -scheme IceGlass -configuration Debug build
|
|
```
|
|
|
|
## Architecture
|
|
|
|
Menu bar app using singleton services pattern:
|
|
- **MainService** — polls NHL scoreboard API, manages game data
|
|
- **MenuManager** — builds dropdown menu with date-grouped games
|
|
- **StatusItemManager** — manages menu bar icon
|
|
- **NotificationManager** — game start and goal scored notifications with team logos
|
|
|
|
Uses the NHL Web API (`api-web.nhle.com/v1/scoreboard/now`) for league-wide schedule and score data.
|