Coder Social home page Coder Social logo

Comments (6)

hessius avatar hessius commented on June 13, 2024

I've noticed the same issue with the file manager plugin (see screenshot).

Shouldn't it be possible to match the path to exclude anything containing "trashe~"

image

from octodash.

UnchartedBull avatar UnchartedBull commented on June 13, 2024

Oh that's actually quite intereseting. I never bothered to look at the full path for a deleted file and was just wondering why they don't show up. If they always include the trashe~ prefix it will be very easy to exclude them. Thanks for the tip!

from octodash.

hessius avatar hessius commented on June 13, 2024

It also looks like the filenames all end with ~1 (potentially ~n) which should also be an easy regex filter

from octodash.

UnchartedBull avatar UnchartedBull commented on June 13, 2024

Coming back to this. I just tried it on my system and I can't reproduce this issue, at least not in your way. If i delete a file via the UI it will still be shown in OctoDash, that's due to the fact that the API doesn't get updated though. As you can see in the screenshot the path doesn't change to trashe*. This is related to #400 as they both narrow down to the API not updating, even though the OctoPrint website is updating. I will create an issue in the OctoPrint repository tomorrow to hopefully get this fixed soonish. Once the API is updating correctly the files should be removed from OctoDash as well.

Screenshot of a file that was deleted:
Screenshot 2020-02-07 at 00 24 53

Also I can't seem to find the trashe folder on my system. Is this maybe something that gets added by the plugin you mentioned? At least on my system there is no trace of a trashe folder:
Screenshot 2020-02-07 at 00 28 19

from octodash.

UnchartedBull avatar UnchartedBull commented on June 13, 2024

I just found this regarding the trash folder: OctoPrint/OctoPrint#1406. Are the files you are mentioning on the SD Card by any chance?

from octodash.

UnchartedBull avatar UnchartedBull commented on June 13, 2024

Closing this in favour of #400 and OctoPrint/OctoPrint#3446

from octodash.

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.