-
Notifications
You must be signed in to change notification settings - Fork 173
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
Put a Package/ID search box on the osv.dev main page #1802
Comments
FYI, this is already the case, e.g. https://osv.dev/CVE-2023-4863 |
Oh cool! I didn't know that. But actually, I think these two search methods are complementary rather than true, mutually exclusive alternatives. One is UI-discoverable and friendly for new users, the other is more of a power-user feature. (The fact that I thought of this redirection but assumed it wasn't implemented so did not actually "discover it" kind of proves this). |
Also, the URL redirection-based search is not fully complete, since navigating to e.g. |
Some inspiration: https://deps.dev/ |
Is your feature request related to a problem? Please describe.
There is no search box present on the front page of
osv.dev
. In order to searchosv.dev
, you have to click on "Search Vulnerability Database", then click on the search box, then type your query. This requires two extra mouse clicks plus a page / screen change, which is excessive for such a core function of the website.Describe the solution you'd like
There should be a package / ID search box on the main page of
osv.dev
, which functions identically to the one onosv.dev/list
. (i.e. when a search query is submitted, the page redirects toosv.dev/list
).The search box should be brought into focus immediately when the page is loaded. This means the user can type or paste a query into the search box without having to manually click (or tab) to bring it into focus. (An example is when you visit google.com).
As an extra bonus, the search box on
osv.dev/list
should also be autofocused when the page is loaded.Describe alternatives you've considered
Implement URL redirection so that navigating to
osv.dev/<query>
redirects toosv.dev/list
and performs a search for<query>
. This would be even more efficient, bypassing the main page completely, however this way of searching is less discoverable for a new user.Additional context
Having search functionality immediately available on the main page would greatly improve the usability and discoverability of the OSV search function, which I think is one of the primary functions of the osv.dev website.
The text was updated successfully, but these errors were encountered: