feat(dashboard): the Lieferkette's first steps as ghost boxes (#1050) #1058

Merged
sharang merged 1 commits from feat/supply-chain-ghosts into main 2026-11-19 10:12:16 +00:00
Owner

Part of #1050. This is the first-component state of the approved mockup (https://claude.ai/artifact/RL3hc9N828qSZPvgQ6sz3B, board "Prüfwerk: Lieferkette mit der ersten Komponente"), which #1057 left out.

What it adds

While the workspace has at most two components, the Lieferkette offers the next steps as dashed boxes beside the real ones:

Box Where Leads to
Zugekaufte Komponente below the components, joined to the first product the wizard, with "Von einem Zulieferer gekauft" already chosen (/onboard?origin=bought)
Eigene Software below that, joined to the first product the wizard (/onboard?origin=own)
Zulieferer einladen below the suppliers, joined to a bought component the portal, where suppliers are invited (platform/portal#200). Shown only when the deployment has a portal and no supplier uploads through a link yet.
  • The new route parameter: /onboard takes an optional ?origin=. Every existing link goes through Route::onboarding("") and behaves as before.
  • Not part of the arrangement: ghosts always sit below the real boxes, and read-only roles don't see them.
  • Assemblies are now opaque: an edge passing behind one no longer shows through.

Checked locally (fake registry, one bought component in a product)

  • The three boxes show with their dashed lines. The links point to /onboard?origin=bought, /onboard?origin=own and the portal.
  • Clicking "Zugekaufte Komponente" opens the wizard with "Von einem Zulieferer gekauft" pressed.
  • Edges pass behind the opaque assemblies.
  • Unit tests: the boxes and their order, placed below the real ones and joined; no invite box without a portal or once a supplier uploads through a link; none once there are three components. A route test covers ?origin=. All 209 dashboard tests pass, and clippy is clean on both builds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

Part of #1050. This is the first-component state of the approved mockup (https://claude.ai/artifact/RL3hc9N828qSZPvgQ6sz3B, board "Prüfwerk: Lieferkette mit der ersten Komponente"), which #1057 left out. ## What it adds While the workspace has at most two components, the Lieferkette offers the next steps as dashed boxes beside the real ones: | Box | Where | Leads to | |---|---|---| | **Zugekaufte Komponente** | below the components, joined to the first product | the wizard, with "Von einem Zulieferer gekauft" already chosen (`/onboard?origin=bought`) | | **Eigene Software** | below that, joined to the first product | the wizard (`/onboard?origin=own`) | | **Zulieferer einladen** | below the suppliers, joined to a bought component | the portal, where suppliers are invited (platform/portal#200). Shown only when the deployment has a portal and no supplier uploads through a link yet. | - **The new route parameter:** `/onboard` takes an optional `?origin=`. Every existing link goes through `Route::onboarding("")` and behaves as before. - **Not part of the arrangement:** ghosts always sit below the real boxes, and read-only roles don't see them. - **Assemblies are now opaque:** an edge passing behind one no longer shows through. ## Checked locally (fake registry, one bought component in a product) - The three boxes show with their dashed lines. The links point to `/onboard?origin=bought`, `/onboard?origin=own` and the portal. - Clicking "Zugekaufte Komponente" opens the wizard with "Von einem Zulieferer gekauft" pressed. - Edges pass behind the opaque assemblies. - Unit tests: the boxes and their order, placed below the real ones and joined; no invite box without a portal or once a supplier uploads through a link; none once there are three components. A route test covers `?origin=`. All 209 dashboard tests pass, and clippy is clean on both builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang added 1 commit 2026-11-19 09:49:06 +00:00
feat(dashboard): the Lieferkette's first steps as ghost boxes (#1050)
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 5m45s
CI / Check (pull_request) Successful in 22m32s
ff52ccbf06
While a workspace has at most two components, the Lieferkette offers the
next steps as dashed boxes beside the real ones, as the approved mockup's
first-component board shows:

- "Zugekaufte Komponente" and "Eigene Software" below the components,
  joined to the first product; they open the wizard with the origin chosen
  (`/onboard?origin=bought` preselects a component bought in, with its
  supplier's SBOM);
- "Zulieferer einladen" below the suppliers, joined to a bought component,
  linking to the portal where suppliers are invited; only where the
  deployment has a portal and no supplier uploads through a link yet.

Ghosts are not part of the arrangement and read-only roles see none.
Assemblies are now opaque, so an edge passing behind one no longer shows
through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang merged commit 40fb69072e into main 2026-11-19 10:12:16 +00:00
sharang deleted branch feat/supply-chain-ghosts 2026-11-19 10:12:16 +00:00
Sign in to join this conversation.