Skip to content

Module pages: 44 px tabs and theme button, XIAO WiFi save card - #129

Merged
renatorgr merged 2 commits into
mainfrom
module-pages-buttons
Nov 10, 2026
Merged

renatorgr merged 2 commits into
mainfrom
module-pages-buttons

Conversation

@renatorgr

Copy link
Copy Markdown
Owner

What changes for Renato

  • Tabs and the light/dark button on the four module pages (Teensy, XIAO, sprayer, seed drill) are now 44 px high with 8 px corners, the same as the buttons in the page's question box. They were small pills (tabs 36 px, the light/dark button 27 px), hard to hit on the cab's screen. The bar at the top keeps its height (102 px on the Teensy and XIAO pages, 97 px on the sprayer and seed drill pages): the padding around the buttons was trimmed.
  • XIAO page, WiFi tab: the password to confirm and Save and restart the XIAO are in a third card, Confirm and save, as wide as the other two. The field used to run across the whole page.
  • XIAO Messages: after a program update the line read "Program update: 0 bytes checked". It now gives the size of the program received.
  • Sprayer program 0.10.6, seed drill program 0.2.7 (page change only).

The XIAO (C3 and S3, with the _USB files), sprayer and seed drill .bin files are compiled and in this pull request (ESP32 core 3.3.12, 10 Nov 2026 20:40 to 20:43 UTC).

Teensy: only its page changes (zWebPage.h). The Teensy firmware cannot be compiled with the Arduino tools in the cloud; the "Teensy firmware" check compiles it here. The .hex is yours to export (CPU 450 MHz). A second pull request with the UM982 temperature and the AiO-xxxx network name follows on top of this one, so one export after both are merged is enough.

How to test

  1. Simulator (after the merge): https://renatorgr.github.io/Boards/ → open each page; the tabs and the ☀ / ☾ button are taller, with slightly rounded corners. Try it at phone width.
  2. XIAO page → WiFi: three cards side by side on a wide screen, one under the other on a phone. Type the password in Confirm and save and save: it asks and restarts as before.
  3. XIAO page → Firmware → Install from GitHub (or a .bin file): after the restart, Messages shows "Program update: 1151040 bytes checked, restarting" (a real size, not 0).
  4. Sprayer page → Firmware: Install from GitHub offers 0.10.6.

Checked here: simulator smoke test (all four pages open without errors, also inside a web card's frame), sizes measured in Chromium at 1100, 480 and 360 px wide, changelog and shared-code checks.


Generated by Claude Code

…ners

The tabs at the top of the four module pages (Teensy, XIAO, sprayer, seed drill)
and the light/dark button of the Teensy and XIAO pages were small pills (36 px
and 27 px high). They now have the height and the corners of the buttons in the
page's question box (44 px, 8 px), so a finger hits them on the cab's screen.
The top bar keeps its height: the padding around them was trimmed.

XIAO page, WiFi tab: the password to confirm and "Save and restart the XIAO"
move into a third card, "Confirm and save", as wide as the other two. The field
used to run across the whole page.

XIAO Messages: "Program update: N bytes checked" gave 0 bytes, because
Update.progress() reads 0 once Update.end() has run. The size received is kept.

Sprayer 0.10.6, seed drill 0.2.7.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
…026)

Built in the cloud with arduino-cli and the ESP32 core 3.3.12, from the code of
the commit before this one: XIAO C3 20:40 and S3 20:41 (with their _USB files),
Sprayer_ESP32 0.10.6 at 20:42, Seeder_ESP32 0.2.7 at 20:43 (UTC).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
@renatorgr renatorgr self-assigned this Nov 10, 2026
@renatorgr
renatorgr merged commit 51dd270 into main Nov 10, 2026
5 checks passed
@renatorgr
renatorgr deleted the module-pages-buttons branch November 10, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants