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

Making the new game button always create a new game #2310

Merged
merged 13 commits into from
Oct 10, 2024

Conversation

EerierGosling
Copy link
Collaborator

@EerierGosling EerierGosling commented Sep 6, 2024

Fixes #2205.

First, I changed the flow for making a new game so it actually creates a new game if you're partially logged in (entered an email to get a game link) instead of just sending you to your previous game.

I also added a page that asks the user what they want to do when they ask to create a game but they aren't logged in and have unsaved work in the editor.
Screenshot 2024-10-02 at 5 55 06 PM

Copy link

vercel bot commented Sep 6, 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 10, 2024 2:32am

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.

Please test this very carefully, especially when it hits production. Please ensure that it actually does resolve the specific steps to reproduce in the linked-to bug.

@EerierGosling EerierGosling added this pull request to the merge queue Oct 10, 2024
Merged via the queue into hackclub:main with commit 05b62d1 Oct 10, 2024
3 checks passed
@EerierGosling EerierGosling deleted the new-game-not-new-game branch October 10, 2024 02:37
Cosmin-Mare pushed a commit to Cosmin-Mare/sprig that referenced this pull request Oct 17, 2024
* making progress on fixing

* game saves on login

* removing debug stuff

* removing more debug stuff

* finished css-ing

* improved redirect to editor from 'make game' button

* Update Maze-escape.js

* Update Maze-escape.js

* Update memory_game.js

* fixing error + adding comment
Cosmin-Mare pushed a commit to Cosmin-Mare/sprig that referenced this pull request Oct 28, 2024
* making progress on fixing

* game saves on login

* removing debug stuff

* removing more debug stuff

* finished css-ing

* improved redirect to editor from 'make game' button

* Update Maze-escape.js

* Update Maze-escape.js

* Update memory_game.js

* fixing error + adding comment
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.

New game button doesn't actually create a new game
3 participants