Neue Seitenköpfe, global wählbar (0.48.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
- PageHeader: Kopfband (Standard, kompakt), Kopfband mit Symbol, mit Symbol, kräftiger Titel – Einstellung page_header im Erscheinungsbild - Symbol vom passenden Menüpunkt (aktiv oder per Adresse), Prop icon - In Spalten (z. B. Downloads) schlichte Form statt Band - Zurück-Links als breadcrumbs (IT-Service), Profil bearbeiten mit PageHeader - Plugin-Assets: Fingerabdruck berücksichtigt Änderungszeiten der Dateien Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
36a58d4748
commit
800e267e1c
144 changed files with 524 additions and 390 deletions
|
|
@ -323,4 +323,19 @@ class AppearanceTest extends TestCase
|
|||
}
|
||||
$this->assertCount(2, $seen, 'Beide Titelbilder kommen vor');
|
||||
}
|
||||
|
||||
public function test_page_header_style_is_chosen_globally(): void
|
||||
{
|
||||
$theme = app(Theme::class);
|
||||
$this->assertSame('band', $theme->published()['page_header'] ?? 'band', 'Standard: Kopfband');
|
||||
|
||||
$theme->saveDraft(['page_header' => 'icon']);
|
||||
$this->assertSame('icon', $theme->draft()['page_header']);
|
||||
$theme->saveDraft(['page_header' => 'unsinn']);
|
||||
$this->assertSame('band', $theme->draft()['page_header']);
|
||||
|
||||
app(Settings::class)->set('theme.published', [...$theme->published(), 'page_header' => 'bold']);
|
||||
$this->app->forgetInstance(Branding::class);
|
||||
$this->assertSame('bold', app(Branding::class)->toArray()['page_header']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,8 +132,9 @@ class PluginSdkTest extends TestCase
|
|||
$this->assertSame(file_get_contents($this->dir.'/custom/mit-ui/dist/pages/Index.js'), file_get_contents($published.'/pages/Index.js'));
|
||||
|
||||
// Neuer Build bei gleicher Version wird neu kopiert
|
||||
// (Seiten behalten ihren Namen – inhaus.json bleibt gleich, nur die Datei ist neuer)
|
||||
file_put_contents($this->dir.'/custom/mit-ui/dist/pages/Index.js', 'export default { neu: true };');
|
||||
file_put_contents($this->dir.'/custom/mit-ui/dist/inhaus.json', "\n", FILE_APPEND);
|
||||
touch($this->dir.'/custom/mit-ui/dist/pages/Index.js', time() + 60);
|
||||
(new PluginAssets($manager))->forFrontend();
|
||||
$this->assertStringContainsString('neu: true', file_get_contents($published.'/pages/Index.js'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue