You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user searches and gets back results but now we don't show them where the search matched in each example. We want to to do that because it's super helpful.
This needs to happen in the example, not at search time because we "lazy load" the example. In turn that makes sense, because it would be dumb to load 1000 results when we only display 4.
It would be good to keep this fast, so that it doesn't take a long time to load an example, e.g. in the case where the example has long text and we are matching a complicated regex. Probably worth trying the first time with just matching the string on load, and if that doesn't work out then render it once without highlighting and then again once the highlight is calculated.
The text was updated successfully, but these errors were encountered:
A user searches and gets back results but now we don't show them where the search matched in each example. We want to to do that because it's super helpful.
This needs to happen in the example, not at search time because we "lazy load" the example. In turn that makes sense, because it would be dumb to load 1000 results when we only display 4.
It would be good to keep this fast, so that it doesn't take a long time to load an example, e.g. in the case where the example has long text and we are matching a complicated regex. Probably worth trying the first time with just matching the string on load, and if that doesn't work out then render it once without highlighting and then again once the highlight is calculated.
The text was updated successfully, but these errors were encountered: