Skip to content

Commit

Permalink
feat: rearrange sidebar (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit authored Nov 21, 2024
1 parent 1481099 commit 38f2e8a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ the detailed section referring to by linking pull requests or issues.

- Fix wrong placeholders for On Request data offer type
([#878](https://github.com/sovity/edc-ui/issues/878))
- Rearrange Sidebar Navigation Groups
([#836](https://github.com/sovity/edc-ui/issues/836))

### Deployment Migration Notes

Expand Down
42 changes: 20 additions & 22 deletions src/app/core/services/nav-items-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,27 @@ import {NavItemGroup} from './models/nav-item-group';
export class NavItemsBuilder {
private navItemGroups: NavItemGroup[] = [
{
items: [{path: 'dashboard', icon: 'data_usage', title: 'Dashboard'}],
items: [
{path: 'dashboard', icon: 'data_usage', title: 'Dashboard'},
{
path: 'catalog-browser',
icon: 'sim_card',
title: 'catalog_browser_page.title',
},
{
path: 'contracts',
icon: 'assignment_turned_in',
title: 'contract_agreement_page.title',
},
{
path: 'transfer-history',
icon: 'assignment',
title: 'transfer_history_page.title',
},
],
},
{
title: 'Providing',
title: 'Provide',
items: [
{
path: 'create-asset',
Expand All @@ -35,26 +52,7 @@ export class NavItemsBuilder {
},
],
},
{
title: 'Consuming',
items: [
{
path: 'catalog-browser',
icon: 'sim_card',
title: 'catalog_browser_page.title',
},
{
path: 'contracts',
icon: 'assignment_turned_in',
title: 'contract_agreement_page.title',
},
{
path: 'transfer-history',
icon: 'assignment',
title: 'transfer_history_page.title',
},
],
},

{
items: [
{
Expand Down

0 comments on commit 38f2e8a

Please sign in to comment.