Repository navigation
Coming Soon: one Save button with how many want it, and a notification when it comes out - #466
Merged
Merged
Conversation
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]>
… 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]>
This was referenced Nov 25, 2026
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
seen_soonin the library file,saved_out_nowinlib.rs).notifies/notifycommands. 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.mdand the README are updated.How you tested it
cargo test: the newsaved_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 earlierinterest_*tests. The crate builds.node --test tests/*.test.cjspasses (816). Newtests/soon-save.test.cjsruns the realactions()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.app.cssin a mocknpm run dev)Checklist
recomplauncher.json🤖 Generated with Claude Code