From b4495f24af6e5d2a8cbc00851ca53a4d463ae7d6 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Mon, 6 Jul 2026 23:24:27 -0500 Subject: [PATCH] chore: remove unused match-stub and upload-result view templates Neither src/Views/match-stub.php nor src/Views/upload-result.php is referenced by any handler or route in Plan 3b: - match-stub is the Plan 4 battle-interface placeholder; Plan 3b does not register a /match route. - upload-result is the iframe-style post-upload response; Plan 3b returns JSON from POST /assets/upload and Plan 3c will wire the client-side upload form. Both files were over-eager scaffolding from Task 3 (6a0b147). Drop them in a follow-up commit rather than amend the shared Task 3 commit. --- src/Views/match-stub.php | 28 ---------------------------- src/Views/upload-result.php | 26 -------------------------- 2 files changed, 54 deletions(-) delete mode 100644 src/Views/match-stub.php delete mode 100644 src/Views/upload-result.php diff --git a/src/Views/match-stub.php b/src/Views/match-stub.php deleted file mode 100644 index 71e5eda..0000000 --- a/src/Views/match-stub.php +++ /dev/null @@ -1,28 +0,0 @@ - Escape::html($v); -$matchInfo = $matchJson !== null ? "Match loaded." : "No match in progress."; -?> -

Match

-

- -
- Match state (debug) -
-
- -

Battle interface coming in Plan 4.

-

Back to home

- Escape::html($v); -$json = json_encode(['url' => $url], JSON_THROW_ON_ERROR); -?> -

Uploaded:

- -