- Issue created by @Yuri
- Status changed to Postponed: needs info
almost 2 years ago 6:46pm 14 May 2023 - 🇨🇦Canada jigarius Montréal
4 years since the initial development, I really wish there were some other module that did what Sidr does currently. The reason why I made Sidr was because no other module allowed this:
Create a slide-out menu that would contain not only a Drupal menu but also any kind of Drupal block.
I haven't worked with Olivero much, but if someone has the time to do some research, please share your findings on this issue. If Olivero's menu mechanism allows any type of block in an off-canvas menu, then it'd be good to move in that direction instead of having the Sidr module.
Another question to ask would be how reusable their solution is - is it bound to the Olivero theme?
- Status changed to Needs work
9 months ago 9:24am 18 May 2024 - 🇨🇦Canada jigarius Montréal
Today, I worked on this module for around 6 hours after a long time. Thinking about the state of things, I've updated the issue description. Anybody willing to help with some research is welcome to share their ideas and thoughts.
In my opinion, the strength of the SIDR module comes from being able to place several blocks in it and its flexibility/configurability.
Other solutions tend to concentrate on specific areas, such as mobile off-canvas menu and stop there.
What about if we want to use a different menu for mobile, what if we want to include a logo, another block?
- 🇨🇦Canada jigarius Montréal
Sounds good. One of my concerns is the use of the Sidr JS library which has declared that no new features will be added. I'd lean towards using a library that will stay up-to-date with modern trends, especially accessibility stuff.
You're right about the flexibility of the Sidr module – I had made it to allow putting blocks in an off-canvas menu.
After some quick research, I think it might be a good idea to experiment with Drupal's off-canvas dialog and see if that could be used as a replacement. Some effort will indeed be needed for styling the dialogs, but the JS libraries ship with Drupal's core and they probably AA-level accessibility rules.
I still need to figure out how one can display an existing DOM element in an off-canvas dialog, i.e. no AJAX. Once I have that answer, I'll try and use the new prototype on my website and share my findings on this issue. I'll also try out the Responsive Menus module to see how it works.
- 🇺🇸United States w01f
Jigarius, we came up with another solution for allowing customizable flyouts similar to and compatible with the core Olivero flyout. Let me know if you'd like to take a look - production implementation is for the filter flyout (on mobile) under the Olivero burger menu here - https://www.kobejet.com/en/lessons
Let me know if even reviewing this implementation may be helpful.