Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

[FIX] Changed sidebar order (#1176)

Deepak K783fcda6497a
diff --git a/frontend/src/components/navigations/side-nav-bar/SideNavBar.jsx b/frontend/src/components/navigations/side-nav-bar/SideNavBar.jsx
index c06e8731d..74f02af68 100644
--- a/frontend/src/components/navigations/side-nav-bar/SideNavBar.jsx
+++ b/frontend/src/components/navigations/side-nav-bar/SideNavBar.jsx
@@ -84,10 +84,33 @@ const SideNavBar = ({ collapsed }) => {
const unstractMenuItems = [
{
id: 1,
- mainTitle: "MANAGE",
+ mainTitle: "BUILD",
subMenu: [
+ {
+ id: 1.1,
+ title: "Prompt Studio",
+ description: "Create structured data from unstructured documents",
+ image: CustomTools,
+ path: `/${orgName}/tools`,
+ active: window.location.pathname.startsWith(`/${orgName}/tools`),
+ },
{
id: 1.2,
+ title: "Workflows",
+ description: "Build no-code data workflows for unstructured data",
+ icon: BranchesOutlined,
+ image: Workflows,
+ path: `/${orgName}/workflows`,
+ active: window.location.pathname.startsWith(`/${orgName}/workflows`),
+ },
+ ],
+ },
+ {
+ id: 2,
+ mainTitle: "MANAGE",
+ subMenu: [
+ {
+ id: 2.2,
title: "API Deployments",
description: "Unstructured to structured APIs",
image: apiDeploy,
@@ -95,7 +118,7 @@ const SideNavBar = ({ collapsed }) => {
active: window.location.pathname.startsWith(`/${orgName}/api`),
},
{
- id: 1.3,
+ id: 2.3,
title: "ETL Pipelines",
description: "Unstructured to structured data pipelines",
image: etl,
@@ -103,7 +126,7 @@ const SideNavBar = ({ collapsed }) => {
active: window.location.pathname.startsWith(`/${orgName}/etl`),
},
{
- id: 1.4,
+ id: 2.4,
title: "Task Pipelines",
description: "Ad-hoc unstructured data task pipelines",
image: task,
@@ -112,29 +135,6 @@ const SideNavBar = ({ collapsed }) => {
},
],
},
- {
- id: 2,
- mainTitle: "BUILD",
- subMenu: [
- {
- id: 2.1,
- title: "Workflows",
- description: "Build no-code data workflows for unstructured data",
- icon: BranchesOutlined,
- image: Workflows,
- path: `/${orgName}/workflows`,
- active: window.location.pathname.startsWith(`/${orgName}/workflows`),
- },
- {
- id: 2.2,
- title: "Prompt Studio",
- description: "Create structured data from unstructured documents",
- image: CustomTools,
- path: `/${orgName}/tools`,
- active: window.location.pathname.startsWith(`/${orgName}/tools`),
- },
- ],
- },
{
id: 3,
mainTitle: "SETTINGS",
@@ -197,13 +197,13 @@ const SideNavBar = ({ collapsed }) => {
];
if (dashboardSideMenuItem) {
- unstractMenuItems[0].subMenu.unshift(dashboardSideMenuItem(orgName));
+ unstractMenuItems[1].subMenu.unshift(dashboardSideMenuItem(orgName));
}
const data = menu || unstractMenuItems;
if (getMenuItem && flags?.app_deployment) {
- data[0]?.subMenu?.splice(1, 0, getMenuItem.default(orgName));
+ data[1]?.subMenu?.splice(1, 0, getMenuItem.default(orgName));
}
const shouldDisableAll = useMemo(() => {