Skip to content

In documentation, hide about section when searching #5648

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krtab
Copy link
Contributor

@krtab krtab commented Jan 2, 2023

This commit hides the about section when the search bar is not empty, making it more discoverable to users that search is indeed working and they should look in the options section.

@krtab krtab changed the title In documentation, add about section when searching In documentation, hide about section when searching Jan 3, 2023
Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think giving users the option to collapse the about section would be a nice addition to the docs.

I think this functionality could be linked to searching, but perhaps a more flexible option is to provide a checkbox or another button to allow toggling the about section.

This commit hides the about section when the search bar is not empty,
making it more discoverable to users that search is indeed working and
they should look in the options section.
@krtab
Copy link
Contributor Author

krtab commented Jan 4, 2023

Feel free to add a button or checkbox on top of that. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants