From 2944d3d160c81b2f96d10e2fbfaaf0162d5a5f44 Mon Sep 17 00:00:00 2001 From: Matthias Jobst Date: Thu, 25 Jun 2026 21:16:53 +0200 Subject: [PATCH 1/8] Add Somfy Links tab for shade-to-shade and remote linking Introduce a dedicated "Links" subtab under Somfy that consolidates all linking actions: pick a source shade, view its linked shades/remotes (app shades shown by name), add a link to another app shade via a dropdown, link a physical remote via the press-a-remote flow, and unlink any entry. The Shades editor keeps its linked-remotes list display but no longer hosts the Link Remote button. WebShades: honor SomfyShade::linkRemote's return value so a full linked-remote table reports an error instead of silently no-opping, and stop double-sending the response on the error branches. Web assets: shared .info-text size class; cache-bust bumped to v0.7.1h. Co-Authored-By: Claude Opus 4.8 --- data/index.html | 43 ++++++++--- data/somfy.js | 158 +++++++++++++++++++++++++++++++++++++---- data/widgets.css | 19 +++++ main/web/WebShades.cpp | 21 +++--- 4 files changed, 208 insertions(+), 33 deletions(-) diff --git a/data/index.html b/data/index.html index b39c8838..4c585521 100644 --- a/data/index.html +++ b/data/index.html @@ -8,9 +8,9 @@ - - - + + + @@ -115,14 +115,14 @@ - + - + - + - +