Webif#202
Conversation
|
Thanks for sharing this, the upload can definitely profit from a better UI and the redirect is currently indeed broken! A fix for Chrome would however need changes in the C-backend handling the POST request, at least that is what the http-experts say.
I do not see anything touching the ports or related to concurrency in the javascript embedded in the html pages of the code, but if you are comparing the situation to about 1 month ago, then there was a considerable improvement of the loading of the pages with PR #151 . For proceeding with this request: maybe try to disentangle the design part, i.e. the stuff in the stylesheets, from the functional part like the redirect and the information bar so that we can get the functionality in without necessarily a change of the entire design. Ideally, we anyway want to have different "skins" for the UI so that users can have a UI they like design-wise as design is always rather a personal thing. |
Both parts are already separated by the 2 commits. |
|
Looks nice. I think we can improve the speed a bit by removing some |
|
I was not aware that uIP is still using gptr, that needs to go. Still, the |
|
as written before, i only wanted to share the results of my 1hr playing with copilot. i did not take a single look at the code, and i have no motivation to do so... sorry |
|
Will close the PR as it was never intended to merge, and as there is already a far more better UI in work (#220). |
As I have no clue about html and Javascript, that's why I thought I let Copilot do some work.
It's not meant for immediate merge, but at least I want to share the results.
The improved User-Experience when uploading a new firmware image has some potential. With my Firefox on Windows the Upload and Redirect to Login-Page works flawlessly.
Well, the colors might not be the first choice....
What I'm not sure about: I have the feeling that with the "modern look", also the Performance has increased, maybe due to better caching strategies in the browser? Most pages load almost immediately now, where with the old design there were frequent delayed loadings especially at the port-icons at the top of the page.