richie
richie copied to clipboard
✨(richie) add navigator internationalized
Purpose
Have an internationalized navigation inside the Dashboard, with the possibility to show the links depending of some conditions depicted inside a callback
Proposal
The proposal to get this functionality is to define our routes into the routes.ts, each route being an extends from RouteObject, but with some additional fields : noIntlPath : MessageDescriptor // field defining the message to get the path show : () => boolean // field defining the callback that'll specify if the link is rendered or not noIntlTitle: MessageDescriptor // field defining the label of the link render in the navigator