Part of #1028. Stacked on #1066, which it needs for the draft and the per-version customer count. This adds the supplier's release screen from mockup RL3h (board "Prüfwerk, Zulieferer: Freigaben eines Prüfobjekts").
Where:/targets/{id}/releases, opened with "SBOM freigeben" on the target page.
What it shows:
Route. The target box shows its components by ecosystem and the date of the last scan. From it runs one line per connected customer:
solid with an arrow and a check mark and "1.4.0 am 14.11." when the customer receives every version;
amber dashed with "wartet auf Annahme" while the release is open;
grey for declined, component removed, or connection gone;
a dashed "Freigeben an …" button for a connected customer who has no release yet.
Timeline. Published versions, oldest to newest. Each shows its date, component count and how many customers it reached, or "vor den Freigaben". The next version follows as a dashed draft.
Publish panel.
The label.
The change against the latest version: a bar, counts and a few names.
What goes to customers and what stays. This is the released_cyclonedx allowlist, and the chips match it.
Who receives it now and who receives it once they accept.
Read-only roles see the route and the timeline only. They get no buttons and no publish panel.
Departures from the approved board (please check)
The label starts empty. It shows the placeholder "z. B. 1.5.0" with "zuletzt 1.4.0" beside it; the board prefilled 1.5.0. Publishing delivers at once and cannot be undone, so I didn't want to guess a version.
Each active release can be ended, in two steps. The × on the customer's box asks first, then a red "Freigabe beenden" in the box ends it. The tooltip reads "Freigabe an … beenden. Was … schon erhalten hat, bleibt dort." The board has no end control.
States the board doesn't draw:
accepted with nothing published yet;
declined;
component removed;
connection gone (the release is still active);
no connections at all: a "Zum Portal" box and a sentence about making a connection with a code;
connections unreadable: a note, and only the existing releases are shown.
The draft stop reads "nächste" rather than the label.
The timeline shows the latest 4 versions. Older ones fold into one stop labelled "N ältere".
"Ihr Name als Zulieferer" is added to what goes to customers. The document names the workspace as the supplier. "Vorschau laden" needs a label, because the label is the document's version. The panel has its own sentences for a version identical to the last one, the first version, and a version that cannot be published.
Layout: the route is 920 px wide (the board has 900), with 240 px customer boxes, so names like "Beispiel Maschinenbau" fit beside the × button. Its height follows the number of customers: 124 px per row up to 3, 96 px beyond that.
The entry button shows only on the workspace's own targets. A bought-in component's SBOM came from its supplier.
Checked locally against the board (the agent with a fake registry with three connections, a second agent as the customer workspace, and the dashboard):
Through the UI: release to a customer; the customer accepts through its own agent; publish 1.4.0; publishing 1.4.0 again shows the "label exists" sentence; end a release; release again.
Light and dark mode, English, and 1440 px.
At 390 px the page has no sideways scroll. The route and timeline scroll inside their boxes, as on the Lieferkette.
Tests: unit tests for rows per connection, row states, the geometry for 0, 1, 3, 4 and 12 customers, the timeline fold, version reach, the ecosystem bar, and refusal parsing. Clippy 1.94 is clean for both server and web.
Also rendered locally: declined, component removed, connection gone, two-step end, no connections, connections unreadable (503), nothing to publish, first version, and 12 customers with 30 versions. At 12 customers the route is about 1180 px tall, which is readable.
Not checked: a read-only role in the browser. Local development has no Keycloak, so the gate (use_can_write) was only checked in code.
Loading: until the connections and the draft are read, the page claims nothing about them.
On stage: connections come from tenant-registry#138, which hasn't started. With #1066 the registry's 404 reads as no connections, so the screen shows "Noch keine Verbindung …" with a link to the portal.
Part of #1028. Stacked on #1066, which it needs for the draft and the per-version customer count. This adds the supplier's release screen from mockup RL3h (board "Prüfwerk, Zulieferer: Freigaben eines Prüfobjekts").
**Where:** `/targets/{id}/releases`, opened with "SBOM freigeben" on the target page.
**What it shows:**
- **Route.** The target box shows its components by ecosystem and the date of the last scan. From it runs one line per connected customer:
- solid with an arrow and a check mark and "1.4.0 am 14.11." when the customer receives every version;
- amber dashed with "wartet auf Annahme" while the release is open;
- grey for declined, component removed, or connection gone;
- a dashed "Freigeben an …" button for a connected customer who has no release yet.
- **Timeline.** Published versions, oldest to newest. Each shows its date, component count and how many customers it reached, or "vor den Freigaben". The next version follows as a dashed draft.
- **Publish panel.**
- The label.
- The change against the latest version: a bar, counts and a few names.
- What goes to customers and what stays. This is the `released_cyclonedx` allowlist, and the chips match it.
- Who receives it now and who receives it once they accept.
- "Vorschau laden" and "… veröffentlichen".
- **Refusals** read as sentences: `label_taken`, `label`, `empty`, `too_many_components`, `unknown_connection`, `peer_not_entitled`, `released`.
- **Read-only roles** see the route and the timeline only. They get no buttons and no publish panel.
**Departures from the approved board (please check)**
1. **The label starts empty.** It shows the placeholder "z. B. 1.5.0" with "zuletzt 1.4.0" beside it; the board prefilled 1.5.0. Publishing delivers at once and cannot be undone, so I didn't want to guess a version.
2. **Each active release can be ended, in two steps.** The × on the customer's box asks first, then a red "Freigabe beenden" in the box ends it. The tooltip reads "Freigabe an … beenden. Was … schon erhalten hat, bleibt dort." The board has no end control.
3. **States the board doesn't draw:**
- accepted with nothing published yet;
- declined;
- component removed;
- connection gone (the release is still active);
- no connections at all: a "Zum Portal" box and a sentence about making a connection with a code;
- connections unreadable: a note, and only the existing releases are shown.
4. **The draft stop reads "nächste"** rather than the label.
5. **The timeline shows the latest 4 versions.** Older ones fold into one stop labelled "N ältere".
6. **"Ihr Name als Zulieferer" is added to what goes to customers.** The document names the workspace as the supplier. "Vorschau laden" needs a label, because the label is the document's version. **The panel has its own sentences** for a version identical to the last one, the first version, and a version that cannot be published.
7. **Layout:** the route is 920 px wide (the board has 900), with 240 px customer boxes, so names like "Beispiel Maschinenbau" fit beside the × button. Its height follows the number of customers: 124 px per row up to 3, 96 px beyond that.
8. **The entry button shows only on the workspace's own targets.** A bought-in component's SBOM came from its supplier.
**Checked locally against the board** (the agent with a fake registry with three connections, a second agent as the customer workspace, and the dashboard):
- Through the UI: release to a customer; the customer accepts through its own agent; publish 1.4.0; publishing 1.4.0 again shows the "label exists" sentence; end a release; release again.
- Light and dark mode, English, and 1440 px.
- At 390 px the page has no sideways scroll. The route and timeline scroll inside their boxes, as on the Lieferkette.
**Tests:** unit tests for rows per connection, row states, the geometry for 0, 1, 3, 4 and 12 customers, the timeline fold, version reach, the ecosystem bar, and refusal parsing. Clippy 1.94 is clean for both server and web.
**Also rendered locally:** declined, component removed, connection gone, two-step end, no connections, connections unreadable (503), nothing to publish, first version, and 12 customers with 30 versions. At 12 customers the route is about 1180 px tall, which is readable.
**Not checked:** a read-only role in the browser. Local development has no Keycloak, so the gate (`use_can_write`) was only checked in code.
**Loading:** until the connections and the draft are read, the page claims nothing about them.
**On stage:** connections come from tenant-registry#138, which hasn't started. With #1066 the registry's 404 reads as no connections, so the screen shows "Noch keine Verbindung …" with a link to the portal.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang
changed target branch from feat/sbom-version-draft to main2026-11-19 17:36:22 +00:00
The supplier side of mockup RL3h ("Prüfwerk, Zulieferer: Freigaben eines
Prüfobjekts") at /targets/{id}/releases, opened from the target page
("SBOM freigeben", own targets only).
- The route: the target (components by ecosystem, last scan), a line to
each connected customer: receives (with the version delivered),
waiting, declined, component removed, connection gone, or a dashed
"Freigeben an …". One row per connection; ended releases are history.
Each active release can be ended. The height follows the customers.
- The published versions as a timeline (the latest four, older folded),
each with how many customers it reached, and the next as a draft.
- Publishing: the label, what it changes against the latest version,
what goes to customers and what stays (the released_cyclonedx
allowlist), who receives it, a preview download.
- Refusals read in words; the agent_client `data` helper is shared.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
- Until the connections are read, no "no connection" note or portal box;
until the draft is read, no component count and nothing to publish.
- The page waits for the target, so the title always names it.
- Ending a release takes two steps: the x asks, "Freigabe beenden" ends.
- The preview needs a label: it is the document's version.
- "Ihr Name als Zulieferer" among what goes to customers; "Noch keine
Version veröffentlicht" beside a first draft.
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 #1028. Stacked on #1066, which it needs for the draft and the per-version customer count. This adds the supplier's release screen from mockup RL3h (board "Prüfwerk, Zulieferer: Freigaben eines Prüfobjekts").
Where:
/targets/{id}/releases, opened with "SBOM freigeben" on the target page.What it shows:
released_cyclonedxallowlist, and the chips match it.label_taken,label,empty,too_many_components,unknown_connection,peer_not_entitled,released.Departures from the approved board (please check)
Checked locally against the board (the agent with a fake registry with three connections, a second agent as the customer workspace, and the dashboard):
Tests: unit tests for rows per connection, row states, the geometry for 0, 1, 3, 4 and 12 customers, the timeline fold, version reach, the ecosystem bar, and refusal parsing. Clippy 1.94 is clean for both server and web.
Also rendered locally: declined, component removed, connection gone, two-step end, no connections, connections unreadable (503), nothing to publish, first version, and 12 customers with 30 versions. At 12 customers the route is about 1180 px tall, which is readable.
Not checked: a read-only role in the browser. Local development has no Keycloak, so the gate (
use_can_write) was only checked in code.Loading: until the connections and the draft are read, the page claims nothing about them.
On stage: connections come from tenant-registry#138, which hasn't started. With #1066 the registry's 404 reads as no connections, so the screen shows "Noch keine Verbindung …" with a link to the portal.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The supplier side of mockup RL3h ("Prüfwerk, Zulieferer: Freigaben eines Prüfobjekts") at /targets/{id}/releases, opened from the target page ("SBOM freigeben", own targets only). - The route: the target (components by ecosystem, last scan), a line to each connected customer: receives (with the version delivered), waiting, declined, component removed, connection gone, or a dashed "Freigeben an …". One row per connection; ended releases are history. Each active release can be ended. The height follows the customers. - The published versions as a timeline (the latest four, older folded), each with how many customers it reached, and the next as a draft. - Publishing: the label, what it changes against the latest version, what goes to customers and what stays (the released_cyclonedx allowlist), who receives it, a preview download. - Refusals read in words; the agent_client `data` helper is shared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9c6650309c6toee2c6138b8