diff --git a/hub/CHANGELOG.md b/hub/CHANGELOG.md index ccbcb57..d1a35ed 100644 --- a/hub/CHANGELOG.md +++ b/hub/CHANGELOG.md @@ -1,5 +1,51 @@ # Felhom Hub — Changelog +## v0.2.1 (2026-02-20) + +**Unified Customer Management** + +All customer views consolidated into a single page. New management features: blocked status, +dashboard merge, config push, and auto-config creation. + +### New features + +- **Unified customer page — `/customers/{id}`:** + - Single page showing both configuration info and live report data + - Replaces separate `/configs/{id}` (config detail) and `/customers/{id}` (report detail) pages + - Shows config management (credentials, setup commands, YAML preview) when config exists + - Shows "Create Config" button for manual (report-only) customers + - Old `/configs/{id}` URLs redirect to `/customers/{id}` + +- **Dashboard shows pending customers:** + - Customers with config but no reports appear on dashboard with "PENDING" status + - All metric columns show "—" for pending customers + +- **Blocked/Banned status:** + - Customers can be blocked via button on detail page + - Blocked customers hidden from Dashboard + - Reports still accepted (prevents controller retry loops) but notifications suppressed + - "BLOCKED" badge shown on Customers list and detail page + - One-click unblock button + +- **Config push to controller:** + - "Push Config" button on unified page (visible when controller URL known) + - Generates YAML and POSTs to `{controller_url}/api/config/apply` + - Note: requires controller v0.20.0+ with config apply endpoint + +- **Auto-create config from report data:** + - "Create Config" button on manual customer pages + - Pre-fills customer name from report, generates credentials + - Redirects to edit form for additional fields + +### Changes + +- Customers list: all rows now link to `/customers/{id}` (unified page) +- Config badges: new MANAGED/MANUAL/BLOCKED pill-style badges +- `customer_configs` table: added `status` column (active/blocked) +- Status functions handle "pending" and "blocked" status values + +--- + ## v0.2.0 (2026-02-20) **Customer Configuration Management**