Skip to content

Coming Soon: one Save button with how many want it, and a notification when it comes out - #466

Merged
elripalda merged 4 commits into
mainfrom
claude/project-thread-2vdrcw
Nov 25, 2026
Merged

elripalda merged 4 commits into
mainfrom
claude/project-thread-2vdrcw

Conversation

@elripalda

@elripalda elripalda commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Requested by Ruben · project thread

What this changes

Save and Notify Me are now one button, the same as on the website (RecompStore-Site #86, which needs to go live first).

Coming Soon games have a single Save button where Notify Me used to be:

♡ Save · 4,704 (filled cyan)
♥ Saved · 4,704 (outlined, filled heart, soft glow)

  • Save is Add to Library. The game waits under Not Installed and works signed out too. When you're signed in it goes to your account with the rest of your saved list, and the website then sends its "it's out" email.
  • A notification when it comes out. When a new catalog no longer lists a saved game as Coming Soon, the launcher shows "{name} is out. A game you saved can be installed now." This works like the "new recomp for a game you own" notification and follows the same Notifications setting. Each game is announced once (seen_soon in the library file, saved_out_now in lib.rs).
  • A line under the button says what saving does: "Save it and we'll let you know when it comes out.", adding "here and by email" when you're signed in. The Coming Soon page and the toast say the same.
  • Big Picture has the same Save / Saved button, heart icons and line. The "Soon" badge on a saved game shows a filled heart instead of the bell.
  • Removed: the Notify Me button, the sign-in it started, and the notifies / notify commands. The website still answers those requests for older launchers, by saving or unsaving the game.

How many want it (from the first version of this PR) stays: Save on Coming Soon games and Add to Library on released ones show the website's count. It comes from api/pc.php?a=interest, is kept 10 minutes, and only shows from 10 upwards.

Moving Notify Me users over: the website does this once, by itself (#86). Everyone waiting for a Notify Me email gets the game saved, so their launcher shows it as Saved and in their Library at the next sync.

docs/LAUNCHER-API.md and the README are updated.

How you tested it

  • cargo test: the new saved_soon_tests (a saved game that came out is announced; one never Coming Soon, not saved, or gone from the catalog isn't; nothing on the first catalog), and the earlier interest_* tests. The crate builds.
  • node --test tests/*.test.cjs passes (816). New tests/soon-save.test.cjs runs the real actions() for Save, Saved and a game added by its link, and checks the line under the button signed in and out, the filled heart, Big Picture, that Notify Me is gone, and every language.
  • The buttons checked against the real app.css in a mock
  • Tried it in the launcher (npm run dev)

Checklist

  • One change per pull request
  • No version bump or patch notes (those are done at release time)
  • Doesn't change what developers can write in recomplauncher.json

🤖 Generated with Claude Code

The same number as the Save button on the recomp's website page: everyone
who saved it or is waiting for its Notify Me email, each account once. From
api/pc.php?a=interest, kept 10 minutes, shown from 10. Big Picture's game
page shows it too. A site without the count shows nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@elripalda elripalda self-assigned this Nov 23, 2026
… when it comes out

Save is Add to Library: the game waits under Not Installed, goes with the
account when signed in (the website emails them when it's out), and the
launcher shows a notification once a saved game is no longer Coming Soon.
Filled until saved, then outlined with a filled heart; the count stays on
it and a line under it says what saving does. Big Picture matches. The
Notify Me button, its sign-in flow and its two commands are gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@elripalda elripalda changed the title Game page: Notify Me and Add to Library show how many want the recomp Coming Soon: one Save button with how many want it, and a notification when it comes out Nov 24, 2026
@elripalda
elripalda merged commit e317266 into main Nov 25, 2026
6 checks passed
@elripalda
elripalda deleted the claude/project-thread-2vdrcw branch November 25, 2026 00:15
lucienlmy pushed a commit to lucienlmy/RecompLauncher that referenced this pull request Nov 25, 2026
Coming Soon's Save badge (elripalda#466) and Uninstalling… sit on the same lines: kept both. The test's
function finder now skips actions()'s new { want } parameter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
lucienlmy pushed a commit to lucienlmy/RecompLauncher that referenced this pull request Nov 25, 2026
Only the command list clashed (want_count from elripalda#466 next to saves_set_override): kept both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

2 participants