-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Bug: Search fields redirects to 404 error page #3949
Comments
Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label. To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please comment on this issue. For full info on how to contribute, please check out our contributors guide. |
.take |
The issue you are trying to assign yourself is blocked until it can be triaged or by another label on the issue. |
@adamgonzo have you checked in your system ? do you get the same issue ? |
@Mandeep56Singh yes i get the same issue |
@adamgonzo I find it kinda weird that search suggest any repo in search repositories field, I should only suggest repos based on seleted topic. |
@Mandeep56Singh from what i understand you are saying that once you select a topic the search should only present repositories within that topic ? |
@adamgonzo yeah, because repositories are shown based on selected topic and we are using search filed so to find the repo under that topic fast. |
Thanks @Mandeep56Singh @adamgonzo. The URL path should begin with |
.take |
hey I was also intrested in solving this issue too 😅 |
@brandonroberts @adamgonzo I have resolved this issue OpenSauced.Insights.-.Javascript._.Dashboard.-.Google.Chrome.2024-08-15.23-48-15.mp4should I create a pr ? |
@Mandeep56Singh if @adamgonzo wants to defer to you, that's fine. They did try to pick it up initially |
@brandonroberts thats totally fine I won't be able to get till it till 5 pm anyways and it's an issue that is affecting users so it's okay with me |
Issue persist when you also press enter with blank field |
@adamgonzo also happen when clicking cross icon. |
@brandonroberts It seems that in handleOnSearch within repositories.tsx, the following code is responsible for the issue:
The first if condition is causing the problem when the search query is empty, directing the user to a weird page. This could be fixed by updating the route as we did in the second condition. But then when user enter the empty query the page direct to |
@Mandeep56Singh yes, the path in the first condition should match. We support that way also so you can clear the search box after filtering for a specific repository |
@brandonroberts |
Maybe. I think we should fix the 404 navigation first, then revisit the UX separately. |
@brandonroberts i can fix the error clearing, and the error if user leaves input box blank and presses enter it leaded them to a 404 page |
🎉 This issue has been resolved in version 2.60.0-beta.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 2.60.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
OpenSauced.Insights.-.Javascript._.Dashboard.mp4
Steps to reproduce
The text was updated successfully, but these errors were encountered: