Pull-Requests
MoonBase has made a number of commits which are general purpose and could be added to upstream ESP32 SvelteKit. Pending changes are ready to add in pull-requests as they are branched from the upstream repo. Below lists are ordered in terms of likelyhood to be accepted:
Pending - Ready to PR
- 🐛 bug-metadata-parent-wifi: avoid console.log errors
- ⚠️ components-small-fixes: avoid console.log errors
- ⚠️ compile-warnings: role and tab index
- 💡 service-name-string: Allow service names to be non string literals (e.g. done in MoonBase-Modules)
- ⚠️ no-emit-no-clients
- 💡 system-status-metrics: use max instead of first
- 💡 help-to-docs: Help link to github.io docs e.g. animations
- 💡 System metrics
- Loops per second (performance)
- 💡 System status
- Loops per second (performance)
- 💡 menu-href-unique: Allow multiple modules using same Module.svelte
- 💡 measure-battery-pin
Pending - WIP
Submitted
- Refactor System Status and Metrics
- Add free_psram, used_psram and psram_size in Analytics (models.ts) and analytics_data (analytics.ts) and show in UI (SystemMetrics.svelte)
- Send psram data only if psramFound (SystemStatus.svelte, AnalyticsService.h, SystemStatus.cpp)
- Wifi: Multiple edits bug resolved
- ESPD_LOGx: replace first argument with TAG and define TAG as 🐼
Accepted
Other improvements
- Add esp32-s3-devkitc-1-n16r8v and LOLIN_WIFI_FIX in pio.ini (including boards folder)
- Add Monitor
- socket.ts: add else listeners.get("monitor")?.forEach((listener) => listener(new Uint8Array(message.data)));
- EventSocket.cpp: add void EventSocket::emitEvent with char * argument
- Add MoonBase / MoonLight specific functionality (Currently fixtures and effects)
- ESP32SvelteKit.cpp:
- CPU load (and main.cpp)
- comment response.addHeader("Cache-Control", "public, immutable, max-age=31536000");
- interface/source/routes/+layout.svelte
- Don't show if captive portal: {#if (!window.location.href.includes("192.168.4.1") && $page.data.features.monitor)}
- main.cpp: esp_log_set_vprintf(my_vprintf); WIP
- ci pio
- run in loopTask to avoid stack size crashes in httpd
- updatedItems (to see what specifically has been updated)