diff --git a/TODO.md b/TODO.md index 9e10152..445d730 100644 --- a/TODO.md +++ b/TODO.md @@ -4,7 +4,7 @@ - [x] Popping out the event log should leave a close button where the "Event Log" open button is, so that you don't have to move your mouse to quickly toggle it. The existing close button can remain. - [ ] Use the same vertical UI for the player list in all phases - [x] In the admin panel, if a pi-rat doesn't have a name yet, it should show something like 'not chosen yet' rather than the player name -- [ ] In the admin panel, the "Open" and "Copy" buttons should be the same size +- [x] In the admin panel, the "Open" and "Copy" buttons should be the same size - [ ] Store the player name in local storage and pre-populate it when joining a new game (but don't force it, let the player edit it if they'd prefer a different name) - [ ] If a player tries to rejoin a game that has ended or that they've been kicked from, they should get an error message and it should be removed from the list of re-joinable games - [ ] Games should have join codes in addition to join links. Join codes should be a sequence of 5 alphanumeric characters (upper case letters only, no ambiguous letters like 0/O/1/I). Add a panel to the home page for joining a game via code, and display the join code on the admin page diff --git a/frontend/src/assets/css/admin.css b/frontend/src/assets/css/admin.css index 6f82269..f80c44a 100644 --- a/frontend/src/assets/css/admin.css +++ b/frontend/src/assets/css/admin.css @@ -51,6 +51,16 @@ max-width: 500px; } +.link-copy-action > .btn { + display: inline-flex; + align-items: center; + justify-content: center; + width: 5.5rem; + height: 2.3rem; + flex-shrink: 0; + text-align: center; +} + /* --- Game over --- */ .gameover-container { max-width: 800px; diff --git a/frontend/src/lib/changelog.js b/frontend/src/lib/changelog.js index 783a1d8..b790503 100644 --- a/frontend/src/lib/changelog.js +++ b/frontend/src/lib/changelog.js @@ -6,10 +6,17 @@ // - Add a CHANGELOG entry only when a commit changes something players can // see. Skip refactors, tests, and tooling. Keep wording player-facing. -export const VERSION = 15; +export const VERSION = 16; // Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }. export const CHANGELOG = [ + { + version: 16, + date: '2026-07-10', + changes: [ + 'Open and Copy controls in the Admin Panel now have matching sizes.', + ], + }, { version: 15, date: '2026-07-10', diff --git a/frontend/src/pages/Admin.svelte b/frontend/src/pages/Admin.svelte index 32a3888..99a3647 100644 --- a/frontend/src/pages/Admin.svelte +++ b/frontend/src/pages/Admin.svelte @@ -153,7 +153,7 @@ {#each data.players as p}