Compare commits

..
Author SHA1 Message Date
Lars fc44419d37 Merge pull request 'Bug Fixes CMS' (#25) from develop into main
Deploy Production / test (push) Successful in 7m39s
Deploy Production / deploy (push) Successful in 38s
Reviewed-on: #25
2026-11-30 11:55:28 +01:00
Lars 189da7b967 Merge pull request 'Farbpallette' (#24) from develop into main
Deploy Production / test (push) Successful in 7m51s
Deploy Production / deploy (push) Successful in 47s
Reviewed-on: #24
2026-11-30 06:39:26 +01:00
Lars 3ff8605953 Merge pull request 'Verschieben und kopieren von Abschnitten im CMS' (#23) from develop into main
Deploy Production / test (push) Successful in 6m57s
Deploy Production / deploy (push) Successful in 45s
Reviewed-on: #23
2026-11-28 18:36:59 +01:00
Lars 558e78bc09 Merge pull request 'Bildfassungen und Aufräumen des CMS' (#22) from develop into main
Deploy Production / test (push) Successful in 6m21s
Deploy Production / deploy (push) Successful in 40s
Reviewed-on: #22
2026-11-28 10:38:55 +01:00
Lars 340c5f6b8d Merge pull request 'Kommunikation und Formulareditor, sowie Formular Widget' (#21) from develop into main
Deploy Production / test (push) Successful in 6m2s
Deploy Production / deploy (push) Successful in 44s
Reviewed-on: #21
2026-11-28 08:49:55 +01:00
Lars 2ffabc2128 Merge pull request 'Ergänze das CMS-Widget Hinweiszeile mit optional aufklappbarer Kurzdarstellung' (#20) from develop into main
Deploy Production / test (push) Successful in 4m14s
Deploy Production / deploy (push) Successful in 28s
Reviewed-on: #20
2026-11-27 13:45:36 +01:00
Lars ae2e222077 Merge pull request 'Redaktionskarten Widget' (#19) from develop into main
Deploy Production / test (push) Successful in 4m17s
Deploy Production / deploy (push) Successful in 25s
Reviewed-on: #19
2026-11-27 11:20:26 +01:00
Lars f1e1f355b5 Merge pull request 'cms und widget + neue symbole' (#18) from develop into main
Deploy Production / test (push) Successful in 4m37s
Deploy Production / deploy (push) Successful in 29s
Reviewed-on: #18
2026-11-27 08:38:56 +01:00
Lars c6148589ff Merge pull request 'widget erweiterungen' (#17) from develop into main
Deploy Production / test (push) Successful in 6m14s
Deploy Production / deploy (push) Successful in 41s
Reviewed-on: #17
2026-11-26 17:10:29 +01:00
Lars 2eab8355f1 Merge pull request 'Widges' (#16) from develop into main
Deploy Production / test (push) Successful in 5m45s
Deploy Production / deploy (push) Successful in 42s
Reviewed-on: #16
2026-11-26 12:09:23 +01:00
Lars bf6eac2de9 Merge pull request 'Shopsystem + Widges' (#15) from develop into main
Deploy Production / test (push) Successful in 6m18s
Deploy Production / deploy (push) Successful in 42s
Reviewed-on: #15
2026-11-26 11:16:51 +01:00
Lars 8991efd19a Merge pull request 'Shop Fixes' (#14) from develop into main
Deploy Production / test (push) Successful in 3m26s
Deploy Production / deploy (push) Successful in 33s
Reviewed-on: #14
2026-11-26 05:50:58 +01:00
Lars 46878552db Merge pull request 'Symbol Picker und erweiterte Symbolauswahl' (#13) from develop into main
Deploy Production / test (push) Successful in 5m56s
Deploy Production / deploy (push) Successful in 1m1s
Reviewed-on: #13
2026-11-24 22:16:26 +01:00
Lars 903e8093a2 Merge pull request 'Link Problem im PDF behoben' (#12) from develop into main
Deploy Production / test (push) Successful in 4m49s
Deploy Production / deploy (push) Successful in 39s
Reviewed-on: #12
2026-11-24 21:36:07 +01:00
Lars c442ff7bc9 Merge pull request 'Pdf Vorlagen Manager' (#11) from develop into main
Deploy Production / test (push) Successful in 3m12s
Deploy Production / deploy (push) Successful in 40s
Reviewed-on: #11
2026-11-24 17:04:12 +01:00
Lars c14cdfd0ec Merge pull request 'Dokumente' (#10) from develop into main
Deploy Production / test (push) Successful in 3m10s
Deploy Production / deploy (push) Successful in 32s
Reviewed-on: #10
2026-11-24 13:50:28 +01:00
Lars 7145cf7b8d Merge pull request 'Symbole, neue Widgets, neue Medienfilter' (#9) from develop into main
Deploy Production / test (push) Successful in 2m50s
Deploy Production / deploy (push) Successful in 26s
Reviewed-on: #9
2026-11-24 10:09:22 +01:00
Lars 0e45dae0af Merge pull request 'Minigrafiken im CMS' (#8) from develop into main
Deploy Production / test (push) Successful in 4m27s
Deploy Production / deploy (push) Successful in 41s
Reviewed-on: #8
2026-11-23 21:53:14 +01:00
Lars f782c7d1a1 Merge pull request 'Anbindung Shinkan, Übungsverwaltung' (#7) from develop into main
Deploy Production / test (push) Canceled after 1m34s
Deploy Production / deploy (push) Canceled after 0s
Reviewed-on: #7
2026-11-23 19:10:34 +01:00
Lars e9cb922d04 Merge pull request 'Mitgleiderbereich' (#6) from develop into main
Deploy Production / test (push) Successful in 2m48s
Deploy Production / deploy (push) Successful in 33s
Reviewed-on: #6
2026-11-22 19:16:52 +01:00
Lars 43a7778a33 Merge pull request 'Pixel-System' (#5) from develop into main
Deploy Production / test (push) Successful in 1m59s
Deploy Production / deploy (push) Successful in 28s
Reviewed-on: #5
2026-11-22 16:05:59 +01:00
Lars f8a87827e9 Merge pull request 'http Umleitung auf https in der nginx Konfiguration' (#4) from develop into main
Deploy Production / test (push) Successful in 2m34s
Deploy Production / deploy (push) Successful in 26s
Reviewed-on: #4
2026-11-22 15:20:33 +01:00
Lars 4248ecffb8 Merge pull request 'MVP 1.2 (inkl. Shop)' (#3) from develop into main
Deploy Production / test (push) Successful in 3m1s
Deploy Production / deploy (push) Successful in 50s
Reviewed-on: #3
2026-11-22 11:43:00 +01:00
Lars 759b3e1c02 Merge pull request 'Lasse nginx den App-Container zur Laufzeit auflösen' (#2) from develop into main
Deploy Production / test (push) Successful in 1m8s
Deploy Production / deploy (push) Successful in 24s
Reviewed-on: #2
2026-11-21 07:14:12 +01:00
Lars 57b2131632 Merge pull request 'MVP 1.0 (ohne Shop)' (#1) from develop into main
Deploy Production / test (push) Successful in 1m18s
Deploy Production / deploy (push) Failing after 3m7s
Reviewed-on: #1
2026-11-20 21:58:41 +01:00
9 changed files with 2 additions and 92 deletions

No files matched your search

@@ -20,7 +20,6 @@ ## 1. Inhalt (Stand 21.11.2026 abends: 22 Commits seit `main`)
| CMS-Seiteneditor: Abschnitt auf eine andere Seite kopieren oder verschieben (ADR-65) | Zwei Schalter im Abschnittskopf öffnen einen Dialog mit Zielseite und Position. Die Zielseite erhält einen neuen Entwurf (nichts wird veröffentlicht); beim Verschieben wird die Quellseite als Entwurf gespeichert. Kein neues Seitenformat, keine Migration. Rückfall: Die Schalter entfallen, übertragene Abschnitte bleiben als normale Abschnitte erhalten. | Claude |
| CMS: Karten im Abschnitt gleich hoch und Links am unteren Kartenrand (ADR-66) | Zwei neue Gestaltungswerte am Abschnitt („Höhe der Karten“, „Link in der Karte“), gespeichert nur bei Abweichung von der Vorgabe; kleines Skript für gleiche Höhe über mehrere Zeilen. Keine Migration. Rückfall: Ein älterer Editor weist die neuen Gestaltungsschlüssel beim Speichern einer solchen Seite ab (sie bleibt les- und darstellbar, ohne die Einstellungen); vor einem Rückfall die Werte der Abschnitte notieren oder die Seite im neuen Stand lassen. | Claude |
| CMS: begrenzte Farbflächen verschmelzen bei „kein Abstand“ (Korrektur zu ADR-67) | Reines CSS: Außenabstand und Rundung entfallen an der Naht zweier Flächen mit Abstand unten/oben „kein Abstand“. Keine Migration, kein Rückfall nötig. | Claude |
| Website: Aufzählungszeichen und Nummern in Bild und Text sowie Shop-/Programmseiten | Reines CSS: `list-style` für Container mit formatiertem Text. Keine Migration, kein Rückfall nötig. | Claude |
| Kommunikationsverwaltung und Widget „Anfrage“ | Neue Gruppe „Kommunikation“ (Anfragen, Anliegen, Feldkatalog, Feldgruppen, Anfragevorlagen, Anfrage-Einstiege, Einstellungen), öffentliche Schnittstelle `/anfrage/{einstieg}` und CMS-Widget `inquiry` (ADR-60). **Vor dem Merge:** Mailversand in `/etc/luf/prod.env` prüfen (`MAIL_*`), Empfänger und Datenschutzhinweis festlegen, Testnachricht in den Einstellungen senden; Beispielkonfiguration auf Prod nur auf ausdrücklichen Wunsch anlegen. Rückfall: ältere Stände kennen das Widget nicht und zeigen es nicht | Claude |
| Kommunikation: Formular-Editor und Anfragegründe (ADR-61) | Navigation Anfragen, Formulare & Befragungen, Einstellungen; ein Editor für Bereiche, Felder und Bedingungen; Widget „Anfrage“ mit Anfragegründen statt Einstieg, Formularführung und Präsentation (Dialog) getrennt, Auslieferung `/anfrage/formular/{vorlage}`. Keine Migration. Rückfall: ein Stand ohne ADR-61 zeigt ein Widget mit Anfragegründen nicht an (Seite bleibt gültig), Formulare und Anfragen bleiben unverändert. Zwei Widget-Tests bewusst geändert. | Claude |
| Kommunikation: Formularansicht des Aufbaus (ADR-62) | Der Aufbau eines Formulars ist eine eigene Ansicht mit Ziehen und Ablegen, Pop-ups für Hilfetext, Auswahlwerte und Bedingung (statt Builder-Liste). Keine Migration, Daten unverändert. Rückfall auf ADR-61 liest denselben Entwurf. Livewire-Tests des Editors bewusst auf den Baumtext umgestellt. | Claude |
@@ -1,23 +0,0 @@
# Abnahme: Aufzählungszeichen und Nummern im formatierten Text
Stand: 30.11.2026. Screenshots: `abnahme/cms-listen-im-text/`. Prüfung durch Claude lokal im Browser (Playwright, Chromium); die praktische Abnahme durch den Betreiber auf `luf-test` steht aus.
## Befund
Der Grundstil der Website (Tailwind) setzt `list-style` für alle Listen zurück. Container, die formatierten Text der Redaktion ausgeben, müssen Aufzählungszeichen und Nummern deshalb ausdrücklich wieder setzen. Gemessen auf einer Testseite mit verschachtelten Aufzählungen und Nummerierungen in jedem Widget mit formatiertem Text:
| Ort | Vorher | Nachher |
|---|---|---|
| Text, Überschrift (Einleitung), Karten, Hinweis | Aufzählung ●, Nummern 1. 2. (waren schon gesetzt) | unverändert |
| **Bild und Text** | `list-style: none`, keine Zeichen und Nummern | ● und 1. 2., auch verschachtelt |
| Shop- und Programmseiten (Beschreibung, Zusammenfassung, Lernziel) | `list-style: none` (Regel fehlte) | ● und 1. 2. |
Andere Widgets (Einstieg, Premium-Karten, FAQ, Merkmale, Handlungsaufruf, Anfrage) haben keine formatierten Textfelder mit Listen und sind nicht betroffen.
## Änderung
Reines CSS: Regeln `list-style: disc` / `decimal` für `.lf-bt__body` (Bild und Text) und für `.shop-description`, `.lede` und die neue Klasse `.rich-lists` (Lernziel auf Programm- und Artikelseite). Speicherformat und Inhalte ändern sich nicht. Ein Test sichert, dass jeder Container beide Listenarten setzt (`RichTextListsTest`).
## Geprüft (lokal)
Testseite mit Text, Überschrift, Karten, Hinweis und Bild und Text, je mit Aufzählung (zwei Ebenen) und Nummerierung (zwei Ebenen), bei 1440 und 390 px (`listen-breit`, `listen-schmal`). Alle fünf zeigen Zeichen und Nummern. Für die Shop-Container wurde die Wirkung der Regel am eingefügten HTML gemessen (disc / decimal, Einzug 1,4 rem).
Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

-15
View File
@@ -106,21 +106,6 @@ .prose ol {
padding-left: 1.4rem;
}
/*
* Formatierter Text außerhalb von .prose (Shop- und Programmseiten, Bild und Text): Der Grundstil von Tailwind setzt
* list-style zurück, ohne diese Regel erscheinen Aufzählungszeichen und Nummern nicht. Die Widgets Text, Überschrift,
* Karten und Hinweis stehen in widgets.css, Bild und Text in components/lf-bild-text.css.
*/
:is(.shop-description, .lede, .rich-lists) ul,
:is(.shop-description, .lede, .rich-lists) ol {
margin: 0 0 var(--space-4);
padding-inline-start: 1.4rem;
}
:is(.shop-description, .lede, .rich-lists) ul { list-style: disc; }
:is(.shop-description, .lede, .rich-lists) ol { list-style: decimal; }
:is(.shop-description, .lede, .rich-lists) li > p { margin: 0; }
.prose li > p {
margin: 0;
}
@@ -123,10 +123,6 @@ .lf-bt__body > :last-child { margin-block-end: 0; }
.lf-bt__body p { margin: 0 0 0.9em; }
.lf-bt__body ul,
.lf-bt__body ol { padding-inline-start: 1.35em; margin: 0.6em 0; }
/* Der Grundstil setzt list-style zurück; Aufzählungszeichen und Nummern des formatierten Textes müssen erscheinen. */
.lf-bt__body ul { list-style: disc; }
.lf-bt__body ol { list-style: decimal; }
.lf-bt__body li > p { margin: 0; }
.lf-bt__body a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.lf-bt__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.65rem; margin-block-start: clamp(1rem, 2cqi, 1.5rem); min-inline-size: 0; }
+1 -1
View File
@@ -14,7 +14,7 @@
<div class="shop-description">{!! $profile->html('description') !!}</div>
@endif
@if ($goal !== null)
<div class="rich-lists"><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($goal) !!}</div>
<div><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($goal) !!}</div>
@endif
@if ($nodes !== [])
<section class="shop-package-contents" aria-labelledby="artikel-aufbau">
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="lede">{!! \App\Domain\Catalog\FormattedText::display($composition->summary) !!}</div>
@endif
@if (filled($version->learning_goal))
<div class="rich-lists"><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($version->learning_goal) !!}</div>
<div><strong>Lernziel:</strong> {!! \App\Domain\Catalog\FormattedText::display($version->learning_goal) !!}</div>
@endif
<ol class="course">
@foreach ($nodes as $node)
-47
View File
@@ -1,47 +0,0 @@
<?php
namespace Tests\Feature;
use Tests\TestCase;
/**
* Aufzählungszeichen und Nummern im formatierten Text: Der Grundstil (Tailwind) setzt list-style zurück, deshalb muss jeder
* Container, in dem formatierter Text der Redaktion erscheint, die Listenarten ausdrücklich setzen. Das Verhalten ist CSS;
* geprüft wird, dass jeder Container eine Regel für ul (disc) und ol (decimal) hat.
*/
class RichTextListsTest extends TestCase
{
private function css(string $file): string
{
return (string) file_get_contents(resource_path('css/'.$file));
}
public function test_every_container_for_formatted_text_sets_both_list_styles(): void
{
$widgets = $this->css('widgets.css');
// Text, Überschrift, Karten, Hinweis (Klasse .prose im Widget)
$this->assertMatchesRegularExpression('/\.widget-prose[^{]*\.prose ul \{ list-style: disc; \}/', $widgets);
$this->assertMatchesRegularExpression('/\.widget-prose[^{]*\.prose ol \{ list-style: decimal; \}/', $widgets);
// Bild und Text
$imageText = $this->css('components/lf-bild-text.css');
$this->assertStringContainsString('.lf-bt__body ul { list-style: disc; }', $imageText);
$this->assertStringContainsString('.lf-bt__body ol { list-style: decimal; }', $imageText);
// Shop- und Programmseiten
$base = $this->css('base.css');
foreach (['.shop-description', '.lede', '.rich-lists'] as $container) {
$this->assertStringContainsString($container, $base);
}
$this->assertStringContainsString(') ul { list-style: disc; }', $base);
$this->assertStringContainsString(') ol { list-style: decimal; }', $base);
}
public function test_the_public_catalog_pages_mark_their_goal_text(): void
{
foreach (['program', 'article'] as $view) {
$this->assertStringContainsString('<div class="rich-lists"><strong>Lernziel:</strong>', (string) file_get_contents(resource_path('views/public/'.$view.'.blade.php')), $view);
}
}
}