Repository navigation
Conversation
Co-authored-by: MaslowBot <231786780+MaslowBot@users.noreply.github.com>
Co-authored-by: MaslowBot <231786780+MaslowBot@users.noreply.github.com>
|
@MaslowBot |
|
User @davidelang mentioned @MaslowBot with the following request: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @MaslowBot ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ This comment was automatically relayed by MaslowBot so that @copilot-swe-agent can respond to the request. |
|
@MaslowBot minimize memory usage of this popup, some users are getting low memory warnings when it pops up. |
|
User @davidelang mentioned @MaslowBot with the following request: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @MaslowBot minimize memory usage of this popup, some users are getting low memory warnings when it pops up. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ This comment was automatically relayed by MaslowBot so that @copilot-swe-agent can respond to the request. |
…d123 Co-authored-by: MaslowBot <231786780+MaslowBot@users.noreply.github.com>
Yes, v1.14 and v1.14-2-gabcd123 will now produce a warning. The comparison logic has been updated to require exact version matches only. Fixed in commit 4b33628. The new behavior:
|
|
@MaslowBot /build |
|
🤖 WebUI Compilation Complete 🤖 ✅ Successfully compiled ESP3D WebUI for English language Build Details:
Download: Installation Instructions:
This comment was automatically generated in response to a build request comment. |
Co-authored-by: MaslowBot <231786780+MaslowBot@users.noreply.github.com>
Memory usage has been minimized. Fixed in commit 032ef9d. Optimizations made:
Result: File size reduced from 132.51 kB to 132.40 kB (110 bytes saved after compression). |
|
@MaslowBot /build |
|
🤖 WebUI Compilation Complete 🤖 ✅ Successfully compiled ESP3D WebUI for English language Build Details:
Download: Installation Instructions:
This comment was automatically generated in response to a build request comment. |


Description
The version comparison popup was comparing incompatible version formats: firmware reported
FluidNC v1.14 (head-7fe778c0)while UI usedgithub.com/BarbourSmith/ESP3D-WEBUI@v1.14. Both systems generate versions viagit describe --always --tags --dirtybut the comparison logic wasn't extracting them correctly.This PR extracts git-describe format versions from both firmware and UI, implements a strict exact-match comparison to ensure firmware and UI are in sync, and adds user controls to suppress version warnings. Additionally, the dialog has been optimized to minimize memory usage to prevent low memory warnings on ESP32 devices.
Fixes #264
Type of change
Changes Made
Version extraction and comparison
FluidNC v1.14 (v1.14)→v1.14) and UI (github.com/.../ESP3D-WEBUI@v1.14-4-g4b33628→v1.14-4-g4b33628)v1.14vsv1.14-2-gabcd123→ WARNING (release vs development)v1.14-2-gabcd123vsv1.14-3-gdef456→ WARNING (different commits)v1.14vsv1.14→ NO WARNING (exact match only)Suppression mechanism
suppress_version_warningpreference field (stores JSON{fw, ui}or"do_not_alert")Preferences UI
"do_not_alert"valueMemory optimizations
addMessage()calls to serial logtextContentinstead ofinnerHTMLwhere possible to avoid HTML parsing overheadonclickinstead ofaddEventListenerto prevent event listener accumulationScreenshots
Memory-optimized version warning dialog:
Example
Checklist:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.