Giter Club home page Giter Club logo

Comments (4)

KenLucke avatar KenLucke commented on May 28, 2024

Everything looks good, Charlie, except that when first opened after an OP reload, the info list is alphabetical, but when you "load", it scrambles the order.

from octoprint-eeprom-marlin.

cp2004 avatar cp2004 commented on May 28, 2024

Just looked into this, it is two different methods of getting the same thing as well, the initial load is provided by the API, but then when you hit the 'load' button the data is sent via the websocket. The 'scrambled' order is actually the order it comes out of the printer, this is on the socket. For some reason the Flask API sorts everything. Maybe historical, since dict order was not guaranteed on Python 2 (or up to 3.6) so maybe it does it's own sorting. So, nothing I can do about that one unless I implement my own sorting on the frontend to standardise it.

There is one issue, I can no longer upload backups. I didn't touch the backup code, but maybe something it relied on got deleted 🤔.

from octoprint-eeprom-marlin.

KenLucke avatar KenLucke commented on May 28, 2024

The 'scrambled' order is actually the order it comes out of the printer, this is on the socket

I kinda figured that was probably the "native" order, although I didn't compare it to an M503

So, nothing I can do about that one unless I implement my own sorting on the frontend to standardise it.

OK, it's merely cosmetic anyway.

There is one issue, I can no longer upload backups. I didn't touch the backup code, but maybe something it relied on got deleted 🤔.

Interesting. It seems to work for me, although I haven't dug into it. I do, however, have to click the restore button twice most of the time. I'll do some more checking when I have time.

from octoprint-eeprom-marlin.

cp2004 avatar cp2004 commented on May 28, 2024

RC2 out now, fixing a few issues observed in testing. New feedback ticket, #46. Hoping that it is good enough for release from that ticket.

The backup uploading has been switched from jQueryUI File Upload, to a native JS solution. The old one was a bit of a hack anyway and didn't seem to work reliably, at least in my tests. New version does seem to work every time, but of course now needs a test 😄.

from octoprint-eeprom-marlin.

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.