feat(supply-chain): a supplier's box says how it delivers (#1028) #1072

Merged
sharang merged 1 commits from feat/supply-chain-supplier-panel into main 2026-11-20 11:32:18 +00:00
Owner

What

On the Lieferkette, a supplier's box and its panel now say how the supplier delivers, as the approved board ("Lieferkette", mockup RL3h) shows:

Supplier's lines Box and panel subtitle Panel text Link
an accepted release Freigabe, live Verbundener Workspace. Jede Version, die er veröffentlicht, kommt von selbst und wird gleich geprüft. Freigaben von Zulieferern ansehen (/supplier-offers)
an upload link Upload-Link aktiv Lädt neue Versionen über den Upload-Link hoch; jede wird gleich geprüft. the component, if just one
an ended release Freigabe beendet Die zuletzt erhaltene SBOM 2.0.4 bleibt …; with several ended: Die zuletzt erhaltenen SBOMs bleiben … Freigaben von Zulieferern ansehen
uploads only per Upload Die SBOM lädt jemand aus Ihrem Workspace hoch. the component, if just one
nothing yet noch keine SBOM Von diesem Zulieferer ist noch keine SBOM da. the component, if just one

When a supplier delivers several components, the liveliest of its lines wins: release, then link, then ended release, then upload, then none. The subtitle sits under the name, as on the board, and only live states (release, link) use the accent colour. The supplier panel is its own small component (SupplierPanel); the other boxes' panel is unchanged.

Departures from the board

  • No dates: "verbunden seit 4. Nov." and "Link gilt bis 1. Feb." aren't shown, because the Lieferkette data doesn't carry the connection's or the link's dates.
  • Link target: "Verbindung ansehen" goes to the customer's "Freigaben von Zulieferern" page, since connections live in the portal (portal#201, not built). "Einladung ansehen" and "Neuen Zulieferer einladen" aren't offered; the panel links to the component instead.

Tests

  • New unit test: a_supplier_says_its_liveliest_line covers live before ended, the version that stays, two ended releases with no single version, and a single-component supplier linking to it.
  • Suite and clippy: all 231 dashboard tests pass; clippy (1.94) is clean for server and web.
  • Local run: a supplier agent and a customer agent, with one release accepted and one ended, then both ended. Checked the live and ended states in German light mode, and the ended state in English dark mode.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

## What On the Lieferkette, a supplier's box and its panel now say how the supplier delivers, as the approved board ("Lieferkette", mockup RL3h) shows: | Supplier's lines | Box and panel subtitle | Panel text | Link | |---|---|---|---| | an accepted release | **Freigabe, live** | Verbundener Workspace. Jede Version, die er veröffentlicht, kommt von selbst und wird gleich geprüft. | Freigaben von Zulieferern ansehen (`/supplier-offers`) | | an upload link | **Upload-Link aktiv** | Lädt neue Versionen über den Upload-Link hoch; jede wird gleich geprüft. | the component, if just one | | an ended release | Freigabe beendet | Die zuletzt erhaltene SBOM 2.0.4 bleibt …; with several ended: Die zuletzt erhaltenen SBOMs bleiben … | Freigaben von Zulieferern ansehen | | uploads only | per Upload | Die SBOM lädt jemand aus Ihrem Workspace hoch. | the component, if just one | | nothing yet | noch keine SBOM | Von diesem Zulieferer ist noch keine SBOM da. | the component, if just one | When a supplier delivers several components, the liveliest of its lines wins: release, then link, then ended release, then upload, then none. The subtitle sits under the name, as on the board, and only live states (release, link) use the accent colour. The supplier panel is its own small component (`SupplierPanel`); the other boxes' panel is unchanged. ## Departures from the board - **No dates:** "verbunden seit 4. Nov." and "Link gilt bis 1. Feb." aren't shown, because the Lieferkette data doesn't carry the connection's or the link's dates. - **Link target:** "Verbindung ansehen" goes to the customer's "Freigaben von Zulieferern" page, since connections live in the portal (portal#201, not built). "Einladung ansehen" and "Neuen Zulieferer einladen" aren't offered; the panel links to the component instead. ## Tests - **New unit test:** `a_supplier_says_its_liveliest_line` covers live before ended, the version that stays, two ended releases with no single version, and a single-component supplier linking to it. - **Suite and clippy:** all 231 dashboard tests pass; clippy (1.94) is clean for server and web. - **Local run:** a supplier agent and a customer agent, with one release accepted and one ended, then both ended. Checked the live and ended states in German light mode, and the ended state in English dark mode. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang added 1 commit 2026-11-20 11:08:42 +00:00
feat(supply-chain): a supplier's box says how it delivers (#1028)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m18s
CI / Check (pull_request) Successful in 22m13s
5d66732e53
A supplier's box and its panel on the Lieferkette now say how the
supplier delivers, as the approved board shows: "Freigabe, live",
"Upload-Link aktiv", "Freigabe beendet", "per Upload" or "noch keine
SBOM", the liveliest of its lines when it delivers several components.
The panel explains what that means (an ended release names the version
that stays, or says the SBOMs stay when several ended) and leads on: to
the suppliers' releases for a release, to the component when the
supplier delivers just one. Only live states are drawn in the accent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang merged commit d9280939e2 into main 2026-11-20 11:32:18 +00:00
sharang deleted branch feat/supply-chain-supplier-panel 2026-11-20 11:32:18 +00:00
Sign in to join this conversation.