Skip to content

Fix/ranking issue - #67

Merged
EstebanGondim merged 9 commits into
mainfrom
fix/Ranking-issue
Aug 11, 2026
Merged

Fix/ranking issue#67
EstebanGondim merged 9 commits into
mainfrom
fix/Ranking-issue

Conversation

@thinkDifferent1997

Copy link
Copy Markdown
Owner
  • translation to english
  • profile pictures from api rendered in ranking and chat and page profile

EstebanGondim and others added 6 commits August 10, 2026 13:59
The F5 guard read the navigation type at GameRoute mount, but that entry
stays "reload" for the document's whole lifetime, so the first click into
any game mode after any refresh got bounced home. Decide once at bundle
load, against the URL actually reloaded, before BrowserRouter reads it.

Also unblock the build: PartyGame had duplicate setIsInGame/joinSentRef
declarations from the #56/#57 merge, and the prod compose was missing the
SELinux ,z relabel on the cert mounts that dev already had.
Avatars were rendered as plain text, which worked for emoji avatars from
email/password signup but printed the raw URL for OAuth users, breaking
the layout on the leaderboard, chat and profile pages.

- add reusable Avatar component that detects URLs vs emoji
- use object-cover + overflow-hidden so remote images stay in the circle
- set referrerPolicy=no-referrer to avoid 403s on Google-hosted avatars
- fall back to the default emoji when an image fails to load
…ile page

JwtStrategy already fetched the full user record but omitted
from the object attached to req.user, so /api/auth/me never returned it.
The navbar and profile page both fell back to the default emoji even for
accounts with a valid OAuth picture.

- add  to AuthenticatedRequestUser and the strategy's return
- fetch it in ProfilePage on mount for the current user

@Manewa Manewa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a

@Manewa Manewa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ca merge ouuuuuuuuuuuuuuuuuuuuuuuuu

@EstebanGondim EstebanGondim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request SUCCESS !

@EstebanGondim
EstebanGondim merged commit 0f3b329 into main Aug 11, 2026
@thinkDifferent1997
thinkDifferent1997 deleted the fix/Ranking-issue branch August 11, 2026 18:50
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.

3 participants