Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Search returns seemingly non-compatible anchors #1977

Open
jyavorska opened this issue Jan 26, 2022 · 1 comment
Open

Search returns seemingly non-compatible anchors #1977

jyavorska opened this issue Jan 26, 2022 · 1 comment
Labels
bug Something isn't working 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. handbook-search team/content-platform

Comments

@jyavorska
Copy link
Contributor

I've noticed something with search in the handbook, if I search for use cases it returns URLs that look like this:

Whereas, if I go to that page and generate a link from clicking on the anchor it looks like this:

The second style takes you to the right place on the page, but the first style (returned by search) takes you to a bit lower so it cuts off some of the content. Is there a reason for returning the two different styles of anchor links?

@jyavorska jyavorska added the 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. label Jan 26, 2022
@marybelzer marybelzer moved this to Ready for Development in Content Platform Work Jan 26, 2022
@marybelzer marybelzer added the bug Something isn't working label Jan 26, 2022
@jyavorska
Copy link
Contributor Author

Someone has added one of the sts= queries to the handbook (presumably they searched for the link to add it) so that should be cleaned up too: https://sourcegraph.com/search?q=context:global+repo:sourcegraph/handbook+sts%3D&patternType=literal

@elzannewentzel elzannewentzel moved this from Ready for Development 🚦 to Backlog 📓 in Content Platform Work Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working 🏗 Handbook website Any issues and asks related to the handbook website, not the content of the handbook. handbook-search team/content-platform
Projects
No open projects
Status: Backlog 📓
Development

No branches or pull requests

2 participants