relay icon indicating copy to clipboard operation
relay copied to clipboard

Docs: search behaves weirdly depending on the URL state

Open MarceloPrado opened this issue 2 years ago • 2 comments

It's quite annoying that Docusaurus search seems scoped to the current URL. As you can see from the repro, searching for Imperatively in the Relay home and in the "Next" version yields different results. This makes it harder to learn the framework, as finding the API/guide I need is often cumbersome.

I understand the team wants to "gate" access to certain docs depending on whether they are available or not. But to use my repro as an example, as a Relay user I already have access to the imperative APIs described in the guide, and hence, I expect them to be available in the major I'm at (v15).

Repro:

https://github.com/facebook/relay/assets/8047841/00d66e55-63b7-4b9c-99bf-4e9bd35dda5a

MarceloPrado avatar Oct 24 '23 22:10 MarceloPrado

Thanks for flagging. I was just looking into why search seems broken. Let me see what I can figure out here.

captbaritone avatar Oct 24 '23 23:10 captbaritone

other than the issue above, the whole search feature is broken. I've never had a successful search experience on the docs page.

JUSTIVE avatar Jun 15 '24 05:06 JUSTIVE

Fixed by #4715

MarceloPrado avatar Jul 26 '24 16:07 MarceloPrado