Offer the current exercise through an explicit API switch.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 16s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m42s

The exercise list turns the live catalog on or off for the caller's edit rights. A distribution key reads that current selection and the changes since its last cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-23 15:37:25 +01:00
1 parent 4ad62b6e38
commit b59b7eae16
13 files changed
+488 -5

No files matched your search

@@ -6,6 +6,8 @@ export default function ExerciseListBulkToolbar({
onClearSelection,
onOpenBulkModal,
onOpenSaveModuleModal,
onSetApiOffering,
apiOfferingBusy = false,
}) {
if (selectedCount < 1) return null
@@ -21,6 +23,22 @@ export default function ExerciseListBulkToolbar({
<button type="button" className="btn btn-primary btn-small" onClick={onOpenBulkModal}>
Massenänderung…
</button>
<button
type="button"
className="btn btn-secondary btn-small"
disabled={apiOfferingBusy}
onClick={() => onSetApiOffering(true)}
>
API bereitstellen
</button>
<button
type="button"
className="btn btn-secondary btn-small"
disabled={apiOfferingBusy}
onClick={() => onSetApiOffering(false)}
>
API ausblenden
</button>
<span className="exercise-bulk-toolbar__meta">
Bis zu {bulkMaxIds} pro Anfrage. Für „Verein“ ohne Auswahl: aktiver Vereinskontext (
<code>X-Active-Club-Id</code>