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

Generator - Generate from Homebrew JSON Documents #66

Closed
fedorablewill opened this issue Aug 25, 2022 · 0 comments
Closed

Generator - Generate from Homebrew JSON Documents #66

fedorablewill opened this issue Aug 25, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fedorablewill
Copy link
Owner

Add a new "Pokédex & Homebrew" section at the bottom. Add a "Pokédex 1.05+" checkbox. Add a card that will default to having greyed out, centered text reading "No Homebrew Added". Add a "+ Add Homebrew" button.

On clicked, a modal will display titled "Load Homebrew" with all the same fields and layout as the "Load a Pokemon" section on the landing page. User inputs either a Pokemon JSON or a Pokedex Entry JSON from either Google Drive, Upload, or Pasted JSON. The generator will then use the Pokedex Entry from the input to generate a new Pokemon.

Uploads should allow multiple files. JSON should allow array of objects.

On file select from Google Drive, place the JSON into the "Paste JSON" field and change the "Select File" button to read "Change File".

On "Paste JSON" field being updated, display the name of the selected Pokemon in place of "No File Chosen".

In the footer of the modal, add a "Submit" button.

On submit, add a Pill Badge with the species name under the new "Pokédex & Homebrew" section in the card. Have a delete icon on the right side of each badge. On click, it will remove the species.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant