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

Optimising search bar on all pages #64

Open
grmbyrn opened this issue Aug 8, 2023 · 0 comments
Open

Optimising search bar on all pages #64

grmbyrn opened this issue Aug 8, 2023 · 0 comments

Comments

@grmbyrn
Copy link
Contributor

grmbyrn commented Aug 8, 2023

The search bar present on all pages could be optimised in a number of ways. I would add pagination to limit the amount of results which appear with each search as too many might be overwhelming for the user and it doesn't look as nice when the user has to scroll so much.
As Bootstrap is being used, here are some possible options for this: https://getbootstrap.com/docs/4.0/components/pagination/

Also, filter out results which lead to the same location. I searched 'gpg' and the first two results (https://secure-git.guide/002_GPG-Why-we-use-GPG/ and https://secure-git.guide/002_GPG-Why-we-use-GPG/#gpg-why-we-use-gpg) led to the same page, as well as other results appearing more than once, which is unnecessary. A Set could be used to store unique results which can then be displayed to the user.

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

No branches or pull requests

1 participant