Skip to content

Add search at the end of guide - #207

Open
Naramsim wants to merge 2 commits into
masterfrom
staging
Open

Naramsim wants to merge 2 commits into
masterfrom
staging

Conversation

@Naramsim

@Naramsim Naramsim commented Dec 4, 2026

Copy link
Copy Markdown
Member

Hi, @FallenDeity @jemarq04 , do you think a search box would be useful?

https://staging.pokeapi.co/how-tos/pokemon#interactive-search

We could highlight the default, but that requires more HTTP calls or using the GQL

@FallenDeity

Copy link
Copy Markdown
Contributor

its pc only? cant we make it responsive?

@Naramsim

Naramsim commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Yeah i tought to make it PC only. So the columns are side by side and the search can happen simultaneously on all of them. If we make it responsive they might be pushed down and the users might need to scroll to see the results, no?

But I'm open to other ideas

@Naramsim

Naramsim commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Or maybe we make the font smaller so the three columns all fit? Maybe it's better. Now on mobile there's a description with no search functionality so definitely we cannot merge, my bad

@FallenDeity

FallenDeity commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

made a few edits got an idea that we can do the same for evolution chains as well can you give it a look https://fallendeity.github.io/pokeapi.co/how-tos/pokemon/#interactive-explorer

its on this branch https://github.com/FallenDeity/pokeapi.co/tree/pokemon-search

i just reused the graph component since thats responsive already, and the search bar remains the same it caches the species list endpoint

@Naramsim

Naramsim commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Your approach is way better then mine, we can merge in your's :)

This branch has not been deployed

No deployments
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.

2 participants