Virtual cube sink card on the collection Settings tab (Z-8b)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, react, typescript
Research direction
Read the referenced Z-8 plan and the spec’s §9, then inspect the collection Settings components and query hooks under app/src/lib/cubes/. Follow query key conventions in app/src/lib/query/keys.ts and the existing association and sink APIs. Done means the card supports the specified form, validation, lock and first-append refusal states, and status for each cubeSinkHealth value; run the component tests and verify.
Written by the indexing model from the issue text.
Description
Queue: Z (#83) · Spec: docs/superpowers/specs/2026-10-03-virtual-cube-sink-design.md §9 · Plan: docs/superpowers/plans/ (the Z-8 plan covers both #94 and this slice; write it first)
Split out of #94 on 2026-11-10 so the Preview work and the sink card can land as two PRs in parallel. Files do not overlap with #94.
Task
Settings tab "Virtual cube" card (operator+): source picker (collections with a reference-mode ingest association only, from GET /api/associations/reference-sources), variables, window, enable/disable (optimistic PATCH), and status (ledger counts, last error, last snapshot, last maintenance including sizes; cubeSinkHealth from #129 decides the badge).
Facts to build on (from #94 and #129)
- Always send
enabledon PUT (the schema defaults it totrue). - Disable the source picker and layout fields once
last_snapshot_idis set (the only lock signal). - Refuse writes while
last_snapshot_idis null and rows are pending: any app write bumpsupdated_atand makes the pipeline discard and redo the first append. - A 404 from GET is "no sink yet" only when the caller already manages the collection.
- PATCH is optimistic (
expectedVersion); a 409 means reload. 422unsupported_source_protocoland the other API validation errors render inline. - The collection that will hold the cube must exist first; the card creates the sink, not the collection.
Acceptance criteria
- verify green.
- Component tests: the form, validation errors from the API, the locked state, the first-append write refusal, the status block for each
cubeSinkHealthvalue. - Query keys through
app/src/lib/query/keys.ts; hooks next toapp/src/lib/cubes/.
Files in scope
app/src/components/collections/ (sink card + Settings tab mount)
app/src/lib/cubes/ (queries)
app/src/lib/query/keys.ts
app/src/__tests__/
Lead-only steps
Browser check against the stack; e2e if a spec is added.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 8h 26m
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TechTraverse/stac-higher
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 85/100
TechTraverse/stac-higher#261 ·
Maintainers usually reply within 1 day
-
ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TechTraverse/stac-higher#258 ·
Maintainers usually reply within 1 day
-
Error messages hide the server's reason: users see only '400 Bad Request'Possibly taken @aman-code-io claimed this 3 days ago. Openbug good first issue ready
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TechTraverse/stac-higher#232 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TechTraverse/stac-higher#225 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TechTraverse/stac-higher#216 ·
Maintainers usually reply within 1 day
All issues in TechTraverse/stac-higher
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day