Lieferkette: keep the customer's arrangement #1052

Closed
opened 2026-11-19 08:31:44 +00:00 by sharang · 0 comments
Owner

Part of #1050.

The customer drags boxes, and their arrangement is kept per workspace.

  • Storage: a supply_chain_layout document in the tenant database, mapping a node key to its {x, y}. Being in the tenant database, it is covered by export and erasure.
  • API:
    • PUT /api/v1/supply-chain/layout stores the positions it is sent. Last write wins.
    • DELETE resets the arrangement to the computed columns.
  • What a role may do: anyone who may change targets may arrange. Viewers see the arrangement but cannot move boxes.
  • Stale keys: a key whose node no longer exists is ignored. A new node takes its computed place.

Done when: an arrangement survives a reload and a new node, and reset brings back the columns.

Part of #1050. The customer drags boxes, and their arrangement is kept per workspace. - **Storage:** a `supply_chain_layout` document in the tenant database, mapping a node key to its `{x, y}`. Being in the tenant database, it is covered by export and erasure. - **API:** - `PUT /api/v1/supply-chain/layout` stores the positions it is sent. Last write wins. - `DELETE` resets the arrangement to the computed columns. - **What a role may do:** anyone who may change targets may arrange. Viewers see the arrangement but cannot move boxes. - **Stale keys:** a key whose node no longer exists is ignored. A new node takes its computed place. **Done when:** an arrangement survives a reload and a new node, and reset brings back the columns.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#1052