From 4fd53d60cab5a64f2ce7ed3f4d2086f56e08df80 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Sat, 15 Aug 2026 16:12:04 -0600 Subject: [PATCH] ADFA-5094: bump dash-node 1.2.1 -> 1.2.2 for the offline subtree endpoint PR3 added GET /kolibri/subtree/:nodeId to the dashboard but did not bump the version, so the version-gated update-check (ADFA-5051) would not offer it to boxes. Bump + CHANGELOG so an update actually delivers the endpoint. --- static/dashboard/CHANGELOG.md | 1 + static/dashboard/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/dashboard/CHANGELOG.md b/static/dashboard/CHANGELOG.md index 17daba882..0dcf108dc 100644 --- a/static/dashboard/CHANGELOG.md +++ b/static/dashboard/CHANGELOG.md @@ -4,6 +4,7 @@ One line per version, newest first. Every REST-facing change bumps the version i (the app surfaces it via `/system/dashboard/update-check` and the "Update available" pill), so this file is the human record of what each bump enables. Keep entries short: `version - change (TICKET)`. +- **1.2.2** - New `GET /kolibri/subtree/:nodeId`: serves a channel's topic tree in Studio's `contentnode_tree` shape, with per-node byte sizes summed from the local content DB over each node's MPTT range, so the app browses an imported channel's whole tree offline (parsed by the same mapper it uses for Studio). Read-only; **404** when the channel's metadata is not imported, which the app reads as "fall back to Studio". Ships the endpoint PR added without a version bump. (ADFA-5094) - **1.2.1** - Four Kolibri defects found by testing against a real device. `/kolibri/estimate` now reports free space (the call was missing the mandatory `?path=Content` and had been failing silently since it was written) and answers **409** with a readable message for a channel that is not installed, instead of letting Kolibri return a bare 500; `/kolibri/catalog` reports real sizes and resource counts (it was reading Studio's field names on an endpoint that uses Kolibri's); a failed import now carries the cause instead of just the exception class name. Also finishes the English pass: `routes.ts` was the last file the 1.1.6 sweep missed — REST-facing too, since one response string changes (`POST /credentials/kolibri` on 401). (ADFA-4954) - **1.2.0** - Self-update cutover baseline: no endpoint change, but from this version the app updates the dash-node core **live over REST** (`POST /system/dashboard/rebuild`, the blue-green rebuild from ADFA-5011) instead of a proot rebuild. Installs on < 1.2.0 still use the proot path to reach 1.2.0; 1.2.0+ update to 1.2.1+ via REST. (ADFA-5051) - **1.1.6** - Kolibri modules now in English. REST-facing because the diagnostic text changed: the `blockers[]` strings from `GET /kolibri/ready` and the `error` text on Kolibri jobs. Shapes, status codes and field names are unchanged. diff --git a/static/dashboard/package.json b/static/dashboard/package.json index dff938d2a..51ddbf9ec 100644 --- a/static/dashboard/package.json +++ b/static/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "dashboard-console", - "version": "1.2.1", + "version": "1.2.2", "description": "", "main": "index.js", "scripts": {