Skip to content

Show every player's Steam avatar, fetched when first shown - #19

Merged
github-actions[bot] merged 1 commit into
sourcejump:u/zasbufrom
zasbu:feat/mobile-profile-polish
Nov 7, 2026
Merged

github-actions[bot] merged 1 commit into
sourcejump:u/zasbufrom
zasbu:feat/mobile-profile-polish

Conversation

@zasbu

@zasbu zasbu commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

As on ok-website: players without a stored avatar get one from the API's new /v1/players/{player}/avatar, which fetches it from Steam on the spot. Until the API is deployed they keep their initials.

GET /v1/players/{player}/avatar redirects to the stored Steam avatar, or
fetches it on the spot (4 at once), or draws initials; as on ok-website.
The site points players without a stored avatar there, and falls back to
initials if it doesn't load.
@github-actions
github-actions Bot merged commit 88a14c1 into sourcejump:u/zasbu Nov 7, 2026
3 checks passed
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

Merged into u/zasbu. It'll be live at https://zasbu-sj.okwhiteli.st in a few minutes.

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