Code Monkey home page Code Monkey logo

Comments (10)

mason-at-pieces avatar mason-at-pieces commented on June 13, 2024

Hey @joshuadanpeterson, thanks for reaching out about the issue!

That is quite a strange error and is definitely not the expected outcome. Let me check with our plugins team and see if we can reproduce this. I will get back to you soon with, hopefully, a patch release coming soon!

from obsidian-pieces.

caleb-at-pieces avatar caleb-at-pieces commented on June 13, 2024

@joshuadanpeterson could you please provide the code snippet that is expected to be opened, as well as the code snippet that is getting opened? Thanks.

from obsidian-pieces.

joshuadanpeterson avatar joshuadanpeterson commented on June 13, 2024

Hi @caleb-at-pieces,

This is the code snippet I'm expecting to see, and this is the code snippet I'm seeing. Those are just the snippets, but I'm expecting the preview page to manifest.

This is just one example.

I just discovered another bug while attempting to write about this one: When I'm in the preview for the Regex for String Match snippet, I click on the Share via Pieces button and it generates a link for this code snippet instead. But when I'm in the plugin in the sidebar, it generates the link for the correct snippet.

from obsidian-pieces.

joshuadanpeterson avatar joshuadanpeterson commented on June 13, 2024

Hey @joshuadanpeterson, thanks for reaching out about the issue!

That is quite a strange error and is definitely not the expected outcome. Let me check with our plugins team and see if we can reproduce this. I will get back to you soon with, hopefully, a patch release coming soon!

@mason-at-pieces Thanks for checking on this, and thanks for making a great product. I love the software. I'm particularly digging the new copilot feature

from obsidian-pieces.

caleb-at-pieces avatar caleb-at-pieces commented on June 13, 2024

Hi @caleb-at-pieces,

This is the code snippet I'm expecting to see, and this is the code snippet I'm seeing. Those are just the snippets, but I'm expecting the preview page to manifest.

This is just one example.

I just discovered another bug while attempting to write about this one: When I'm in the preview for the Regex for String Match snippet, I click on the Share via Pieces button and it generates a link for this code snippet instead. But when I'm in the plugin in the sidebar, it generates the link for the correct snippet.

Great, thank you for pointing this out. I am able to reproduce this now with the snippets you have provided, hopefully can get a fix soon.

As to the other issue you mentioned, that makes sense and it's likely the same bug happening.

TLDR on the details involved: we have a 'similarity detection' algorithm that runs when the plugin finds a code block in your editor that is used to detect if you have already saved that code block to pieces, clearly it's bugging out a little bit but I should be able to get this fixed pretty soon!

Update: it looks like having a regex as a snippet is causing the issue, I've sent this over to our ML team to see what steps we can take towards fixing it.

from obsidian-pieces.

mason-at-pieces avatar mason-at-pieces commented on June 13, 2024

@mason-at-pieces Thanks for checking on this, and thanks for making a great product. I love the software. I'm particularly digging the new copilot feature

I'm glad you are enjoying it! The Copilot has been a fun addition to the product for sure and we have a lot of amazing features on deck too so stay tuned!

We are also starting to release some Open Source projects and actually are having a livestream tomorrow about our Open Source movement, here's a link to the livestream: https://www.youtube.com/watch?v=0AmuWaFoTdY

We'd love to see you there!

from obsidian-pieces.

joshuadanpeterson avatar joshuadanpeterson commented on June 13, 2024

Hi @caleb-at-pieces,
This is the code snippet I'm expecting to see, and this is the code snippet I'm seeing. Those are just the snippets, but I'm expecting the preview page to manifest.
This is just one example.
I just discovered another bug while attempting to write about this one: When I'm in the preview for the Regex for String Match snippet, I click on the Share via Pieces button and it generates a link for this code snippet instead. But when I'm in the plugin in the sidebar, it generates the link for the correct snippet.

Great, thank you for pointing this out. I am able to reproduce this now with the snippets you have provided, hopefully can get a fix soon.

As to the other issue you mentioned, that makes sense and it's likely the same bug happening.

TLDR on the details involved: we have a 'similarity detection' algorithm that runs when the plugin finds a code block in your editor that is used to detect if you have already saved that code block to pieces, clearly it's bugging out a little bit but I should be able to get this fixed pretty soon!

Update: it looks like having a regex as a snippet is causing the issue, I've sent this over to our ML team to see what steps we can take towards fixing it.

Thanks so much for looking into this. I really appreciate it!

from obsidian-pieces.

caleb-at-pieces avatar caleb-at-pieces commented on June 13, 2024

@joshuadanpeterson our head of ML was able to quickly resolve this issue this morning. The fix should be out with the next version of Pieces OS (6.5.0). So sit tight and wait for that to get out, it should be sometime next week. I'll make sure to make another post here once it's in production!

from obsidian-pieces.

joshuadanpeterson avatar joshuadanpeterson commented on June 13, 2024

Thanks again @caleb-at-pieces!

from obsidian-pieces.

caleb-at-pieces avatar caleb-at-pieces commented on June 13, 2024

It seems this has been fixed, thank you once again for bringing this to our attention!

from obsidian-pieces.

Related Issues (12)

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.