Skip to content

feat(info): add ability to specify info links in footer#393

Open
mfcrocker wants to merge 1 commit intopokedextracker:masterfrom
mfcrocker:support-alternative-information-sites
Open

feat(info): add ability to specify info links in footer#393
mfcrocker wants to merge 1 commit intopokedextracker:masterfrom
mfcrocker:support-alternative-information-sites

Conversation

@mfcrocker
Copy link

Fixes #147

  • Adds a setting to the account menu to choose between Bulbapedia/Serebii/PokemonDB for links in the Info footer
  • Uses this setting to display the correct link
  • Adds support for PokemonDB
  • Refactors the Info footer links into its own component, incorporating the Serebii dex-naming code

This is mostly tested - I can't quite work out how to point it at my local version of the API so haven't done a full end to end test, but it works when manually setting site="PokemonDB" in the new InfoLink component.

It also doesn't implement PokeWiki.de or PokePedia.fr as those will require Pokemon name localisation before implementing, given their URLs use the German/French Pokemon names.

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.

support various other pokemon info sites

1 participant