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

Implement search functionality #3

Open
Nick-Gabe opened this issue Mar 6, 2025 · 2 comments
Open

Implement search functionality #3

Nick-Gabe opened this issue Mar 6, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Nick-Gabe
Copy link
Owner

Expected

The search button should be at the top right of the feed, and when clicked it blurs the background, shows a horizontal input covering all width (reasonable 95%?) and allows me to type in anything.

After typing, it redirects me to a different tab, other than my fy, showing articles related to what i searched, or an empty screen if there's none. There should also be an arrow at the top left for me to go back to my normal fy.

Optionally in the same PR

The search should also be saved locally, so in next time it already shows me the recent searches below the input (where the blurred background is). And with a X button to exclude them from my history.

@Nick-Gabe Nick-Gabe added the enhancement New feature or request label Mar 6, 2025
@jardelima
Copy link
Contributor

I'm developing this issue and have a question. Exists some especif endpoint to get articles from search? I tested the endpoint https://dev.to/api/articles?search=${query} and the return it was only latest articles. I have also tested the endpoint https://dev.to/api/articles?tag=${query} and I succeeded, but if typing multiples words not working because need separete with ,.

@jardelima
Copy link
Contributor

pr#10

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

2 participants