Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROMM-1427] Add option to remove game from continue playing #1461

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Jan 10, 2025

This simply sets last_playing to null, since it doesn't make a ton of sense to add more complexity for a field that'll just be overwritten next play IMO. Other solutions would require adding more fields or local storage, and that's too much work lol.

@gantoine gantoine requested a review from zurdi15 January 10, 2025 02:57
Copy link

github-actions bot commented Jan 10, 2025

Test Results

93 tests  ±0   93 ✅ ±0   26s ⏱️ -1s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 3194609. ± Comparison against base commit de74688.

♻️ This comment has been updated with latest results.

})
.then(() => {
emitter?.emit("snackbarShow", {
msg: `${props.rom.name} removed from Continue Playing`,
Copy link
Collaborator

@adamantike adamantike Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we currently support i18n here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but we already have a ton of these error messages that aren't translated. At some point we'll do a second pass and correct these, but since they're transient IMO they're lower priority.

backend/endpoints/rom.py Outdated Show resolved Hide resolved
@gantoine gantoine requested a review from zurdi15 January 10, 2025 15:36
@gantoine gantoine merged commit 55de45c into master Jan 10, 2025
9 checks passed
@gantoine gantoine deleted the romm-1427 branch January 10, 2025 15:39
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.

3 participants