diff --git a/TODO.md b/TODO.md index 77ad95c..82db769 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ ## Polish - [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. -- [ ] 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 - [ ] 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 diff --git a/frontend/src/assets/css/scene-play.css b/frontend/src/assets/css/scene-play.css index eb30849..6e6c469 100644 --- a/frontend/src/assets/css/scene-play.css +++ b/frontend/src/assets/css/scene-play.css @@ -24,7 +24,7 @@ } } -/* Corner button that reopens the collapsed inline Event Log. */ +/* Corner button that toggles the inline Event Log without moving. */ .log-reopen-btn { position: fixed; bottom: 20px; diff --git a/frontend/src/components/ScenePhase.svelte b/frontend/src/components/ScenePhase.svelte index a6c9631..c99f491 100644 --- a/frontend/src/components/ScenePhase.svelte +++ b/frontend/src/components/ScenePhase.svelte @@ -7,7 +7,7 @@ export let state; - // The inline Event Log can be collapsed to a corner button to declutter. + // The inline Event Log can be toggled from a fixed corner button to declutter. let logOpen = true; $: hand = state.player.hand_cards ? JSON.parse(state.player.hand_cards) : []; @@ -70,8 +70,10 @@ {/if} -{#if !logOpen} - -{/if} + diff --git a/frontend/src/lib/changelog.js b/frontend/src/lib/changelog.js index 4aee6d0..84e877c 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 = 13; +export const VERSION = 14; // Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }. export const CHANGELOG = [ + { + version: 14, + date: '2026-07-10', + changes: [ + 'The corner Event Log button now stays put when the log is open, so it can be closed again without moving your mouse.', + ], + }, { version: 13, date: '2026-07-10',