From 3ea1bab3d7d5f6c10ee132af30993a2d8fb1d04f Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Mon, 4 May 2026 20:20:54 +0200 Subject: [PATCH] small design changes --- docs/REQUIREMENTS.md | 2 + frontend/src/App.tsx | 118 ++++++++++++++++++++++++++++++------------- 2 files changed, 84 insertions(+), 36 deletions(-) diff --git a/docs/REQUIREMENTS.md b/docs/REQUIREMENTS.md index 3464d18..ac0dda1 100644 --- a/docs/REQUIREMENTS.md +++ b/docs/REQUIREMENTS.md @@ -61,6 +61,7 @@ Phase 1: Jellyfin media index, SSH-based remote filesystem inspection, server mo - The shared session table should keep a compact overall status summary line above the rows that reports total sessions plus playing, paused, and idle counts. - The shared session table should keep the session identifier under the user name in a caption instead of giving it a full column, to keep the table tighter. - The Users tab may open a read-only detail drawer for a selected user, but any communication actions in that drawer should remain clearly disabled/placeholders until the workflow is implemented. +- The frontend shell should use a polished two-row header with branding on the left, user/logout controls on the right, and primary navigation in a dedicated tab row beneath. - The frontend shell and primary pages should remain responsive and mobile-safe, with compact navigation, stacked controls on narrow screens, and reduced table column density where needed. - Backend startup should log a secret-safe configuration summary and request/activity diagnostics so configuration issues can be debugged without exposing API keys. @@ -175,3 +176,4 @@ Phase 1: Jellyfin media index, SSH-based remote filesystem inspection, server mo - 2026-05-03: Added OIDC/JWT auth support plus root-level Docker Compose deployment files for production and dev workflows. - 2026-05-04: Backend Docker Compose now mounts a host SSH directory into `/root/.ssh` so Paramiko can use a private key and strict host-key checking without baking secrets into the image. - 2026-05-04: The frontend was adjusted to be more mobile-safe by making the app shell tabs scrollable, stacking header controls on narrow screens, and hiding low-priority table columns on smaller displays. +- 2026-05-04: The app header was upgraded to a two-row branded layout with a left logo mark, right-side username/logout controls, and a separate navigation row. diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e8299d2..db810d7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -9,7 +9,6 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { ThemeProvider } from "@mui/material/styles"; import { AppBar, - Toolbar, Typography, Box, Tabs, @@ -54,53 +53,98 @@ function Shell({ return ( <> - - + - - Manage - - - {authLabel && ( - - )} - - {onSignOut && ( - - )} - + M + + + + Manage + + + Media operations dashboard + + + + + {authLabel && ( + + )} + + {onSignOut && ( + + )} + + + + @@ -130,7 +176,7 @@ function Shell({ - +