Update WebUI styles, Mithril, and build tooling - #122
Conversation
|
@defnax can you test building it on windows once? I have already tested on mac so linux should work fine as well. cd webui-src
npm run build # <-- this command now, builds css from scss and also builds webui so no need to run any other command other than this.
npm run lintMore details about everything in the README.md file in this PR, so you can give it a read and review it once as well. |
|
I can test tonight, but i use the build.sh or build.bat |
already updated, also |
|
Possible my pr #121 is broken howto fix to not break your changes |
|
i has tested no problems on win, but i saw you removed some used code, the other edits looks ok to me |
|
any news? im waiting to update my pr when your is done |
|
Your review might still be in pending, I didn't see it. Also I removed it since this code is practically unused. I added linting for this exact reason. Eslint flagged this as unused code and I removed it. And what's exactly the bug? can you explain how to reproduce? I can fix it once I am able to understand the issue. |
|
ok now tonight no issue i dont know why |
Alright, but still if you can describe the issue you were facing so I can verify from my end too. Also, I need one other person to verify and confirm the build. @jolavillette Can you also build once on different devices if you can? |
|
but one issue i removed from my own pr not critical waiting for api to get merged on master code two places asks for api |
|
Tested on Linux (Debian/Ubuntu, x86_64): The generated I also checked |
|
Thanks @defnax @jolavillette for helping in testing it out 🙏🏼. I am going to merge this tonight @csoler. Let me know if you have any other thoughts regarding these changes. |
|
I'm fine with it. Thx. |




Changes
webui-src/app/scss/and generated CSS: restore and regenerate styles.webui-src/app/mithril.js: update Mithril to 2.3.8.webui-src/make-src/andwebui.pro: addshcompatibility and grouped build output.webui-src/package*.json,eslint.config.mjs, and application JavaScript: add ESLint 10 and resolve violations.README.md: update contributor commands.