GithubHelp home page GithubHelp logo

Comments (10)

heliomcp avatar heliomcp commented on August 15, 2024

Related with my issue closed (#35).

from masscode.

antonreshetov avatar antonreshetov commented on August 15, 2024

Is there any sequence of actions leading to this bug? Because I can't reproduce this bug.

from masscode.

github-actions avatar github-actions commented on August 15, 2024

Hello @jonchen727. Please describe in detail the sequence of actions that leads to the bug. Add screenshots of errors from the console. Issues marked with need reproduction will be closed if they have no activity within 3 days.

from masscode.

lt-laurap avatar lt-laurap commented on August 15, 2024

Same problem here.
It's easier to notice when you try to search within a Folder, you will be redirected to the All Snippets section.

from masscode.

antonreshetov avatar antonreshetov commented on August 15, 2024

@lt-laurap redirecting to All Snippets during a search is normal behavior, because the search is performed on all snippets, not on a selected folder.

from masscode.

jonchen727 avatar jonchen727 commented on August 15, 2024

Issue still present in v2.2.0
Steps to reproduce.

  1. Search for kubectl, results are returned do not have kubectl in the snippet.

image

Redid the search again and looks like kubectl highlights nordvpn and pretty much every 7 character combination

image

image

Some examples that are shorter work such as searching auth

image

from masscode.

antonreshetov avatar antonreshetov commented on August 15, 2024

@jonchen727 Still can't reproduce the bug. Maybe the db.json is corrupted?

Search is a very simple function:

search (query: string) {

Open db.json in the editor and look in this snippet in content[].value because according to the error in the console value is missing

from masscode.

jonchen727 avatar jonchen727 commented on August 15, 2024

@antonreshetov
I found the issue, there was one snippet with a fragment with value null and the other fragment had a value. Now search works as intended, however there is another issue I saw.

When doing a search and the first fragment does not contain the search term, while the others do there, a weird highlighting occurs when you go into the fragment that contains the search term then to a different snippet, then back to the default fragment.

image

from masscode.

antonreshetov avatar antonreshetov commented on August 15, 2024

@jonchen727 That's a good thing. Then this Issue can be closed.

from masscode.

heliomcp avatar heliomcp commented on August 15, 2024

@antonreshetov I found the issue, there was one snippet with a fragment with value null and the other fragment had a value. Now search works as intended, however there is another issue I saw.

When doing a search and the first fragment does not contain the search term, while the others do there, a weird highlighting occurs when you go into the fragment that contains the search term then to a different snippet, then back to the default fragment.

image

Thank you, @jonchen727

@antonreshetov maybe there is something in database migration that is not working properly for this behavior?

from masscode.

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.