Part of #1050. Stacked on #1059, which will merge first.
Why
Stage has 32 components in its workspace, 26 of them in no product, and the Lieferkette's components column ran about 3,700 px down the page.
What it does
The fold: once the workspace has a product, its components in no product fold into one box at the end of the components column ("26 Prüfobjekte ohne Produkt"). Suppliers that supply only those components fold with them.
Unfolding: a click unfolds them into the graph, and the box moves to the end and reads "einklappen". aria-expanded says which state it's in.
No product: nothing folds, because nothing would be left to show.
The arrangement keeps only the boxes someone placed. Every other box takes its computed place on each render, so unfolding, or a new box, never freezes the columns around it. "Anordnung zurücksetzen" clears what was placed. The saved format (#1056) is unchanged; the page simply saves fewer boxes.
Docs:guide/lieferkette, section "Prüfobjekte ohne Produkt".
Checked
Locally: three components in products plus six loose ones, one of them from a supplier that supplies nothing else.
Folded: 7 boxes on a 486 px canvas. The loose components and their supplier are folded in.
Unfolded: 14 boxes on a 1,170 px canvas, with the fold box at the end.
Tests:
unit tests: what folds, including a supplier with one loose and one placed component staying, and the edges dropped; nothing folds without a product;
all 212 dashboard tests pass, and clippy is clean on both builds.
Part of #1050. **Stacked on #1059**, which will merge first.
## Why
Stage has 32 components in its workspace, 26 of them in no product, and the Lieferkette's components column ran about 3,700 px down the page.
## What it does
- **The fold:** once the workspace has a product, its components in no product fold into one box at the end of the components column ("26 Prüfobjekte ohne Produkt"). Suppliers that supply only those components fold with them.
- **Unfolding:** a click unfolds them into the graph, and the box moves to the end and reads "einklappen". `aria-expanded` says which state it's in.
- **No product:** nothing folds, because nothing would be left to show.
- **The arrangement keeps only the boxes someone placed.** Every other box takes its computed place on each render, so unfolding, or a new box, never freezes the columns around it. "Anordnung zurücksetzen" clears what was placed. The saved format (#1056) is unchanged; the page simply saves fewer boxes.
- **Docs:** `guide/lieferkette`, section "Prüfobjekte ohne Produkt".
## Checked
- **Locally:** three components in products plus six loose ones, one of them from a supplier that supplies nothing else.
- Folded: 7 boxes on a 486 px canvas. The loose components and their supplier are folded in.
- Unfolded: 14 boxes on a 1,170 px canvas, with the fold box at the end.
- **Tests:**
- unit tests: what folds, including a supplier with one loose and one placed component staying, and the edges dropped; nothing folds without a product;
- all 212 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
changed target branch from feat/supply-chain-docs to main2026-11-19 10:35:22 +00:00
On stage the workspace has 32 components, 26 of them in no product, and the
components' column ran 3700 px down the page. Once a workspace has a
product, its components in no product, and the suppliers that supply only
those, now fold into one box at the end of the components ("26 Prüfobjekte
ohne Produkt"); a click unfolds them into the graph and folds them back.
Nothing folds without a product.
The arrangement now keeps only the boxes someone placed; every other box
takes its computed place each time, so unfolding (or a new box) never
freezes the columns around it. Reset clears what was placed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #1050. Stacked on #1059, which will merge first.
Why
Stage has 32 components in its workspace, 26 of them in no product, and the Lieferkette's components column ran about 3,700 px down the page.
What it does
aria-expandedsays which state it's in.guide/lieferkette, section "Prüfobjekte ohne Produkt".Checked
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
On stage the workspace has 32 components, 26 of them in no product, and the components' column ran 3700 px down the page. Once a workspace has a product, its components in no product, and the suppliers that supply only those, now fold into one box at the end of the components ("26 Prüfobjekte ohne Produkt"); a click unfolds them into the graph and folds them back. Nothing folds without a product. The arrangement now keeps only the boxes someone placed; every other box takes its computed place each time, so unfolding (or a new box) never freezes the columns around it. Reset clears what was placed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT963bb93d689tocc1f13485c