Files
KantSites/plugins/vergleich/plugin.json
T
kantarciandClaude Opus 5 c8a8fa7460 Rebuild DEEG as a fifth installation, add stepped forms and a plugin system, and clear the review backlog
Forms gained steps, conditions, image choices, number fields with units and a
summary step; the DEEG price finder uses all of it. Plugins are manifest plus
Twig: blocks, settings, containers, routes, presets and theme packs, switched
per installation. The review backlog is done: archive pages render through the
normal page pipeline, forms and post lists work inside areas and sections,
repeated sections get their own ids, breakpoints and colours come from the
palette, backup and update work on MySQL and lock each other out.

The task worker no longer shortens a process that has no time limit:
set_time_limit() sets the limit instead of extending it, which turned an
unlimited CLI run into eighty seconds and killed the full test suite far away
from the scheduler.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 07:32:35 +02:00

64 lines
3.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "vergleich",
"title": "Bildvergleich",
"description": "Vorher und nachher in einem Bild: ein Regler schiebt zwischen zwei Aufnahmen – für Renovierungen, Malerarbeiten, Sanierungen.",
"version": "1.1.0",
"requires": "1.17.0",
"settings": {
"labelBefore": { "kind": "text", "label": "Standardbeschriftung vorher", "default": "Vorher", "maxLength": 40 },
"labelAfter": { "kind": "text", "label": "Standardbeschriftung nachher", "default": "Nachher", "maxLength": 40 },
"handle": { "kind": "select", "label": "Griff des Reglers", "choices": { "pfeile": "Pfeile", "punkt": "Punkt" }, "default": "pfeile" }
},
"blocks": {
"bildvergleich": {
"label": "Bildvergleich",
"description": "Zwei Bilder übereinander, ein Regler dazwischen.",
"icon": "⇔",
"template": "blocks/bildvergleich.html.twig",
"css": "assets/bildvergleich.css",
"script": "assets/bildvergleich.js",
"props": {
"before": { "kind": "media", "label": "Bild vorher" },
"after": { "kind": "media", "label": "Bild nachher" },
"labelBefore": { "kind": "text", "label": "Beschriftung vorher", "help": "Leer: die Standardbeschriftung aus den Plugin-Einstellungen.", "maxLength": 40 },
"labelAfter": { "kind": "text", "label": "Beschriftung nachher", "maxLength": 40 },
"alt": { "kind": "text", "label": "Was die Bilder zeigen", "help": "Ein Satz für Vorlesesoftware, zum Beispiel „Fassade vor und nach dem Anstrich“.", "maxLength": 200 },
"position": { "kind": "number", "label": "Startposition des Reglers (%)", "min": 5, "max": 95, "default": 50 },
"rounded": { "kind": "boolean", "label": "Abgerundete Ecken", "default": true }
}
},
"galerie": {
"label": "Vergleichsgalerie",
"description": "Mehrere Bildvergleiche nebeneinander im Raster.",
"icon": "⊞",
"template": "blocks/galerie.html.twig",
"css": "assets/bildvergleich.css",
"container": true,
"children": ["vergleich.bildvergleich"],
"props": {
"columns": { "kind": "select", "label": "Spalten am Schreibtisch", "choices": { "2": "Zwei", "3": "Drei" }, "default": "2" },
"title": { "kind": "text", "label": "Überschrift der Galerie", "maxLength": 120 }
}
}
},
"presets": {
"abschnitt": {
"label": "Vorher-Nachher-Abschnitt",
"description": "Eine Sektion mit Überschrift, kurzem Text und einem Bildvergleich.",
"blocks": [
{
"id": "vergleich-abschnitt", "type": "section", "layout": { "tone": "paper", "width": "normal" },
"children": [
{ "id": "vergleich-titel", "type": "heading", "props": { "text": "Vorher und nachher", "level": 2 } },
{ "id": "vergleich-text", "type": "text", "props": { "text": "Ziehen Sie den Regler und sehen Sie den Unterschied." } },
{ "id": "vergleich-bild", "type": "vergleich.bildvergleich", "props": { "before": "", "after": "", "labelBefore": "", "labelAfter": "", "alt": "", "position": 50, "rounded": true } }
]
}
]
}
},
"routes": {
"daten": { "path": "/vergleich/daten", "template": "routes/daten.json.twig", "type": "json" }
}
}