Commit Graph

5 Commits

Author SHA1 Message Date
Yana De Pauw
a105131b2b Finalise menu refactor, add typedocs and tests 2024-11-15 18:25:37 +01:00
Yana De Pauw
5a7ebd4ba9 Continue the menu refactor and cleanup 2024-10-18 13:01:22 +02:00
Yana De Pauw
005936b18d Support withSubs on the menuproviders in appmenu
Adds support to define child providers for a parent menu using a .withSubs option. This parent menu will always be displayed as an expandable menu.
When no children are visible, the expandable menus will be hidden.
2024-10-11 15:51:34 +02:00
Yury Bondarenko
0291942613 Proof-of-concept: independent menu section providers
- Replace god-class resolvers with a service that populates the menus from lists of injectable providers
- Static menu sections are resolved at the root route ~ `resolveStatic`
- Route-dependent menu sections can be declared in the same structure, but are resolved on-demand ~ `resolveRoute`
- More and more easily customizable
  - Parts can be moved between menus, removed, replaced or extended individually
  - The dependencies of each provider are independent of each other
  - Order of providers determines the order of each menu → single source of truth for the order
2024-08-23 18:39:41 +02:00
lotte
143b7c3e0d 87382: fixing circular dependencies 2022-02-16 13:52:32 +01:00