Skip to content

Steam gaming tab, segmented tabs, star rating fix#6

Merged
marksmith1994 merged 4 commits into
masterfrom
claude/add-claude-documentation-MabfT
May 21, 2026
Merged

Steam gaming tab, segmented tabs, star rating fix#6
marksmith1994 merged 4 commits into
masterfrom
claude/add-claude-documentation-MabfT

Conversation

@marksmith1994

Copy link
Copy Markdown
Owner

Summary

  • Star fix — gold ★ for full, dimmed ★ for half, for empty; gradient clip replaced with opacity (works on mobile Chrome)
  • Segmented tab control — replaced Bootstrap nav-tabs with a modern pill-style switcher; active tab fills with primary colour, always readable
  • Steam cache — extended TTL from 24h to 7 days
  • Steam tab enhancements — profile card (avatar, name, level, total games, total hours), "Playing recently" section with green highlight, "Most played" section heading; tab badge now shows total library size

Before merging

Add these to Azure App Settings if not already done:

Name Value
Steam__ApiKey (your key)
Steam__UserId 76561198065733619

Test plan

  • Stars show correctly — full gold, half dimmed, empty hollow
  • Tabs readable in both selected and unselected state
  • Gaming tab shows profile card with avatar and stats
  • Recently played section appears if any games played in last 2 weeks
  • Most played grid shows top 15 games with artwork

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN


Generated by Claude Code

claude added 4 commits May 21, 2026 12:51
Gradient clip approach was unreliable on mobile Chrome — all stars
rendered the same colour. Replaced with:
- full: gold ★
- half: gold ★ at 45% opacity
- empty: grey ☆ (different character for guaranteed visual difference)

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN
Modern pill-style tab switcher: contained rounded group, active tab
fills with primary colour, inactive shows muted text with hover state.
Count badges show white on active tab, primary-on-white when inactive.

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN
- SteamService now fetches profile (avatar, name, level) and Steam level
  in parallel alongside owned games; returns a single SteamSummary record
- Profile card shows avatar, display name, level, total games owned, total
  hours across all games
- 'Playing recently' section highlights games with playtime in last 2 weeks,
  showing both total hours and recent hours
- 'Most played' section unchanged, now with section heading
- Gaming tab pill shows total library size instead of top-15 count

https://claude.ai/code/session_01Qj49iUs6QNA2MQcCVP5cFN
@marksmith1994 marksmith1994 merged commit 1cce028 into master May 21, 2026
3 checks passed
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.

2 participants