The main menu has been hardcoded in many templates. This is wrong.
The ai_dashboard custom module introduces templates for various endpoints where the main menu is hardcoded like this:
<!-- Top Navigation -->
<div class="dashboard-navigation">
<div class="nav-links">
<a href="/ai-dashboard" class="nav-link">Dashboard</a>
<a href="/ai-dashboard/calendar" class="nav-link{% if not is_organizational_view %} active{% endif %}">Calendar View</a>
<a href="/ai-dashboard/calendar/organizational" class="nav-link{% if is_organizational_view %} active{% endif %}">Organizational View</a>
<a href="/ai-dashboard/roadmap" class="nav-link">Roadmap</a>
<a href="/ai-dashboard/priority-kanban" class="nav-link">Kanban</a>
<a href="/ai-dashboard/projects" class="nav-link">Projects</a>
<a href="/ai-dashboard/docs" class="nav-link">Docs</a>
</div>
</div>
When a module creates an endpoint which is supposed to have a link in the main menu then it should place it in the menu of the site and not hardcode it in templates.
The main menu has been hardcoded in many templates. This is wrong.
The ai_dashboard custom module introduces templates for various endpoints where the main menu is hardcoded like this:
When a module creates an endpoint which is supposed to have a link in the main menu then it should place it in the menu of the site and not hardcode it in templates.