diff --git a/Web App/web/src/views/Charging.vue b/Web App/web/src/views/Charging.vue index 821044a..46d7e5f 100644 --- a/Web App/web/src/views/Charging.vue +++ b/Web App/web/src/views/Charging.vue @@ -654,7 +654,10 @@ const MQTT_SETTING_BLOCKS = [ fields: [ { key: "solarBalancing", at: "solarBalancing", label: "solarBalancing", type: "switch" }, { key: "solarChargeMode", at: "settings.solarChargeMode", label: "solarChargeMode", type: "option", enum: "solarMode", values: [0, 1] }, - { key: "solarMinCurrentA", at: "settings.solarMinCurrentA", label: "solarMinCurrent", type: "number", min: LIMIT_FLOOR, max: 32, step: 1, unit: "A" }, + // A slider, like the current limit it shares a floor with. No floor note + // under it though: this is the least a solar charge will draw, not a + // ceiling, so the limit slider's hint would be saying the wrong thing. + { key: "solarMinCurrentA", at: "settings.solarMinCurrentA", label: "solarMinCurrent", type: "slider", min: LIMIT_FLOOR, max: 32, step: 1, unit: "A" }, // This command offers automatic and single-phase only. The three-phase // setting is a Modbus register, and offering it here would be offering a // write that comes back refused. @@ -666,7 +669,9 @@ const MQTT_SETTING_BLOCKS = [ id: "panel", title: "blockPanel", fields: [ - { key: "ledBrightness", at: "ledBrightness", label: "ledBrightness", type: "number", min: 0, max: 100, step: 10, unit: "%" }, + // A slider, like the current limit: a brightness is a place on a range, + // and typing 70 into a box that only takes tens is a worse way to say it. + { key: "ledBrightness", at: "ledBrightness", label: "ledBrightness", type: "slider", min: 0, max: 100, step: 10, unit: "%" }, { key: "lightOffSchedule", at: "settings.lightOffSchedule", label: "lightOff", type: "switch" }, { type: "window", label: "lightOffWindow", from: "lightOffStart", to: "lightOffEnd", at: ["settings.lightOffStart", "settings.lightOffEnd"] }, { key: "swipeUpMode", at: "swipeUpMode", label: "swipeUp", type: "option", enum: "gesture", values: [0, 1, 2, 3] },