feat: Block locations_pages (Karte mit Pins aus Seiten und Kategorie-Filter) #4

Merged
csaeum merged 2 commits from feature/locations-pages-source into main 2026-11-25 09:32:22 +00:00
Owner

Änderungen

  • Neuer Block locations_pages: eine Karte, deren Pins aus Seiten kommen (Sulu Smart-Content, Provider pages, Feld location)
  • Popup verlinkt auf die Seite (nur Pfade mit einem führenden /)
  • Optionaler Kategorie-Filter in der Karte (Kategorien der Seiten, Reiter „Excerpt“), echte Buttons mit aria-pressed, ohne eigenes Stylesheet (Inline-Look, Klassen als Hooks)
  • Layout wie locations (nur Karte oder Karte mit Liste), Dispatcher-Eintrag, Übersetzungen DE/EN/FR (admin und messages), README, CSS-API-Doku
  • Der Block locations bleibt unverändert

Geprüft

  • PHPUnit im DDEV: 43 Tests, inklusive neuer LocationsPagesBlockContractTest
  • Semgrep mit den CI-Regeln lokal: 0 Treffer
  • Im Schaufenster-Projekt (DDEV, Chrome): Karte mit 2 Pins, Pin-Liste, Filter „Alle“ = 2 Pins, je Kategorie = 1 Pin

Nicht geprüft

  • Mehrere Hundert Pins, Marker-Gruppierung (Clustering), unterschiedliche Marker je Kategorie

🤖 Generated with Claude Code

## Änderungen - Neuer Block `locations_pages`: eine Karte, deren Pins aus Seiten kommen (Sulu Smart-Content, Provider `pages`, Feld `location`) - Popup verlinkt auf die Seite (nur Pfade mit einem führenden `/`) - Optionaler Kategorie-Filter in der Karte (Kategorien der Seiten, Reiter „Excerpt“), echte Buttons mit `aria-pressed`, ohne eigenes Stylesheet (Inline-Look, Klassen als Hooks) - Layout wie `locations` (nur Karte oder Karte mit Liste), Dispatcher-Eintrag, Übersetzungen DE/EN/FR (admin und messages), README, CSS-API-Doku - Der Block `locations` bleibt unverändert ## Geprüft - PHPUnit im DDEV: 43 Tests, inklusive neuer `LocationsPagesBlockContractTest` - Semgrep mit den CI-Regeln lokal: 0 Treffer - Im Schaufenster-Projekt (DDEV, Chrome): Karte mit 2 Pins, Pin-Liste, Filter „Alle“ = 2 Pins, je Kategorie = 1 Pin ## Nicht geprüft - Mehrere Hundert Pins, Marker-Gruppierung (Clustering), unterschiedliche Marker je Kategorie 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(locations_pages): map block with pins from pages and a category filter
Some checks failed
CI / php (push) Successful in 58s
CI / sicherheit (push) Failing after 21s
CI / build-release (push) Has been skipped
62ae99730b
New block locations_pages: pins come from pages (smart content), the popup
links to the page and the page categories become a filter bar in the map.
The block locations stays unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fix(locations_pages): keep only same-site page paths as link targets
All checks were successful
CI / php (push) Successful in 58s
CI / sicherheit (push) Successful in 17s
CI / build-release (push) Has been skipped
78479c81f7
Semgrep var-in-href flagged the pin list link. The url is now only kept
when it is a path with one leading slash, and the false positive is
exempted with the reason.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
csaeum merged commit 79c5c56d48 into main 2026-11-25 09:32:22 +00:00
csaeum deleted branch feature/locations-pages-source 2026-11-25 09:32:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Sulu-Bundles/wsc_sulubundle_tailwindthemeextrablocks!4
No description provided.