feat(ui): add people lists for game owners and community stats
Build, Test & Push Frontend / quality-check (push) Successful in 47s
Build, Test & Push Frontend / docker (push) Successful in 22s

This commit is contained in:
lobo committed 2026-10-06 13:19:58 +02:00
1 parent b213b067dc
commit 3aed243e35
22 files changed
+425 -12

No files matched your search

+9
View File
@@ -52,6 +52,15 @@ export const saveSettings = (changes) => {
return result;
};
/** PUT on Auth, 204: show (or hide) the user by name in owner lists. The caller handles the response status. */
export const saveOwnerLists = (enabled) =>
apiFetch(`${import.meta.env.VITE_API_URL}/api/users/settings/owner-lists`, {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({enabled}),
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS),
});
/** PUT on Auth, 204: the welcome page was seen. The caller handles the response status. */
export const markWelcomeSeen = () =>
apiFetch(`${import.meta.env.VITE_API_URL}/api/users/settings/welcome-seen`, {