From f7b1ef9741554a24958c325bba3dca3bd81b561f Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Thu, 14 Aug 2025 22:11:47 -0400 Subject: [PATCH 1/4] fix: set Server Logs as default tab on Logs page Changed default tab from Diagnostics (index 2) to Server Logs (index 0) when users navigate to the Logs section from the sidebar. This makes Server Logs the active tab by default, which is more intuitive since it's the first tab in the list. --- client/src/Pages/Logs/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Pages/Logs/index.jsx b/client/src/Pages/Logs/index.jsx index 52aa60199..79c89f282 100644 --- a/client/src/Pages/Logs/index.jsx +++ b/client/src/Pages/Logs/index.jsx @@ -15,7 +15,7 @@ const Logs = () => { const theme = useTheme(); // Local state - const [value, setValue] = useState(2); + const [value, setValue] = useState(0); // Handlers const handleChange = (event, newValue) => { From 43284ae62535845f4e39968c7671cb476f18a050 Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Thu, 14 Aug 2025 22:19:54 -0400 Subject: [PATCH 2/4] fix: remove description text and dividers from Logs sections Removed description strings and divider lines from: - Server logs: 'System logs - last 1000 lines' and divider - Queue metrics: queue description and divider This cleans up the UI by removing redundant descriptive text that users can infer from the tab names and content context. --- client/src/Pages/Logs/Logs/index.jsx | 19 ------------------- client/src/Pages/Logs/Queue/index.jsx | 2 -- 2 files changed, 21 deletions(-) diff --git a/client/src/Pages/Logs/Logs/index.jsx b/client/src/Pages/Logs/Logs/index.jsx index d9ce2a25c..9264e2c4b 100644 --- a/client/src/Pages/Logs/Logs/index.jsx +++ b/client/src/Pages/Logs/Logs/index.jsx @@ -51,25 +51,6 @@ const Logs = () => { ]; return ( - - {t("logsPage.description")} - - { return ( - {t("queuePage.metricsTable.title")} - Date: Thu, 14 Aug 2025 22:22:05 -0400 Subject: [PATCH 3/4] fix: remove excess spacing after removing description text Removed top margin (mt={theme.spacing(10)}) and adjusted sticky position from the log level selector since it was creating unwanted space between the tab bar and the 'Log level' dropdown after removing the description text and divider. --- client/src/Pages/Logs/Logs/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/Pages/Logs/Logs/index.jsx b/client/src/Pages/Logs/Logs/index.jsx index 9264e2c4b..b44b3fd1a 100644 --- a/client/src/Pages/Logs/Logs/index.jsx +++ b/client/src/Pages/Logs/Logs/index.jsx @@ -56,10 +56,9 @@ const Logs = () => { direction="row" alignItems="center" gap={theme.spacing(4)} - mt={theme.spacing(10)} sx={{ position: "sticky", - top: theme.spacing(34), + top: theme.spacing(17), backdropFilter: "blur(10px)", paddingTop: theme.spacing(4), paddingLeft: theme.spacing(6), From b8aa1ef76595f24933abc1018c7a13622718ac04 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 15 Aug 2025 09:17:33 -0700 Subject: [PATCH 4/4] fix path, remove redis form build script --- docker/dist-mono/build_images.sh | 2 +- server/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/dist-mono/build_images.sh b/docker/dist-mono/build_images.sh index fd3a163cc..e3a0233d4 100755 --- a/docker/dist-mono/build_images.sh +++ b/docker/dist-mono/build_images.sh @@ -5,7 +5,7 @@ cd "$(dirname "$0")" cd ../.. # Define service names and their corresponding Dockerfiles in parallel arrays -services=("mono_mongo" "mono_redis" "mono_server") +services=("mono_mongo" "mono_server") dockerfiles=( "./docker/dist-mono/mongoDB.Dockerfile" "./docker/dist-mono/server.Dockerfile" diff --git a/server/src/index.js b/server/src/index.js index 6b12eb25d..d1ff649eb 100755 --- a/server/src/index.js +++ b/server/src/index.js @@ -18,7 +18,7 @@ const startApp = async () => { const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const openApiSpec = JSON.parse(fs.readFileSync(path.join(__dirname, "../openapi.json"), "utf8")); - const frontendPath = path.join(__dirname, "public"); + const frontendPath = path.join(__dirname, "..", "public"); // Create services const settingsService = new SettingsService(AppSettings);