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

[Improvement] Add next/previous buttons #2

Open
benolot opened this issue May 4, 2024 · 6 comments
Open

[Improvement] Add next/previous buttons #2

benolot opened this issue May 4, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@benolot
Copy link
Owner

benolot commented May 4, 2024

Why?

As a user I want to quickly play more puzzles without having to go back to the menu.

Requirements

A button is added to the footer that contains a link to the next puzzle, and previous puzzle. When there is no (unlocked) next puzzle, or previous puzzle, the respective buttons should not show.

@benolot benolot added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 4, 2024
@evnxprk
Copy link

evnxprk commented May 4, 2024

I would like to work on this but just to clarify, you just want a next and previous button for wanting to go to the previous puzzle and the next puzzle?

@benolot
Copy link
Owner Author

benolot commented May 5, 2024

Yes 🙂 That's right

@evnxprk
Copy link

evnxprk commented May 5, 2024

Could I be added as an assignee to this issue? I have not done this before, it will be a new thing for me. However, I would love to try this as I'm trying to find new skills to learn. If not, then you are more than welcome to decline.

@benolot
Copy link
Owner Author

benolot commented May 6, 2024

Of course! If you need help with doing it let us know 😊

@evnxprk
Copy link

evnxprk commented May 6, 2024

I've only had experience working with Python and Javascript npm scripts. I've tried using npm start and npm run but both are not working with this project. Is there a command you have been using that I can try to use myself?

@benolot
Copy link
Owner Author

benolot commented May 8, 2024

Sorry for the reply delay!

For running it locally I just use python3 -m http.server inside the dist folder.

As for building locally, if you have the correct node version installed you can run npm install and then npm run build before starting your local web server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants