From 05c53ee001d36f4ea1eb5ac42771a10606520279 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:55:00 +0530 Subject: [PATCH 01/10] feat: move docs to main menu --- src/components/dashboard/MainMenu.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index cf09749f..2d1e4124 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -115,6 +115,11 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp + From 50285955adccbac848036b51f8f31ff0ecd8817d Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:55:27 +0530 Subject: [PATCH 02/10] fix: format --- src/components/dashboard/MainMenu.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 2d1e4124..214cc9b9 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -115,11 +115,11 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp - + From dd60265b4f8b5845b2a50ce6a78207b4cbc4672f Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:56:07 +0530 Subject: [PATCH 03/10] fix: import description icon --- src/components/dashboard/MainMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 214cc9b9..12d0a1ec 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -4,7 +4,7 @@ import Tab from '@mui/material/Tab'; import Box from '@mui/material/Box'; import { useNavigate } from 'react-router-dom'; import { Paper, Button, useTheme } from "@mui/material"; -import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Code, } from "@mui/icons-material"; +import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Code, Description} from "@mui/icons-material"; import { apiUrl } from "../../apiConfig"; import { useTranslation } from 'react-i18next'; import i18n from '../../i18n'; From 971075e108bbed6d15c4f0267ed73b9f1f9cad70 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:57:20 +0530 Subject: [PATCH 04/10] feat: replace onClick with href --- src/components/dashboard/MainMenu.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 12d0a1ec..76210793 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -115,9 +115,7 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp - From a4f40a3b94cad3ac573ea9d61bf48464f6d0d368 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:58:21 +0530 Subject: [PATCH 05/10] feat: use Description as startIcon --- src/components/dashboard/MainMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 76210793..24d68003 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -115,8 +115,8 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp - From 722a021e086a68efc474b053c786788884f9abcd Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:59:02 +0530 Subject: [PATCH 06/10] chore: remove unused imports --- src/components/dashboard/MainMenu.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 24d68003..b9761e62 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -4,8 +4,7 @@ import Tab from '@mui/material/Tab'; import Box from '@mui/material/Box'; import { useNavigate } from 'react-router-dom'; import { Paper, Button, useTheme } from "@mui/material"; -import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Code, Description} from "@mui/icons-material"; -import { apiUrl } from "../../apiConfig"; +import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Description} from "@mui/icons-material"; import { useTranslation } from 'react-i18next'; import i18n from '../../i18n'; From 7b5faf54ee3adb5a94fa6a47f5e0af19ea6b888e Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 18:59:49 +0530 Subject: [PATCH 07/10] chore: rename to Documentation --- src/components/dashboard/MainMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index b9761e62..4f761394 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -115,7 +115,7 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp {t('mainmenu.feedback')} From eba5e25e42d5ccae6d017aa18a77740f922f841c Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 19:00:28 +0530 Subject: [PATCH 08/10] feat: rearrange order of menu buttons --- src/components/dashboard/MainMenu.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index 4f761394..cfd6b5b3 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -111,12 +111,12 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp {/* */} - + From 8c2eb514421be810f13cdde45f28d3151500abb9 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 13 Jun 2025 19:00:56 +0530 Subject: [PATCH 09/10] chore: lint --- src/components/dashboard/MainMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/MainMenu.tsx b/src/components/dashboard/MainMenu.tsx index cfd6b5b3..993e78a8 100644 --- a/src/components/dashboard/MainMenu.tsx +++ b/src/components/dashboard/MainMenu.tsx @@ -4,7 +4,7 @@ import Tab from '@mui/material/Tab'; import Box from '@mui/material/Box'; import { useNavigate } from 'react-router-dom'; import { Paper, Button, useTheme } from "@mui/material"; -import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Description} from "@mui/icons-material"; +import { AutoAwesome, FormatListBulleted, VpnKey, Usb, CloudQueue, Description } from "@mui/icons-material"; import { useTranslation } from 'react-i18next'; import i18n from '../../i18n'; @@ -112,7 +112,7 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp {t('mainmenu.apidocs')} */}