50 lines
2.0 KiB
Markdown
50 lines
2.0 KiB
Markdown
# GREE Controller v0.4.3 - build and validation report
|
|
|
|
## Scope
|
|
|
|
Version 0.4.3 restores the classic rounded GREE Controller UI while keeping the neutral light/dark palette and green accents introduced in the previous release. It also removes three Rust dead-code warnings reported by the LXC release build.
|
|
|
|
## UI changes
|
|
|
|
- Restored the classic large rounded cards and panels.
|
|
- Restored circular thermostat +/- and power controls.
|
|
- Restored compact desktop navigation and five-item mobile bottom navigation.
|
|
- Kept the v0.4.2 climate-history functionality and multi-series charts.
|
|
- Kept neutral dark/light surfaces.
|
|
- Dark accent: `#3ecf8e`.
|
|
- Light accent: `#24b47e`.
|
|
- UI is plain committed CSS in `web/styles.css`; no frontend package manager or CSS build step is used.
|
|
- Theme-aware scrollbars remain enabled and compact horizontal control scrollbars remain hidden.
|
|
|
|
## Rust warning cleanup
|
|
|
|
Removed code that was superseded by bucketed zone history:
|
|
|
|
- `Db::list_zone_readings`
|
|
- `queries::LIST_ZONE_READINGS_BY_ZONE`
|
|
- `queries::LIST_ZONE_READINGS_ALL`
|
|
|
|
The active history path is `Db::list_zone_history` with the bucketed SQL queries.
|
|
|
|
## Validation performed in packaging environment
|
|
|
|
- HTML structure sanity checks.
|
|
- JavaScript syntax check with Node's parser only; Node is not part of the application/runtime.
|
|
- JSON validation for language files and HA manifest.
|
|
- Shell syntax checks for `scripts/*.sh`.
|
|
- Python syntax check for migration helper.
|
|
- Verified no `list_zone_readings` or `LIST_ZONE_READINGS_*` references remain.
|
|
- Verified no frontend build/package files are required.
|
|
- ZIP integrity test and SHA-256 manifest generation.
|
|
|
|
A Rust toolchain is not available in the packaging environment, so the authoritative Rust tests and warning check run on the LXC through `scripts/update.sh` before installation.
|
|
|
|
Expected LXC validation:
|
|
|
|
```bash
|
|
cargo test --all-targets
|
|
cargo build --release
|
|
```
|
|
|
|
The three warnings supplied from v0.4.2 have been removed at source rather than suppressed.
|