Clarify unnamed Pi-Rats in admin panel

This commit is contained in:
2026-07-10 12:21:07 -07:00
parent 1a4bc86139
commit feb595af16
3 changed files with 16 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
- [x] The character sheet modal popup is narrower than it needs to be on wide screens. I think it could safely be like 90% as wide as the non-modal UI. - [x] The character sheet modal popup is narrower than it needs to be on wide screens. I think it could safely be like 90% as wide as the non-modal UI.
- [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. - [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 - [ ] Use the same vertical UI for the player list in all phases
- [ ] 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 - [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 - [ ] 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) - [ ] 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 - [ ] 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

View File

@@ -6,10 +6,17 @@
// - Add a CHANGELOG entry only when a commit changes something players can // - Add a CHANGELOG entry only when a commit changes something players can
// see. Skip refactors, tests, and tooling. Keep wording player-facing. // see. Skip refactors, tests, and tooling. Keep wording player-facing.
export const VERSION = 14; export const VERSION = 15;
// Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }. // Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }.
export const CHANGELOG = [ export const CHANGELOG = [
{
version: 15,
date: '2026-07-10',
changes: [
'The Admin Panel now clearly marks Pi-Rats whose character identity has not been chosen yet.',
],
},
{ {
version: 14, version: 14,
date: '2026-07-10', date: '2026-07-10',

View File

@@ -152,7 +152,13 @@
<tbody> <tbody>
{#each data.players as p} {#each data.players as p}
<tr> <tr>
<td>{p.name}</td> <td>
{#if p.avatar_smell}
{p.name}
{:else}
<span class="text-muted">Not chosen yet</span>
{/if}
</td>
<td>{p.player_name || p.name}</td> <td>{p.player_name || p.name}</td>
<td> <td>
{#if p.role === 'deep'} 🌊 Deep {#if p.role === 'deep'} 🌊 Deep