You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hilla provides the createMenuItems() function that allows listing the menu entries collected from routes for populating the main menu. There is no such API in Flow yet.
Let us create a Flow API for this purpose.
The implementation could reuse the logic of Hilla's RouteUnifyingIndexHtmlRequestListener.
Note that ClientRouteRegistry is already providing Hilla client-side routes to Flow, but the security info is not applied.
A reload is acceptable for updating the menu.
The goal is that a hybrid application (with both Hilla and Flow views) would have the same menu, regardless of whether the main layout is implemented with Flow or Hilla.
The text was updated successfully, but these errors were encountered:
Add filtering of menu client
routes by checking authentication
and roles.
Do not check for routes in
ClientRoutesProvider as the results
are generated from the same source
data as the data read/generated by
MenuRegistry.
Part of #19321
Hilla provides the
createMenuItems()
function that allows listing the menu entries collected from routes for populating the main menu. There is no such API in Flow yet.Let us create a Flow API for this purpose.
The implementation could reuse the logic of Hilla's
RouteUnifyingIndexHtmlRequestListener
.Note that
ClientRouteRegistry
is already providing Hilla client-side routes to Flow, but the security info is not applied.A reload is acceptable for updating the menu.
The goal is that a hybrid application (with both Hilla and Flow views) would have the same menu, regardless of whether the main layout is implemented with Flow or Hilla.
The text was updated successfully, but these errors were encountered: