feat(search): add game search page (#50)
Build, Test & Push Frontend / quality-check (push) Successful in 44s
Build, Test & Push Frontend / docker (push) Successful in 27s

Add /search to find games by name on IGDB.
A game in the library opens its game page. Other hits open a
detail view with an Add button. The query stays in the URL.
To fit the new nav icon on 360 px phones, the header padding is
smaller and the points chip hides while the Questions icon shows.
This commit is contained in:
lobo committed 2026-10-20 10:42:06 +02:00
1 parent 5be0d42bca
commit 60dcfe8992
13 files changed
+276 -16

No files matched your search

+6
View File
@@ -55,6 +55,12 @@ describe('AppHeader', () => {
expect(screen.getByTitle('NAV.FOLLOWING').getAttribute('href')).toBe('/following');
});
it('links to the game search when logged in', () => {
loggedInAs({role: 'USER', activeRole: 'USER'});
expect(screen.getByTitle('NAV.SEARCH').getAttribute('href')).toBe('/search');
});
it('links to the community stats when logged in', () => {
loggedInAs({role: 'USER', activeRole: 'USER'});