Integrate with the new experimental navigation module

Created on 2 May 2024, about 2 months ago
Updated 3 May 2024, about 2 months ago

Problem/Motivation

On 11.x-dev with the navigation module installed and the tour module added and installed you don't see no top level menu item for activating a tour on a page like for example /admin/structure/views/view/content that actually haa one.

I am well aware that there is no final decision on the strategy on the navigation modules end how to enable contrib modules to integrate into the navigation module yet, the discussion is happening over here 📌 Decide strategy to customize or provide 1st level menu items' icons Active . I just wanted to put that linked issue on the radar plus it might be a good idea to start ideating what the best place for placing the tour top level menu item would be early on. Questions are, should it be placed in the content or the footer region, and should it be added to an existing menu block or should there be a dedicated navigation/menu block for the tour module? as an example the announcements module is placed into the administration menu (i've mentioned that example because the announcements top level menu item was displayed right next to the tours top level menu item in the admin_toolbar).

Steps to reproduce

  • Install Drupal 11.x-dev
  • Install the Navigation module
  • Composer require and install the tour 2.0.x-dev module
  • Go to /admin/structure/views/view/content

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

  • Issue created by @rkoller
  • 🇺🇸United States smustgrave

    Very good point.

    Wonder if this would be an issue if we fix ✨ Decouple tour triggering from the toolbar Needs work

  • 🇩🇪Germany rkoller Nürnberg, Germany

    oh also a very good point of yours. i've quickly skimmed through the comments, in particular the point about users without access to the toolbar mitigating their ability to take a tour, i consider important. another point that make things complicated is when the workspaces module (no integration in the navigation yet at all) and https://www.drupal.org/project/environment_indicator → are installed. since the tours button isnt a regular menu item and the space aside regular top level menu items is limited that might be tricky. so decoupling the tour trigger from the navigation might be actually a good idea.

    i've quickly applied the latest patch, even though it applied successfully, i am unable to see any button anywhere outside the navigation.. based on the fact that the new navigation is on the left side of the window that narrows down the number of potential positions where to place the button anyway, for LTR my initial gut feeling would be the upper right corner. only problem with that option is that there is the top bar, a submodule of the navigation module. at the moment it is not really functional, but as soon as the functionality gets in and folks install it, that might complicate things with the idea of placing a button in the upper right corner in case the button should be decoupled from navigation. or would it make sense (and be possible at all) to make it flexible, when no navigation module is there place the button in the upper right corner when the button is there add it for example to the top bar?

  • 🇺🇸United States smustgrave

    It never would of flown for core but wonder in contrib if we have a floating icon if that would address all issues

    Similar to https://www.drupal.org/project/editoria11y →

  • 🇩🇪Germany rkoller Nürnberg, Germany

    hm a floating icon might be an idea. but the potential positions are limited. basically the upper right corner or the lower right corner. in the lower right there might be a conflict in case editoria11y is installed (not sure what other modules there are? while in the upper right corner there might be a conflict with the top bar submodule of the navigation module. and being a floating icon it would be position absolute. but the question is does one need to scroll down a page and then still be able to access a tour? usually you decide to access a tour when you come to a page?

  • 🇺🇸United States smustgrave

    So currently the new navigation bar I believe also has removed the "Edit" button for contextual links. Wonder if we can follow the same solution. ✨ Integrate with Workspaces Active does

Production build 0.69.0 2024