Closed caalador closed 1 month ago
Ordering would be done according to the AvailableViewInfo.Menu.order or alphabetically?
Same ordering as the corresponding Hilla API. First order by the order
property and then resolve ties by the alphabetic order of the route paths.
This ticket/PR has been released with Vaadin 24.5.0.
MenuRegistry should have a method to get the available menu items as a list that is ordered instead of getting only the current
Map<String, AvailableViewInfo>
.This would mean that the list would be
List<AvaiableViewInfo>
and that the route in the AvailableViewInfo should be fixed so it is the correct route and not only the view route for client routes.Ordering would be done according to the AvailableViewInfo.Menu.order and/or alphabetically using
Collator.getInstance()
to get the same result as Hilla menu ordering