Code Monkey home page Code Monkey logo

Comments (7)

SaraVieira avatar SaraVieira commented on July 17, 2024 1

Honestly this an awesome find, bad bug but incredible on how cursed it is either way lol

Gonna try to get a new release today that removes all the code snippets from the results

from solid-docs-next.

SaraVieira avatar SaraVieira commented on July 17, 2024 1

fixed by #660

ended up doing all in there

cc @danieljcafonso

from solid-docs-next.

atilafassina avatar atilafassina commented on July 17, 2024

Orama searchbox does not have syntax highlighting for the results (the Summary AI feature does).

if it's not easy to have it on SearchBox, we could perhaps add a new entry to the entries frontmatter with a text-only description (no code-snippets).

Wdyt, @LadyBluenotes / @SaraVieira ?

from solid-docs-next.

SaraVieira avatar SaraVieira commented on July 17, 2024

I think this is on our side, we could add syntax highlights but honestly descriptions shouldn't have them, what about a trim to like 200 characters? What y'all think?

from solid-docs-next.

GiyoMoon avatar GiyoMoon commented on July 17, 2024

I think it would be best to exclude code snippets there. It also results in things like here where it actually renders an input and checkbox:
image

from solid-docs-next.

GiyoMoon avatar GiyoMoon commented on July 17, 2024

It feels like it's an issue with the search algorithm, because usually the searched word is marked bold and here, the search query few doesn't even occur in the description text and it just results in a really large text that seems random. Perhaps a fuzzy search that behaves weirdly?

from solid-docs-next.

SaraVieira avatar SaraVieira commented on July 17, 2024

Okay this PR #660 fixes the code, I am now fixing the fact that these descriptions are way too long

from solid-docs-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.