WebUI v3 improvements

@l_u_c has contacted me personally to let me know that this not accurate.

My post was just based on some observation and maybe me mis-remembering some things. It was not meant to be derogatory towards him, at all.

So apologies to him, no offense was meant.

I don’t really know what the depths of his CNC use is, or what his real intent behind the software was, or the history. I was just going off of some things I remembered reading, but that may have been a misunderstanding on my part. I thought I remembered him telling me in his discord that he didn’t have a CNC machine, but I might be wrong… or maybe that has changed since then.

6 Likes

Seeing your participation here and on the FluidNC discord, I’m certain there’s no malice on your part. There appears to have been some weird falling out between Mitch/Bart and Luc that I don’t think they (or I) understand- and I think that is a factor here.

It’s a shame, Luc did some awesome work and I don’t think anyone in any of these communities intends any malice or discrespect.

5 Likes

ok, I’ve finally gotten around to merging a large amount of reworking of the code base into main

index.html.gz.zip

This should be considered a Release Candidate.

Let me know if there are any problems, particularly around the Websocket connections, etc.

5 Likes

I am excited and nervous to try it!!!

2 Likes

Extensions can request/receive data but it seems that it’s completely ignoring when an extension sends a command. For example, my JoyJog extension requests some settings and it gets them back. But, when it sends jog commands, it doesn’t do anything. My hold monitor extension receives messages and pops up a hold message like it’s supposed to, but the Resume button doesn’t work. Weird.

Also, extra content (extension) config validation doesn’t like a refresh value of 0.

2 Likes

Should be fixed

index.html.gz

Mitch’s PR for the targetCommands had a partial conversion in that spot and they weren’t getting sent

2 Likes

Ok, so… got to the bottom of this one…

This is because I removed a setting.

The code seems to treat an extra setting in the file as an error and shows that toast. I’m disabling the toast for now and leaving the console log.

3 Likes

Latest

index.html.gz.zip

5 Likes

All the things I reported look good now!

4 Likes

Released

8 Likes

Updated release…

Was missing some styling in the fullscreen mode of the file panel

5 Likes

I need to update the firmware releases page, maybe I will wait to see what is going on with the 3 funky JP3’s first so as not to change too many variables.

2 Likes

@Michael_Melancon I decided to try updating via the update button:
image

via Github:

It appears to successfully download and upload an index.html.gz file but then it gets stuck here:

I see that it’s downloading the file from here but that file is not correct. It’s about 160KB instead of about 100KB.
https://cdn.jsdelivr.net/gh/michmela44/ESP3D-WEBUI@latest/index.html.gz

I assume it will work once that link is fixed. That will be a handy feature.

1 Like

hmm… weird… it seems to have cached a 2.2.1 webUI version…

I might need to email them and see if I can get access to the API that let’s me trigger a cache update when I do a release.

It’s odd though that it’s not getting the actual “latest” like it should

1 Like

I wonder what branch that is pulling from. I bet that’s using the master branch. Or naybe that is release based?

dunno, because I deleted everything except 3.0 stuff.

1 Like

I think I misunderstood what they meant about releases and the way to format the link…

I need to try something else

1 Like

I see what is happening.

If you go here, it lists the files for latest. So, it’s trying to reference a file that doesn’t exist.

It sounds like jsdelivr will keep a link working if a file is deleted.

Version 2.2.1 is the latest version where it existed:

1 Like

This link appears to work:
https://github.com/michmela44/ESP3D-WEBUI/releases/latest/download/index.html.gz

1 Like

It does, but it’s not available from the browser due to their CORS policy.

I’m testing a change to use unauthenticated Github API, and it looks like it might work

5 Likes