adeo / mozaic-design-system

Mozaic Design System
https://mozaic.adeo.cloud
Apache License 2.0
73 stars 17 forks source link

Layer - Navigation #1414

Open cdespommare opened 1 year ago

cdespommare commented 1 year ago

I want to propose an evolution/improvement on

Component

Description

Hello Mozaïc, I would a request regarding the layer component on Mozaïc Freemarker.

For now, the header is static and allows just the change of the title. I have to integrate a layer, used and opened in several manners, but this time in a navigation layer itself. This implicates to have a left arrow to navigate to the previous layer, and a cross at the right to close all the layers opened (so with a configurable event).

I now this could be considered as a unique necessary case, but maybe this evolution could be useful to others.

Describe the solution you would like

A left arrow to navigate to the previous layer, and a configurable cross at the right to close all the open layers

Describe the alternatives you considered

Without it, I would have to do it manually (like it is done manually on the main mobile navigation for leroymerlin.fr)

Additional comments

Example of an existing navigation layer (but a custom one made by the navigation team): image

tiloyi commented 1 year ago

Hi @cdespommare , Thanks for your message.

I let @caqueste , who is our Lead UI, take stock and see if an evolution of the current component is possible.

tiloyi commented 1 year ago

The ball is in Pauline Lapierre's & Benjamin Dreux's court. We are waiting for them to come back, to see how this component should evolve.

cdespommare commented 1 year ago

Hello @tiloyi Are they any news about this subject?

tiloyi commented 7 months ago

Hi @caqueste, Is this planned for V2?

caqueste commented 7 months ago

@tiloyi Yes, the rework of the layer will include a navigation but quite different from the exemple. So the team in charge of the navigation will have to adapt the content to the new structure of the layer.