Files
breadcrumb-the-shire/modules/help-center/module.php
fs 304924368b fix(help-center): replace inline content with standard navigation panel
Rewrite help panel to use the same grouped navigation pattern as the
admin aside panel (details/summary with nav links). Remove inline
keyboard shortcuts table and about section. Panel now shows
permission-gated navigation groups: Documentation (docs viewer, API
docs) and System (system info). Remove custom CSS — panel inherits
existing app-sidebar-admin-nav styling.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 14:25:01 +01:00

48 lines
1.2 KiB
PHP

<?php
/**
* Help Center module manifest.
*
* Adds a help icon to the sidebar with navigation links
* to documentation, API docs, and system information.
*/
return [
'id' => 'help-center',
'version' => '1.0.0',
'enabled_by_default' => true,
'load_order' => 30,
'requires' => [],
'routes' => [],
'public_paths' => [],
'container_registrars' => [
\MintyPHP\Module\HelpCenter\HelpCenterContainerRegistrar::class,
],
'ui_slots' => [
'aside.tab_panel' => [
[
'key' => 'help',
'label' => 'Help',
'icon' => 'bi-question-circle',
'href' => '',
'permission' => '',
'panel_template' => 'templates/aside-help-panel.phtml',
'order' => 900,
],
],
],
'authorization_policies' => [],
'search_resources' => [],
'asset_groups' => [],
'scheduler_jobs' => [],
'layout_context_providers' => [],
'session_providers' => [],
'permissions' => [],
'event_listeners' => [],
'deactivation_handler' => null,
'migrations_path' => null,
'i18n_path' => 'i18n',
];