From d9693fa09813d90f70bf8a1ca76b516da9536e4f Mon Sep 17 00:00:00 2001 From: Halvor Thallaug Fagerli Date: Mon, 9 Nov 2026 16:23:38 +0100 Subject: [PATCH 1/6] build: added .env to .gitingore in /frontend --- frontend/.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/.gitignore b/frontend/.gitignore index a547bf3..55c738a 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -12,6 +12,9 @@ dist dist-ssr *.local +# Env +.env + # Editor directories and files .vscode/* !.vscode/extensions.json From 0719bc2261b79864de141346837a4ae82731b280 Mon Sep 17 00:00:00 2001 From: Halvor Thallaug Fagerli Date: Mon, 9 Nov 2026 18:46:36 +0100 Subject: [PATCH 2/6] fix: Game now displays in correct size Game now displays in correct size even though there is only (max - n) to display #25 --- frontend/src/components/GameListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/GameListItem.tsx b/frontend/src/components/GameListItem.tsx index 51e9be9..40bcb19 100644 --- a/frontend/src/components/GameListItem.tsx +++ b/frontend/src/components/GameListItem.tsx @@ -25,7 +25,7 @@ export default function GameListItem({ Date: Tue, 10 Nov 2026 15:22:19 +0100 Subject: [PATCH 3/6] revert: Changed flex back to "1 1 0" in GameListItem New fix made the previous change useless, so I changed it back #25 --- frontend/src/components/GameListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/GameListItem.tsx b/frontend/src/components/GameListItem.tsx index 40bcb19..51e9be9 100644 --- a/frontend/src/components/GameListItem.tsx +++ b/frontend/src/components/GameListItem.tsx @@ -25,7 +25,7 @@ export default function GameListItem({ Date: Tue, 10 Nov 2026 15:24:43 +0100 Subject: [PATCH 4/6] fix: Changed amount of games showed Rather than just showing a dynamic amount varying on screen size, we now display a fixed amount of 20 games per page. This also suits feedback from user who wanted more games per page. Also a good solution for mobile to save jumping from page to page #25 --- frontend/src/pages/GamesGrid.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/GamesGrid.tsx b/frontend/src/pages/GamesGrid.tsx index 6359375..a45ffdf 100644 --- a/frontend/src/pages/GamesGrid.tsx +++ b/frontend/src/pages/GamesGrid.tsx @@ -201,7 +201,8 @@ export default function GamesGrid() { ) || 1; const updatePageSize = () => { - setPageSize(Math.max(1, Math.floor(listEl.clientHeight / rowMinHeight))); + //setPageSize(Math.max(1, Math.floor(listEl.clientHeight / rowMinHeight))); + setPageSize(20); }; updatePageSize(); @@ -255,7 +256,7 @@ export default function GamesGrid() { onSortChange={updateSort} />

From 6f850be49b7ee84df577ec1be4f75e53c1b98759 Mon Sep 17 00:00:00 2001 From: Halvor Thallaug Fagerli Date: Tue, 10 Nov 2026 16:46:23 +0100 Subject: [PATCH 5/6] fix: Truncation added for text In cases of text overflow in titles and tags, the text will now truncate #73 --- frontend/src/components/GameListItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/GameListItem.tsx b/frontend/src/components/GameListItem.tsx index 51e9be9..c3b8848 100644 --- a/frontend/src/components/GameListItem.tsx +++ b/frontend/src/components/GameListItem.tsx @@ -33,10 +33,10 @@ export default function GameListItem({ alt={title} loading="lazy" /> -

-

{title}

+
+

{title}

{year ?? "—"}

-

{tags || "—"}

+

{tags || "—"}

From 9217bb194b94189b573259b231832b19792d06e9 Mon Sep 17 00:00:00 2001 From: Halvor Thallaug Fagerli Date: Tue, 10 Nov 2026 19:43:37 +0100 Subject: [PATCH 6/6] fix: Change in score text Changed the score number from "out of 10" to "out of 5" with `score/2` as the showing score. This is to be consistent with the amount of stars. This will hopefully fix the problem with score showing as a date as well #69 --- frontend/src/components/StarRating.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/StarRating.tsx b/frontend/src/components/StarRating.tsx index 2e56e7b..0e29a24 100644 --- a/frontend/src/components/StarRating.tsx +++ b/frontend/src/components/StarRating.tsx @@ -118,7 +118,7 @@ export default function StarRating({ })}

- {score == null ? "Not yet rated" : `${Number.isInteger(score) ? score.toFixed(0) : score.toFixed(1)}/10`} + {score == null ? "Not yet rated" : `${score/2}/5 stars`}

);