Skip to content

feat(web): issues fields in the assignment editor schema#97

Merged
obcode merged 1 commit into
mainfrom
feat/web-issues-fields
Jul 18, 2026
Merged

feat(web): issues fields in the assignment editor schema#97
obcode merged 1 commit into
mainfrom
feat/web-issues-fields

Conversation

@obcode

@obcode obcode commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Dritter verschachtelter Block — Issues — backend-only (das GUI rendert ihn generisch, keine Frontend-Änderung nötig).

  • assignmentSchema bekommt die Issues-Gruppe: replicateFromStartercode (bool), issueNumbers (kommagetrennte Ganzzahl-Liste), includeChildTasks (bool) — je mit kurzer Beschreibung.
  • assignmentOwn liefert die issues.*-Werte (issueNumbers als „1, 2, 5"); applyDraft baut den Block in ein neues Struct (nie das Original mutieren), parst issueNumbers via splitIntList (nicht-numerische Einträge fallen weg) und nilt den Block bei leer.

Verifiziert

go test ./web/... (Issues set/unset-Roundtrip, nicht-numerische verworfen) · go vet (beide Tags) · golangci-lint · isolierter Live-Check (Schema exponiert die Issues-Gruppe; own spiegelt die Source-Werte). Der Check lief mit eigenem Binary/Config im Scratchpad — die lokale Backend-Config wurde nicht angefasst.

🤖 Generated with Claude Code

Third nested block, backend-only (the GUI renders it generically).

- assignmentSchema adds the Issues group: replicateFromStartercode (bool),
  issueNumbers (a comma-separated integer list), includeChildTasks (bool) — each
  with a short German description.
- assignmentOwn emits the issues.* values (issueNumbers joined as "1, 2, 5");
  applyDraft rebuilds the block into a new struct (never mutating the original),
  parses issueNumbers via splitIntList (non-numeric entries dropped), and nils
  the block when empty.

Verified: go test ./web/... (issues set/unset round-trip, non-numeric dropped),
go vet (both tags), golangci-lint, and an isolated live check (schema exposes the
Issues group; own reflects the source values).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@obcode
obcode merged commit 4864ad6 into main Jul 18, 2026
8 checks passed
@obcode
obcode deleted the feat/web-issues-fields branch July 18, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant