Add commit comments and open-from-activity to Database Activity pane #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Labels:
enhancement,uiThe Database Activity pane currently displays a flat list of items with part number, description, and date. It's read-only with no interaction beyond selection highlighting.
Current state
Each row shows:
{part_number} – {description} – {date}No way to:
Proposed changes
1. Show revision comment inline
Each activity entry should display the most recent revision's
commentfield (already tracked in therevisionstable per spec). If no comment exists, show(no comment)in muted text.This requires fetching revision data alongside items. Options:
GET /api/items/{partNumber}/revisions?limit=1per item (chatty, avoid)Server-side suggestion: If
GET /api/itemsdoesn't already returnlatest_comment, consider adding it as an optional field via query param?include=latest_commentto keep the default response lean.2. Editable comment on commit
When the user performs
Silo_Commit, the commit dialog should include a comment field (single-line or small multiline). This maps directly to thecommentcolumn on therevisionstable — the API endpointPOST /api/items/{partNumber}/revisionsalready accepts acommentfield per spec.If the user leaves the comment blank, the revision is created with
comment: null(current behavior preserved).3. Open item from activity pane
Each activity row should support:
Silo_Checkoutfor that part number (download from MinIO and open in Create)Open in Create— checkout and openOpen in Browser— launchhttps://silo.kindred.internal/items/{partNumber}in default browser (web UI detail view)Copy Part Number— copy to clipboardView Revisions— runSilo_Logfor that part number4. Visual tweaks
SiloPartNumberproperties)A01-0002 – FILAMENT WINDING UNIT ASSY – Rev 3 – 2026-01-29Wireframe
Acceptance criteria
Silo_Commitdialog includes a comment text fieldGET /api/itemssupports?include=latest_comment(or equivalent) to avoid N+1 queries — file as sub-issue on[silo]if needed