Symbole: alle Lucide-Symbole lokal verfügbar
All checks were successful
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m35s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m37s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m41s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m52s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 3m56s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 4m2s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 4m21s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 4m5s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s

- Vollständiger Satz (1.854 Symbole + Aliase älterer Namen) in
  resources/icons/svg.php (Admin) und resources/js/lib/icon-set.js
  (Portal, wird nur bei Bedarf geladen)
- Kuratierte 66 mit deutscher Bezeichnung bleiben im Hauptpaket und
  stehen in Auswahlfeldern vorne; die Suche findet alle
- AppIcon-Komponente für Menü, Schnellzugriffe und Pagebuilder;
  Symbolfeld im Pagebuilder mit Suche

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-26 14:50:13 +00:00
parent 23c36d28b5
commit c71131d054
151 changed files with 4621 additions and 512 deletions

View file

@ -57,7 +57,7 @@ class MenuTest extends TestCase
['id' => 'b', 'type' => 'page', 'target' => (string) $mav->id, 'subpages' => true, 'icon' => 'heart-handshake'],
['id' => 'c', 'type' => 'group', 'label' => 'Service', 'children' => [
['id' => 'c1', 'type' => 'module', 'module' => 'news', 'label' => 'Aktuelles', 'icon' => 'gibt-es-nicht'],
['id' => 'c2', 'type' => 'link', 'url' => 'https://kantine.example.org', 'label' => 'Speiseplan', 'new_tab' => true],
['id' => 'c2', 'type' => 'link', 'url' => 'https://kantine.example.org', 'label' => 'Speiseplan', 'new_tab' => true, 'icon' => 'soup'],
['id' => 'c3', 'type' => 'link', 'url' => 'javascript:alert(1)', 'label' => 'Böse'],
]],
['id' => 'd', 'type' => 'group', 'label' => 'Nur Personal', 'roles' => [$hr->id], 'children' => [
@ -77,6 +77,7 @@ class MenuTest extends TestCase
$this->assertTrue($menu[2]['children'][1]['new_tab']);
$this->assertSame('heart-handshake', $menu[1]['icon']);
$this->assertNull($menu[2]['children'][0]['icon'], 'Unbekannte Symbole fallen weg');
$this->assertSame('soup', $menu[2]['children'][1]['icon'], 'Auch Symbole außerhalb der kuratierten Auswahl');
$this->assertNull($menu[2]['href']);
$withRole = User::factory()->withRoles([$hr])->create();