Skip to content

Conversation

@RadinMan
Copy link
Collaborator

@RadinMan RadinMan commented Jan 17, 2026

PR History Note

This Pull Request is the continuation of PR 25 - Individual game pages frontend preview, the feedback from that PR were resolved and address in that PR. Additional changes and further improvements including the below has since been made that has required this new PR and the closing of the old one.

Change Summary

Added full support for individual game pages Issue 7 - Individual Game Pages including backend APIs for querying a single game from Games Database based on id in "http://localhost:3000/games/" to then render in the frontend. Our frontend consists of a hook ui component responsible for fetching data from our backend api route "api/games/", and then the games/[id].tsx renders the page with embedded itch.io widget for easy accessibility to the Games.

Additionally we also incorporate Issue 18 - Game Contributors Model where as long as a Member exist and a Game exist, admins using Django admin page can go to the Game Contributor table and add the Member to a Game with their role.

Change Form

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests - although these changes do not have a test in test.py they have been test for both responsiveness in frontend using simulator app and Google's inspect mode and backend with local sample data.
  • The change has documentation - the simple api changes follows the same structure as the Event, with the frontend hook useGame using an in file documentation, additionally the url routing is as stated in the Notion page "http://localhost:3000/games/" will direct you to game page for game with id. Apart from these no further documentation has been made.

Other Information

In the individual games page frontend under the game details, the Host Site has faced some issue. @nicostellar will be fixing this with the upcoming days and will provide update.

Related issue

nicostellar and others added 30 commits November 29, 2025 04:42
…dersforcauses/game-dev into issue-7-Individual_game_pages

This because my branch and the 'origin/issue-7-Individual_game_pages' have diverged
…dersforcauses/game-dev into issue-7-Individual_game_pages

Fixed issue with the server side models.py, migrated the two new models games and events
…ternal image domains for better asset management
…dersforcauses/game-dev into issue-7-Individual_game_pages-backend

Pulling any changes from issue-7-Individual_game_pages
…ages-backend

Add backend changes of Itch Emed
… field and upload location, events foregein key can be empty or set to empty if event is removed, if isItch is true then hostURL is itch.io game id 7 digit
RadinMan and others added 18 commits January 14, 2026 10:55
… colours to match Figma (hard-coded on page for now). Title, table and description now below with text-wrapping around the table. Margins, padding and spacing still to be fixed.
…ark theme with a drop shadow to blend with the site colour palette. Moved isItch conditional to only cover the ItchEmbed and not the artwork section as well.
… Updated a couple of colours to use global variables instead of hardcoded values.
…all games we query specific games by their id from the frontend
@RadinMan RadinMan linked an issue Jan 17, 2026 that may be closed by this pull request
@RadinMan RadinMan changed the title Issue 7 Individual Game Pages Api Issue 7 Individual Game Pages Api and Issue 18 Game Contributors Model Jan 17, 2026
nicostellar and others added 2 commits January 22, 2026 01:01
…t was overwritten with the itchEmbedID. Updated the database schema to have both hostURL and itchEmbedID so that both the Host Site field on the page and the itch embed both work.
@bilibilistack
Copy link
Collaborator

bilibilistack commented Jan 22, 2026

PR conflicts resolved, good for review now @SafetyInObscurity

@nicostellar
Copy link
Collaborator

FYI: Database schema has been modified to add the itchEmbedID field as this needs to be stored separate to the hostURL for the itch embed to work while still having the correct link to the game in the description.

This was discussed earlier, but we may wish to update the schema linked on the Notion or any documentation given to the client if applicable.

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.

Create game contributors model and update individual game page Individual game pages

4 participants