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

disable (or customize) "more on this page" in search results #7355

Closed
4 tasks done
psifertex opened this issue Jul 10, 2024 · 2 comments
Closed
4 tasks done

disable (or customize) "more on this page" in search results #7355

psifertex opened this issue Jul 10, 2024 · 2 comments
Labels
change request Issue requests a new feature or improvement

Comments

@psifertex
Copy link

Context

This might just be a specific instance that will be addressed by #6307 but right now we have a lot of users who fail to find the item they're looking for in the documentation because the search term shows up many times and they don't notice "more on this page" when scrolling and so the most appropriate result will be hidden until they click that.

Description

I'd like to have the ability to either disable "more on this page" or specify a minimum number of results upon which that feature is enabled. So anything less than, say 10 items and I want them individually listed, not hidden behind a click

Related links

#6307

Use Cases

This could significantly help the number of times the user searches for a term that is in the docs but the fail to find the correct location they are looking for because it is hidden behind a click.

Visuals

No response

Before submitting

@squidfunk
Copy link
Owner

squidfunk commented Jul 10, 2024

Thanks for suggesting! Search is going to receive a major update and the "more on this page" is going away. Thus, we're not considering making changes right now, since they will soon be replaced by an entirely new interface. If you wish to make the button more apparent, e.g. with the following styles:

.md-search-result__more summary {
  background: red; /* Change to any color you like */
}

@squidfunk squidfunk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
@squidfunk squidfunk added the change request Issue requests a new feature or improvement label Jul 10, 2024
@psifertex
Copy link
Author

Thanks for the suggestion and the quick reply. Totally understand -- I'm definitely excited for the new search!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Issue requests a new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants