Add ability to end a run as victory or defeat

Add End Run button to run dashboard with a confirmation modal offering
Victory/Defeat choice. Backend auto-sets completedAt timestamp and
validates only active runs can be ended. Ended runs show a completion
banner with date and duration, rename team to "Final Team", and hide
encounter logging and status change interactions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 13:12:56 +01:00
parent 1f198aca4c
commit 110b864e95
6 changed files with 166 additions and 15 deletions

View File

@@ -1,11 +1,11 @@
---
# nuzlocke-tracker-jq50
title: Add ability to end a run (success/failure)
status: todo
status: completed
type: task
priority: normal
created_at: 2026-02-06T10:22:00Z
updated_at: 2026-02-06T10:22:34Z
updated_at: 2026-02-07T12:12:42Z
parent: nuzlocke-tracker-f5ob
---