Skip to content

Commit

Permalink
[chore] Hide boards and reports modules
Browse files Browse the repository at this point in the history
  • Loading branch information
roubkar committed Jul 12, 2023
1 parent 8cf552c commit 433abf7
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion aim/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0.dev5
4.0.0.dev6
4 changes: 2 additions & 2 deletions aim/web/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aim/web/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui_v2",
"version": "4.0.0.dev5",
"version": "4.0.0.dev6",
"private": true,
"dependencies": {
"@aksel/structjs": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions aim/web/ui/src/components/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ function SideBar(): React.FunctionComponentElement<React.ReactNode> {
<Icon color='$textPrimary80' icon={<IconFileText />} />
</SidebarBottomAnchor>
</Tooltip>
<Text css={{ textAlign: 'center' }} color='secondary'>
{/* <Text css={{ textAlign: 'center' }} color='secondary'>
{`v${AIM_VERSION}`}
</Text>
</Text> */}
</SidebarBottom>
</SidebarContainer>
</ErrorBoundary>
Expand Down
124 changes: 62 additions & 62 deletions aim/web/ui/src/routes/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,21 @@ const Bookmarks = React.lazy(
() => import(/* webpackChunkName: "bookmarks" */ 'pages/Explorers/Bookmarks'),
);

const Boards = React.lazy(
() => import(/* webpackChunkName: "boards" */ 'pages/Boards/Boards'),
);
// const Boards = React.lazy(
// () => import(/* webpackChunkName: "boards" */ 'pages/Boards/Boards'),
// );

const Board = React.lazy(
() => import(/* webpackChunkName: "board" */ 'pages/Board/BoardContainer'),
);
// const Board = React.lazy(
// () => import(/* webpackChunkName: "board" */ 'pages/Board/BoardContainer'),
// );

const Reports = React.lazy(
() => import(/* webpackChunkName: "reports" */ 'pages/Reports'),
);
// const Reports = React.lazy(
// () => import(/* webpackChunkName: "reports" */ 'pages/Reports'),
// );

const Report = React.lazy(
() => import(/* webpackChunkName: "report" */ 'pages/Report/ReportContainer'),
);
// const Report = React.lazy(
// () => import(/* webpackChunkName: "report" */ 'pages/Report/ReportContainer'),
// );

export interface IRoute {
path: PathEnum;
Expand Down Expand Up @@ -276,56 +276,56 @@ const routes: { [key: string]: any } = {
isExact: true,
title: pageTitlesEnum.EXPLORERS,
},
BOARDS: {
path: PathEnum.Boards,
component: Boards,
showInSidebar: true,
displayName: 'Boards',
icon: <IconLayout2 color='#2A6218' />,
isExact: true,
title: pageTitlesEnum.BOARDS,
},
BOARD: {
path: PathEnum.Board,
component: Board,
showInSidebar: false,
displayName: 'Board',
isExact: true,
title: pageTitlesEnum.BOARD,
},
BOARD_EDIT: {
path: PathEnum.Board_Edit,
component: Board,
showInSidebar: false,
displayName: 'Board',
isExact: true,
title: pageTitlesEnum.BOARD,
},
REPORTS: {
path: PathEnum.Reports,
component: Reports,
showInSidebar: true,
displayName: 'Reports',
icon: <IconFileAnalytics color='#5B329A' />,
isExact: true,
title: pageTitlesEnum.REPORTS,
},
REPORT: {
path: PathEnum.Report,
component: Report,
showInSidebar: false,
displayName: 'Report',
isExact: true,
title: pageTitlesEnum.REPORT,
},
REPORT_EDIT: {
path: PathEnum.Report_Edit,
component: Report,
showInSidebar: false,
displayName: 'Report',
isExact: true,
title: pageTitlesEnum.REPORT,
},
// BOARDS: {
// path: PathEnum.Boards,
// component: Boards,
// showInSidebar: true,
// displayName: 'Boards',
// icon: <IconLayout2 color='#2A6218' />,
// isExact: true,
// title: pageTitlesEnum.BOARDS,
// },
// BOARD: {
// path: PathEnum.Board,
// component: Board,
// showInSidebar: false,
// displayName: 'Board',
// isExact: true,
// title: pageTitlesEnum.BOARD,
// },
// BOARD_EDIT: {
// path: PathEnum.Board_Edit,
// component: Board,
// showInSidebar: false,
// displayName: 'Board',
// isExact: true,
// title: pageTitlesEnum.BOARD,
// },
// REPORTS: {
// path: PathEnum.Reports,
// component: Reports,
// showInSidebar: true,
// displayName: 'Reports',
// icon: <IconFileAnalytics color='#5B329A' />,
// isExact: true,
// title: pageTitlesEnum.REPORTS,
// },
// REPORT: {
// path: PathEnum.Report,
// component: Report,
// showInSidebar: false,
// displayName: 'Report',
// isExact: true,
// title: pageTitlesEnum.REPORT,
// },
// REPORT_EDIT: {
// path: PathEnum.Report_Edit,
// component: Report,
// showInSidebar: false,
// displayName: 'Report',
// isExact: true,
// title: pageTitlesEnum.REPORT,
// },
...explorersRoutes,

METRICS_ID: {
Expand Down

0 comments on commit 433abf7

Please sign in to comment.