Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have a menu endpoint here: https://decoupled-menus.jsonapi.dev/system/menu/main/linkset
Please post ideas about what we could have as tasks for those who participate in the Decoupled Menu initiative hackathon at DrupalCon NA 2021.
Comments
Comment #2
D34dMan CreditAttribution: D34dMan as a volunteer and commentedIdea
Create a framework agnostic javascript library to wrap menu (and its item) as object, so that developers don't have to check and manipulate "string" based ids and Drupal internals.
--
Rough Structure
Tree Object is a collection of TreeItem
--
Possible Sub Task
Comment #3
eojthebraveA couple of ideas, just brainstorming here:
Comment #4
vulcanr CreditAttribution: vulcanr as a volunteer and at Annertech commented- Create a mega menu with additional fields (Fly-out text, images)
- Create additional components for other menus (The initial component fetches the main navigation, but would be good if people can play around getting user menu, footer, etc)
Comment #5
eojthebraveMore ideas:
Add support for TypeScript?
Add support for StoryBook?
And, not specific to any one component but some other tasks include:
Drafting documentation of the current proposed menu response format. There's an issue here https://www.drupal.org/project/decoupled_menus/issues/3196342 where the format for the current response is discussed. Someone could turn the relevant information in that issue into a draft documentation of the format. Specifically the details here are super valuable: https://www.drupal.org/project/decoupled_menus/issues/3196342#comment-14...
Help move this forward #3205001: Make it easier to discover how to create a new project
Comment #6
vulcanr CreditAttribution: vulcanr as a volunteer and at Annertech commentedI like this idea, but I like it more towards a "Sprint" than a Hackathon