All checks were successful
CD / Promote to Int (push) Successful in 9s
CI / Auth e2e pack (push) Successful in 3m56s
CI / Import/export fidelity gate (push) Successful in 43s
CI / Lint, typecheck, test (push) Successful in 2m53s
CI / Build container images (push) Has been skipped
CD / Build and push images (push) Successful in 3m9s
CD / Smoke tests against Test (push) Successful in 1m9s
CD / Deploy to Test (push) Successful in 12s
The powerful end of the plugin spectrum (ADR 0008 extension point `block`): - Shared schema: the reserved `plugin_block` node — a block atom carrying pluginId, blockType, and the block data as a JSON object. Its DOM shape round-trips the full state in data attributes (clipboard-safe), markdown maps to a reserved fence (```dorfteich-plugin <plugin>/<type> + data JSON body, fence-escalated when the payload contains backticks), and the content-cache HTML renders a data-carrying neutral placeholder until the export fallbacks land (#79). - Editor: a React NodeView hosts the #73 sandbox — render lifecycle on mount, an edit affordance switching the frame to the plugin's edit mode, and the blockData capability persisting through node attrs (a normal editor transaction, so Yjs replicates it; writes are refused on read-only editors, and the plugin's own attr echo is suppressed so its edit UI never resets mid-typing). Collaborator changes re-invoke the current lifecycle, keeping frames live. The page surface (ids, openPage) flows through a React context like the wikilink pattern; the toolbar gets an insert picker fed from the active code plugins' block extension points. - Fallback: GET /plugins/:id/fallback resolves the manifest fallback from the stored snapshot — it survives uninstall as a tombstone, image fallbacks degrade to neutral once assets are gone. Signed-in only. - e2e plugin-blocks.spec.ts covers all four acceptance criteria: insert → edit → reload round-trip, live two-user collab, disable → fallback → re-enable without document mutation, and copy/paste within and across pages (the markdown clipboard carries the reserved fence). getBlock (cross-page block embedding) stays deferred as in #74: the schema has no per-block ids yet. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"frame": {
|
|
"loading": "Plugin wird geladen …",
|
|
"failed": "Das Plugin „{{name}}“ konnte nicht geladen werden."
|
|
},
|
|
"block": {
|
|
"edit": "Bearbeiten",
|
|
"done": "Fertig",
|
|
"inactive": "Das Plugin „{{name}}“ ist für diesen Teich nicht aktiv."
|
|
},
|
|
"preview": {
|
|
"loading": "Plugins werden geladen …",
|
|
"loadFailed": "Die Plugin-Liste konnte nicht geladen werden.",
|
|
"notFound": "Dieses Plugin ist nicht installiert.",
|
|
"title": "Vorschau: {{name}}",
|
|
"permissions": "Angeforderte Berechtigungen",
|
|
"noPermissions": "Dieses Plugin fordert keine Berechtigungen an.",
|
|
"surface": "Oberfläche",
|
|
"noSurfaces": "Dieses Plugin stellt keine Oberflächen bereit."
|
|
},
|
|
"admin": {
|
|
"title": "Plugins",
|
|
"intro": "Installierte Plugins laufen isoliert (Sandbox). Prüfe die angeforderten Berechtigungen, bevor du ein Plugin aktivierst.",
|
|
"upload": "Plugin hochladen (.zip)",
|
|
"empty": "Noch keine Plugins installiert.",
|
|
"permissions": "Berechtigungen",
|
|
"noPermissions": "keine",
|
|
"mode": "Modus",
|
|
"preview": "Vorschau",
|
|
"uninstall": "Deinstallieren",
|
|
"requiredLocked": "Ein erforderliches Plugin kann nicht deinstalliert werden."
|
|
},
|
|
"mode": {
|
|
"disabled": "Deaktiviert",
|
|
"optional": "Optional",
|
|
"required": "Erforderlich",
|
|
"hint": {
|
|
"disabled": "Installiert, aber überall inaktiv.",
|
|
"optional": "Teich-Admins können es pro Teich aktivieren.",
|
|
"required": "In jedem Teich immer aktiv."
|
|
}
|
|
},
|
|
"pond": {
|
|
"title": "Plugins",
|
|
"hint": "Aktiviere optionale Plugins für diesen Teich.",
|
|
"empty": "Es sind keine optionalen Plugins verfügbar."
|
|
}
|
|
}
|