Feat #179: 36 Monate (3 Jahre) Laufzeit im Wizard + Verlängern - #228
Merged
Conversation
Ergänzt die 36-Monats-Option (3 Jahre, Dauer des Studiums) überall dort, wo bisher bei 24 Monaten / "2 Jahre" Schluss war. Gegenstück zum Backend-PR (ALLOWED_RUNTIME_MONTHS um 36 erweitert) — ohne beide Seiten würde der extend/create-Call mit 422 abgelehnt. - src/api/deployments.ts: RuntimeMonths-Typ um | 36 erweitert. - DeploymentWizard.tsx: SelectItem value="36" (3 Jahre) nach 24 ergänzt; runtimeLabels-Map um "36": "3 Jahre" erweitert. - DeploymentDetails.tsx: beide Runtime-Arrays und die Verlängern-Button-Liste um 36 ergänzt; maxExtension 24 -> 36; Dialog-Text "Maximal 24 Monate" -> "Maximal 36 Monate". - DeploymentDetailsPage.tsx: ALLOWED-Snap-Array (Prefill für Redeploy-Wizard) um 36 erweitert, damit ein 36-Monats-Deployment nicht faelschlich auf 24 gerundet wird. Verifiziert mit npm run build (grün).
RamonaKT
self-requested a review
July 24, 2026 21:45
RamonaKT
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #179
Frontend-Seite des Two-Repo-Changes: Deployments koennen jetzt fuer bis zu 36 Monate (3 Jahre, Dauer des Studiums) angelegt und verlaengert werden. Bisher war ueberall bei 24 Monaten / "2 Jahre" Schluss.
Aenderungen (Frontend)
src/api/deployments.ts(Z. 128):RuntimeMonths-Typ um| 36erweitert.src/pages/DeploymentWizard.tsx:<SelectItem value="36">3 Jahre</SelectItem>nach der 24-Option ergaenzt;runtimeLabels-Map um"36": "3 Jahre"erweitert.src/pages/DeploymentDetails.tsx: beide Runtime-Arrays (getAvailableExtendMonths) und die Verlaengern-Button-Liste um36ergaenzt;maxExtension = 24 - ...->36 - ...; Dialog-Text "Maximal 24 Monate" -> "Maximal 36 Monate".src/pages/DeploymentDetailsPage.tsx: dasALLOWED-Snap-Array (Prefill fuers Redeploy in den Wizard) um36erweitert, damit ein 36-Monats-Deployment nicht faelschlich auf 24 gerundet wird. (War nicht in der urspruenglichen Aufgabenliste, per Grep gefunden und mitgezogen.)Verifikation
npm run build-> gruen (die CSS-css-syntax-error-Warnung stammt aus der vorgebautensrc/index.cssund ist unabhaengig von dieser Aenderung).Gepaarter Backend-PR
ALLOWED_RUNTIME_MONTHSum 36 erweitert). Muss zuerst deployt sein, sonst wird der create/extend-Call weiterhin mit 422 abgelehnt.Produkt-Frage an das Team
36 wurde bewusst sowohl beim Erstellen als auch beim Verlaengern hinzugefuegt (Konsistenz zwischen Wizard und Verlaengern-Dialog). Hinweis: die 24-Grenze war ein kuerzlich bewusst gesetzter Cap — bitte bestaetigen, ob 36 wirklich fuer beide Flows gelten soll oder nur fuers Verlaengern.