Align admin link controls
This commit is contained in:
2
TODO.md
2
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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
{#each data.players as p}
|
||||
<tr>
|
||||
<td>
|
||||
{#if p.avatar_smell}
|
||||
{#if p.name && p.name !== p.player_name}
|
||||
{p.name}
|
||||
{:else}
|
||||
<span class="text-muted">Not chosen yet</span>
|
||||
|
||||
Reference in New Issue
Block a user