Allow users to view game history on other users' profiles#105
Conversation
Cleanup, tests, bug fixes, and optimizations
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: kevinjosethomas <46242684+kevinjosethomas@users.noreply.github.com>
Co-authored-by: kevinjosethomas <46242684+kevinjosethomas@users.noreply.github.com>
|
I would prefer to just have one GameList component and have props that decide whether to show the other game types or not. I don't want to stray too far from ground truth and have multiple redundant implementations of the same component. |
Co-authored-by: kevinjosethomas <46242684+kevinjosethomas@users.noreply.github.com>
Done! I've consolidated the UserGameList into the existing GameList component with configurable props ( |
|
Looks like there's some build errors. Can you run |
Co-authored-by: kevinjosethomas <46242684+kevinjosethomas@users.noreply.github.com>
Fixed! Ran
All 161 tests now pass and linting is clean. Commit: 39922d3 Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR implements the ability for users to view game history when visiting other players' profiles, addressing a key feature request for enhanced profile visibility.
Changes Made
API Enhancement
getAnalysisGameList()insrc/api/analysis/analysis.tsto accept an optionallichess_idparameterlichess_idis provided, the API fetches game history for the specified user instead of the logged-in userNew UserGameList Component
UserGameListcomponent specifically for viewing other users' gamesProfile Page Integration
/profile/[name].tsxto include the UserGameList componentPrivacy & Security
Visual Example
When visiting another user's profile, users will now see:
Testing
Quality Assurance
Fixes #88.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.comnode /home/REDACTED/work/maia-platform-frontend/maia-platform-frontend/node_modules/.bin/next build(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.