Lieferkette: picture, description and documents on a box (later) #1054

Open
opened 2026-11-19 08:31:45 +00:00 by sharang · 1 comment
Owner

Part of #1050. Later, not in this round (the user, 2026-11-19).

Each box (supplier, component, assembly, product) can carry:

  • a picture;
  • a description;
  • documents, such as the Betriebsanleitung, a data sheet or a certificate.

The side panel in the mockup shows where they go.

Open, to be decided before work starts:

  • Where files live: Prüfwerk's artifact store, or the portal's document store.
  • Size and type limits.
  • Whether documents count toward the evidence pack.
Part of #1050. **Later, not in this round** (the user, 2026-11-19). Each box (supplier, component, assembly, product) can carry: - a picture; - a description; - documents, such as the Betriebsanleitung, a data sheet or a certificate. The side panel in the mockup shows where they go. **Open, to be decided before work starts:** - Where files live: Prüfwerk's artifact store, or the portal's document store. - Size and type limits. - Whether documents count toward the evidence pack.
Author
Owner

Decided (the user, 2026-11-19)

  • Where files live: in the portal's Dokumentenablage (the registry's store), not in Prüfwerk.
  • Limits: a picture is PNG, JPEG or WebP up to 5 MB, one per box. Documents are PDF up to 25 MB, up to 10 per box. A description is plain text up to 2,000 characters.
  • Evidence pack: box documents don't go into it, not now.

What follows from that

  • Products and assemblies (product projects):
    • The box shows the project's description, which the registry keeps and the portal edits.
    • It shows the project's documents from the store, meaning those whose project_ids hold the project. Each opens in the portal (/{slug}/dokumente/{doc}/original), so Prüfwerk never copies a file.
    • "In der Dokumentenablage hinzufügen" leads to the store's upload in the portal. The store's own upload checks apply there.
  • Picture: the store holds no images yet. Asked for in platform/tenant-registry#140 (one picture per product project, 5 MB). The slot shows once that exists.
  • Components and suppliers: no slots. The store files documents per product only.
## Decided (the user, 2026-11-19) - **Where files live:** in the portal's **Dokumentenablage** (the registry's store), not in Prüfwerk. - **Limits:** a picture is PNG, JPEG or WebP up to 5 MB, one per box. Documents are PDF up to 25 MB, up to 10 per box. A description is plain text up to 2,000 characters. - **Evidence pack:** box documents don't go into it, not now. ## What follows from that - **Products and assemblies** (product projects): - The box shows the project's **description**, which the registry keeps and the portal edits. - It shows the project's **documents** from the store, meaning those whose `project_ids` hold the project. Each opens in the portal (`/{slug}/dokumente/{doc}/original`), so Prüfwerk never copies a file. - "In der Dokumentenablage hinzufügen" leads to the store's upload in the portal. The store's own upload checks apply there. - **Picture:** the store holds no images yet. Asked for in platform/tenant-registry#140 (one picture per product project, 5 MB). The slot shows once that exists. - **Components and suppliers:** no slots. The store files documents per product only.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#1054