Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Added profile path and changed dependencies #649

Merged
merged 4 commits into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 30 additions & 18 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lfai/egeria-ui",
"version": "4.1.6",
"version": "4.1.7",
"scripts": {
"build": "react-scripts build",
"eject": "react-scripts eject",
Expand Down Expand Up @@ -37,8 +37,8 @@
"@emotion/cache": "^11.10.5",
"@emotion/react": "^11.10.5",
"@emotion/serialize": "^1.1.1",
"@lfai/egeria-js-commons": "4.3.6",
"@lfai/egeria-ui-components": "^4.3.2",
"@lfai/egeria-js-commons": "4.3.7",
"@lfai/egeria-ui-components": "^4.3.5",
"@lfai/egeria-ui-core": "4.3.4",
"@mantine/core": "^5.6.3",
"@mantine/hooks": "^5.6.3",
Expand Down
16 changes: 13 additions & 3 deletions src/components/AppInstance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ import {
EgeriaAssetDetailsPrint,
EgeriaGlossary,
EgeriaLineageGraphPrint,
EgeriaLineageGraphRouteWrapper
EgeriaLineageGraphRouteWrapper,
EgeriaProfile
} from '@lfai/egeria-ui-components';

import {
eNavigateTo,
menuIcons,
token,
VISIBLE_COMPONENTS
} from '@lfai/egeria-js-commons';

const menu = [
{customIcon: menuIcons.assets, label: 'Asset Lineage', href: '/lineage', component: VISIBLE_COMPONENTS.ASSET_LINEAGE},
// {customIcon: menuIcons.assets, label: 'Asset Lineage', href: '/lineage', component: VISIBLE_COMPONENTS.ASSET_LINEAGE},
{customIcon: menuIcons.glossary, label: 'Glossary View', href: '/glossary', component: VISIBLE_COMPONENTS.GLOSSARY},
// {customIcon: menuIcons.typeExplorer, label: 'Type Explorer', href: '/type-explorer', component: VISIBLE_COMPONENTS.TYPE_EXPLORER},
{customIcon: menuIcons.assetCatalog, label: 'Asset Catalog', href: '/assets/catalog', component: VISIBLE_COMPONENTS.ASSET_CATALOG},
Expand Down Expand Up @@ -122,7 +124,15 @@ export function AppInstance() {
<EgeriaApp menu={menu} main={<RequireAuth>
<RequirePermissions component={VISIBLE_COMPONENTS.GLOSSARY}
showAccessDenied={true}
element={<EgeriaGlossary columnMinWidth={155}/>}/>
element={<EgeriaGlossary />}/>
</RequireAuth>} />
} />

<Route path={'/profile'} element={
<EgeriaApp menu={menu} main={<RequireAuth>
<RequirePermissions component={token.getValue() ? '*' : null}
showAccessDenied={true}
element={<EgeriaProfile />} />
</RequireAuth>} />
} />

Expand Down
Loading