forked from fa/breadcrumb-the-shire
Move breadcrumb rendering from individual page templates into the core topbar. Each page now sets $breadcrumbs in its action .php file; the topbar renders it automatically via the shared partial. - Remove global back/forward buttons and app-nav-history.js component - Remove Alt+Arrow keyboard shortcuts for history navigation - Render breadcrumb in topbar-left section (replaces button area) - Clean up breadcrumb CSS: context-neutral base (flex, no margin) - Recalculate sticky titlebar offset in details container - Migrate all 41 pages (core + helpdesk, audit, addressbook, api-docs) - Add missing breadcrumbs to addressbook detail view - Update architecture contract tests (nav-history references removed) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
1.6 KiB
PHP
40 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace MintyPHP\Tests\Architecture;
|
|
|
|
trait FrontendRuntimeContractSupport
|
|
{
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
private function runtimeMigratedComponentFiles(): array
|
|
{
|
|
return [
|
|
'web/js/components/app-flash-auto-dismiss.js',
|
|
'web/js/components/app-fslightbox-refresh.js',
|
|
'web/js/components/app-password-hints.js',
|
|
'web/js/components/app-copy-badge.js',
|
|
'web/js/components/app-multiselect-init.js',
|
|
'web/js/components/app-toggle-sidebar.js',
|
|
'web/js/components/app-toggle-aside-panels.js',
|
|
'web/js/components/app-toggle-details-aside.js',
|
|
'web/js/components/app-global-search.js',
|
|
'web/js/components/app-theme-toggle.js',
|
|
'web/js/components/app-contrast-toggle.js',
|
|
'web/js/components/app-confirm-actions.js',
|
|
'web/js/components/app-details-state.js',
|
|
'web/js/components/app-tenant-switcher.js',
|
|
'web/js/components/app-color-default-toggle.js',
|
|
'web/js/components/app-custom-field-options-toggle.js',
|
|
'web/js/components/app-tenant-sso-toggle.js',
|
|
'web/js/components/app-settings-telemetry.js',
|
|
'web/js/components/app-standard-detail-page.js',
|
|
'web/js/components/app-auto-submit.js',
|
|
'modules/bookmarks/web/js/components/app-bookmark-save.js',
|
|
'modules/bookmarks/web/js/components/app-bookmark-panel.js',
|
|
'web/js/components/app-password-toggle.js',
|
|
'web/js/components/app-page-editor.js',
|
|
];
|
|
}
|
|
}
|