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

Commit

Permalink
Merge pull request #649 from GinaIsaia/profile-path
Browse files Browse the repository at this point in the history
Added profile path and changed dependencies
  • Loading branch information
lpalashevski committed Jun 26, 2023
2 parents a45ef16 + 796a9d4 commit 78e6f2c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 24 deletions.
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

0 comments on commit 78e6f2c

Please sign in to comment.