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

New Search Engine should link to right branch (stable/main/preview pr branch) #3143

Open
janeyx99 opened this issue Nov 4, 2024 · 0 comments · May be fixed by #3162
Open

New Search Engine should link to right branch (stable/main/preview pr branch) #3143

janeyx99 opened this issue Nov 4, 2024 · 0 comments · May be fixed by #3162
Assignees

Comments

@janeyx99
Copy link
Contributor

janeyx99 commented Nov 4, 2024

The search feature should match the branch that the docs loaded in. Why? The use case I often have is I use the search bar to quickly navigate to the page I had just edited in my PR to see how it'd render in prod. The new search engine produces results that always directs to stable, though, so there's no easy way to navigate to the page I wanted to check. This is a regression from the previous search experience.

For example, in the following preview, I'm looking for the custom operators page, which I had modified in the PR. I search for it in the preview docs, but all the results point to stable. Ideally, these would point to the docs built for my PR branch, which was the old behavior.

image

It would also be good for those look at docs on main to stay in docs on main (vs be redirected to stable).

Alternatives

Allow the old search engine

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

Successfully merging a pull request may close this issue.

2 participants