mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-23 04:39:32 +00:00
The browser drives the device's own Settings pages instead of a second copy of them: WebSettingsEngine.h builds a category page out of sight, describes its widgets as JSON over /term (kit rows record themselves while the web session is on), applies changes by setting widgets and sending the events a tap would, and tears the page down, all in one UI-loop call. New settings show up on the web with no extra work and save through the device's own code. - settings.html: category sidebar, cards per page, one Save bar for all changes, write-only secrets, device confirms and a confirm for danger actions, sub-pages with breadcrumbs, reconnect after a restart. - theme.css: shared tokens; every page follows the browser's light/dark mode. - index, mesh, files, screen and the approval overlay restyled on it. - /settings route (gated like Mesh) and a settings flag in /api/info. Tested: T-Deck Pro, Heltec V4 TFT and T-Deck Plus builds; host tests (56 pass); pages checked in headless Chrome against a mock device. Not yet tested on hardware. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>