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

Separate between games saved on frontend, games saved on backend and games shared #2469

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Cosmin-Mare
Copy link
Collaborator

@Cosmin-Mare Cosmin-Mare commented Oct 17, 2024

This is with the changes from #2414, which has not been approved at the time of writing this, but I needed those changes for this

Adds icons to games that have been shared/saved in the backend. A game that was saved on the backend can't be moved to the frontend saving strat. When a game upgrades to the backend saving(for example the users goes to /beta/ or the user gets upgraded to a beta user), the game is duplicated and a new copy which is now using the backend saving strat is opened. When a room is shared it doesn't make a copy of it before(should it?).

Reminder for self to update the saving server when this gets merged to only save games that have the isSavedOnBackend active.

fixes #2425

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sprig ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 8:12pm

<div class="title-container">
<h3>{game.name || 'Untitled'}</h3>
<div class="icon-container">
{game.isRoomOpen &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a picture in the main description of what this popup looks like?

Copy link
Contributor

@grymmy grymmy left a comment

Choose a reason for hiding this comment

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

Note that this PR includes code that I've already given feedback on in #2414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants