From 32a94e9761836d2881f7847fe78adde6a04a24cd Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 21 Aug 2026 17:31:41 +0000 Subject: [PATCH] docs(web): name the exact plugin keys the device location seeds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review follow-up. The General settings help text said the device location was "the default for every plugin that asks for a city", which overstates what the code does: only the fully-namespaced `location_city` / `location_state` / `location_country` keys are substituted. A plugin with a bare `city` key gets nothing — deliberately, since `ledmatrix-elections` uses `state` for a two-letter code. The tips now name the exact keys. Worth noting for anyone editing these: `ui.help_tip(...)` takes a single-quoted Jinja string, so an apostrophe in the tip text has to be escaped or written around. The wording here avoids them. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01GNLrSZ32FNKpHRaduKEJsg --- web_interface/templates/v3/partials/general.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_interface/templates/v3/partials/general.html b/web_interface/templates/v3/partials/general.html index ef6e8589..e9261de7 100644 --- a/web_interface/templates/v3/partials/general.html +++ b/web_interface/templates/v3/partials/general.html @@ -95,7 +95,7 @@
- +
- +
- +