diff --git a/frontend/src/lib/components/traits/EditorTrait.svelte b/frontend/src/lib/components/traits/EditorTrait.svelte index ec5233e..b07e6f8 100644 --- a/frontend/src/lib/components/traits/EditorTrait.svelte +++ b/frontend/src/lib/components/traits/EditorTrait.svelte @@ -1,8 +1,7 @@ - - {#snippet children()} -

- Preset: {preset} - {#if config.allow_collaborators} - · Samarbeid aktivert - {/if} - {#if isPublishingCollection} - · Publisering aktiv - {/if} -

+ - {#if unpublishError} -
- {unpublishError} - -
- {/if} - - {#if contentItems.length === 0} -

Ingen innholdsnoder ennå.

- {:else} - - {/if} + {/if} + + {/each} + + {/if} - - {#if isPublishingCollection && accessToken} -
- -
+ + {#if accessToken} +
+ {#if showCreateForm} +
+ +
+ + +
+
+ {:else} + + {/if} + + {#if isPublishingCollection} + + {/if} +
+ {/if} - {#if showPublishPicker} -
-

Velg artikkel å publisere

+ {#if showPublishPicker && isPublishingCollection} +
+

Velg artikkel å publisere

{#if publishableNodes.length === 0} -

Ingen upubliserte artikler funnet. Opprett innhold via mottaket først.

+

Ingen upubliserte artikler funnet.

{:else} -
    +
      {#each publishableNodes as pNode (pNode.id)}
    • @@ -376,9 +656,9 @@ {/if}
{/if} - {/if} - {/snippet} - +
+ {/if} + {#if publishTarget && accessToken && pubConfig} @@ -428,3 +708,744 @@ {/if} + + diff --git a/tasks.md b/tasks.md index 5106647..454f98a 100644 --- a/tasks.md +++ b/tasks.md @@ -230,8 +230,7 @@ Ref: `docs/features/universell_overfoering.md`, `docs/retninger/arbeidsflaten.md - [x] 20.5 Panelrework — Chat: gjør ChatTrait til fullverdig BlockShell-panel med BlockReceiver, fullskjerm-toggle, og responsivt design innenfor begrenset container. - [x] 20.6 Panelrework — Kanban: gjør KanbanTrait til BlockShell-panel med drag-and-drop aksept fra andre paneler, fullskjerm, responsivt. - [x] 20.7 Panelrework — Kalender: gjør CalendarTrait til BlockShell-panel med drop-aksept for scheduling, fullskjerm, responsivt. -- [~] 20.8 Panelrework — Editor/Artikkelverktøy: gjør artikkelverktøy til BlockShell-panel med source_material mottak fra andre paneler. Ref: `docs/features/artikkelverktoy.md`. - > Påbegynt: 2026-03-18T08:41 +- [x] 20.8 Panelrework — Editor/Artikkelverktøy: gjør artikkelverktøy til BlockShell-panel med source_material mottak fra andre paneler. Ref: `docs/features/artikkelverktoy.md`. - [ ] 20.9 Panelrework — Studio: gjør StudioTrait til BlockShell-panel med drop-aksept for lydfiler, fullskjerm, responsivt. ## Fase 21: CLI-verktøy — Unix-filosofi