Skip to content

feat: restrict an op to selected students/groups (onlyFor)#51

Merged
obcode merged 1 commit into
mainfrom
feat/ops-only-for
Jul 19, 2026
Merged

feat: restrict an op to selected students/groups (onlyFor)#51
obcode merged 1 commit into
mainfrom
feat/ops-only-for

Conversation

@obcode

@obcode obcode commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Was

Auf Wunsch: bei den Ops einzelne Studierende/Gruppen auswählen. Die Ops-Seite lädt das Roster des Assignments über assignmentUrls (per + Ziel-Labels, kein GitLab-Call); eine einklappbare „Nur für ausgewählte Studierende/Gruppen"-Sektion bietet eine Checkbox pro Ziel (mit alle/keine). Die Auswahl geht als onlyFor an planOp → Plan-Vorschau, Ausführen und ein geplanter Lauf betreffen genau die gewählte Teilmenge. Leere Auswahl = alle (unverändert).

Backend konnte onlyFor schon — das ist rein GUI.

Verifikation

pnpm run check && pnpm run lint && pnpm test && pnpm run build — grün.

🤖 Generated with Claude Code

The ops page can now target a subset. The load fetches the assignment's roster via
assignmentUrls (per + the target labels, no GitLab call); a collapsible "Nur für
ausgewählte Studierende/Gruppen" section offers a checkbox per target (with
alle/keine), and the selection is passed as planOp's onlyFor — so the plan preview,
the run and a scheduled run all act on exactly the chosen subset. Empty selection =
everyone (unchanged). The backend already supported onlyFor; this is GUI-only.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@obcode
obcode merged commit 141d546 into main Jul 19, 2026
3 checks passed
@obcode
obcode deleted the feat/ops-only-for branch July 19, 2026 16:43
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