Skip to content

revert: open the session in the editor from the post-game card (#34) - #44

Merged
DarrellVS merged 1 commit into
devfrom
revert-34-toast-button
Sep 22, 2026
Merged

DarrellVS merged 1 commit into
devfrom
revert-34-toast-button

Conversation

@DarrellVS

Copy link
Copy Markdown
Owner

Reverts #34 (issue #19), as requested.

Gates: npm run check 689 tests; npm run build green; toast.spec.ts + window-state.spec.ts 4 passed.

🤖 Generated with Claude Code

Reverts #34 (#19) on request.

The overlay card goes back to what it was before: no button, no preload,
`setIgnoreMouseEvents(true)` without forwarding, so nothing drawn over a
game can take a click. `src/preload/toast.ts`, the route token,
`?cut=highlights` in the editor and `scripts/toast-button-check.mjs` go
with it.

The main preload goes back to `index.mjs` as ESM. `.cjs` was only ever
needed because the toast's preload was sandboxed, and that preload is
gone.

Conflicts resolved in `electron.vite.config.ts` (the pre-#34 single
entry) and `CLAUDE.md` (the commands added since #34 are kept).

`npm run check`: 689 tests. `npm run build` green. `toast.spec.ts` and
`window-state.spec.ts`: 4 passed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@DarrellVS DarrellVS added this to the 3.5.0 milestone Sep 22, 2026
@DarrellVS DarrellVS self-assigned this Sep 22, 2026
@DarrellVS
DarrellVS merged commit cd2628b into dev Sep 22, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant