Deliver Storage and Cellular in the mockups, with site figures and guides

The mockups now walk a list of domains (D-039): the support Home loads
every station in data/ and notifies each station x domain that is Orange
or Red; the client view becomes maquettes/user/summary.py, one System
Summary page per station with one block per measured domain. Storage
shows a free-space scale and the estimated full date; Cellular shows the
day's sends in words and a four-class signal scale.

HEADLINE moves into each day_color.py, with a Green sentence for the
client view. src/storage/final.py and src/cellular/final.py write the
site figures in English; the comparison pages reuse their panels. Each
domain gets a short two-layer guide in docs/<domaine>/guide/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-10-13 16:05:26 +02:00
1 parent 28d441889f
commit f0990c16e6
22 files changed
+682 -246

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ MATRIX = {
"BELOW_PLATEAU": {"BETTER": "RED", "STABLE": "RED", "WORSE": "RED"},
}
# Une phrase par couleur, en anglais (D-023), reprise par la vue client et par les notifications du support.
# Green ne notifie rien (D-025) : sa phrase ne sert qu'à la vue client.
HEADLINE = {"GREEN": "The station is receiving enough energy.",
"ORANGE": "The station's energy supply is uncertain.",
"RED": "The station is not receiving enough energy."}
RULE = {
"id": "DAY_COLOR",
"verdict": "aucun : anomaly = None ; la couleur est dans facts.color (None = inconnu, état ou tendance absent)",
+1 -1
View File
@@ -15,7 +15,7 @@ import plotly.graph_objects as go # noqa: E402
from energy import battery_state as bs, battery_trend as bt, day_color as dc # noqa: E402
from energy.final import STATE_STYLE, TREND_STYLE, noon # noqa: E402
# Statuts : noms et couleurs de la maquette System Summary (maquettes/user/energy_template.html).
# Statuts : noms et couleurs de la maquette System Summary (maquettes/user/summary_template.html).
COLOR = {"GREEN": ("Green", "#008300"), "ORANGE": ("Orange", "#eda100"), "RED": ("Red", "#d03b3b"),
None: ("Unknown", "#8c8c8c")}
# Condition qui a donné l'état (fiche daily_battery_state, « Principe », dans l'ordre d'évaluation).