Relocate Tree of Life Knowledge navigation: move it out ofLearn in the menu-component hierarchy and expose it under the authenticated user dropdown instead.
Placement
Immediately belowUser Profile.
Immediately aboveAdmin Panel (order: … → User Profile → Tree of Life Knowledge → Admin Panel …).
Only show for logged-in users consistent with sibling items in that menu (reuse same guards as Profile / Admin if applicable).
Acceptance criteria
Learn menu no longer contains Tree of Life Knowledge (unless another redundant link is intentional—default: remove from Learn).
User avatar / account dropdown lists Tree of Life Knowledge in the specified slot (under Profile, above Admin).
Admin Panel remains where it was relative to Profile except for inserting this one item.
Mobile / desktop breakpoints: item visible in folded account menu wherever Profile/Admin appear.
Implementation hint
Locate menu-component (and any shared nav config); adjust route labels + routerLink/href unchanged unless path itself moves—which is not in scope.
## Summary
Relocate **Tree of Life Knowledge** navigation: move it **out of** **Learn** in the **`menu-component`** hierarchy and expose it **under the authenticated user dropdown** instead.
## Placement
- **Immediately below** **User Profile**.
- **Immediately above** **Admin Panel** (order: … → User Profile → **Tree of Life Knowledge** → Admin Panel …).
- Only show for **logged-in users** consistent with sibling items in that menu (reuse same guards as Profile / Admin if applicable).
## Acceptance criteria
- [ ] Learn menu no longer contains Tree of Life Knowledge (unless another redundant link is intentional—default: remove from Learn).
- [ ] User avatar / account dropdown lists **Tree of Life Knowledge** in the specified slot (under Profile, above Admin).
- [ ] **Admin Panel** remains where it was relative to Profile except for inserting this one item.
- [ ] Mobile / desktop breakpoints: item visible in folded account menu wherever Profile/Admin appear.
## Implementation hint
Locate **`menu-component`** (and any shared nav config); adjust route labels + `routerLink`/`href` unchanged unless path itself moves—which is **not** in scope.
Moved Tree of Knowledge out of the Learn menu and into the user account dropdown, positioned immediately below User Profile and above Admin Panel.
Changes — menu-bar.component.html
Removed from:
Desktop Learn mat-menu (#learnMenu) — the @if (isLoggedIn) block containing the /tree-of-knowledge button
Mobile drawer Learn section — the corresponding <a> link
Added to:
Desktop user dropdown (#userMenu) — new mat-menu-item with routerLink="/tree-of-knowledge" and account_tree icon, placed between the User Profile button and the @if (isStaffOrAdmin()) Admin Panel block
Mobile account section — new <a mat-button> with the same route, icon, and (click)="onMobileNavigation()", placed in the same slot between User Profile and Admin Panel
Acceptance criteria
Learn menu no longer contains Tree of Knowledge
User avatar / account dropdown lists Tree of Knowledge below User Profile, above Admin Panel
Admin Panel position is unchanged (only the new item is inserted above it)
Mobile / desktop breakpoints: item visible in folded account menu wherever Profile/Admin appear
Visible for logged-in users only (it's inside the authenticated user menu, same guard scope as Profile/Admin)
## Implemented
Moved **Tree of Knowledge** out of the **Learn** menu and into the **user account dropdown**, positioned immediately below **User Profile** and above **Admin Panel**.
### Changes — `menu-bar.component.html`
**Removed from:**
- Desktop Learn `mat-menu` (`#learnMenu`) — the `@if (isLoggedIn)` block containing the `/tree-of-knowledge` button
- Mobile drawer Learn section — the corresponding `<a>` link
**Added to:**
- Desktop user dropdown (`#userMenu`) — new `mat-menu-item` with `routerLink="/tree-of-knowledge"` and `account_tree` icon, placed between the User Profile button and the `@if (isStaffOrAdmin())` Admin Panel block
- Mobile account section — new `<a mat-button>` with the same route, icon, and `(click)="onMobileNavigation()"`, placed in the same slot between User Profile and Admin Panel
### Acceptance criteria
- [x] Learn menu no longer contains Tree of Knowledge
- [x] User avatar / account dropdown lists Tree of Knowledge below User Profile, above Admin Panel
- [x] Admin Panel position is unchanged (only the new item is inserted above it)
- [x] Mobile / desktop breakpoints: item visible in folded account menu wherever Profile/Admin appear
- [x] Visible for logged-in users only (it's inside the authenticated user menu, same guard scope as Profile/Admin)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Relocate Tree of Life Knowledge navigation: move it out of Learn in the
menu-componenthierarchy and expose it under the authenticated user dropdown instead.Placement
Acceptance criteria
Implementation hint
Locate
menu-component(and any shared nav config); adjust route labels +routerLink/hrefunchanged unless path itself moves—which is not in scope.Implemented
Moved Tree of Knowledge out of the Learn menu and into the user account dropdown, positioned immediately below User Profile and above Admin Panel.
Changes —
menu-bar.component.htmlRemoved from:
mat-menu(#learnMenu) — the@if (isLoggedIn)block containing the/tree-of-knowledgebutton<a>linkAdded to:
#userMenu) — newmat-menu-itemwithrouterLink="/tree-of-knowledge"andaccount_treeicon, placed between the User Profile button and the@if (isStaffOrAdmin())Admin Panel block<a mat-button>with the same route, icon, and(click)="onMobileNavigation()", placed in the same slot between User Profile and Admin PanelAcceptance criteria