From 787ddfc18fed96210800d75d48d22f2e0b86391a Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Fri, 11 Sep 2026 16:41:44 +0800 Subject: [PATCH 1/2] fix(map): invoke leaflet-tile-url instead of passing it by name Opening a place's details threw "A resolved helper cannot be passed as a named argument" and the details tab failed to render. The tile layers passed the helper bare, as @url={{leaflet-tile-url}}, which Glimmer reads as ambiguously a reference or an invocation and refuses. They invoke it now, as @url={{(leaflet-tile-url)}}. The same line was in the zone and service area details and the place details and point map modals, all from the configurable tile provider change (a5a4f1cd), so each of them failed the same way. The helper's own usage comment showed the broken form and is corrected. --- addon/components/modals/place-details.hbs | 2 +- addon/components/modals/point-map.hbs | 2 +- addon/components/place/details.hbs | 2 +- addon/components/service-area/details.hbs | 2 +- addon/components/zone/details.hbs | 2 +- addon/helpers/leaflet-tile-url.js | 7 ++++++- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/addon/components/modals/place-details.hbs b/addon/components/modals/place-details.hbs index 6be51d8a1..ca2f96b78 100644 --- a/addon/components/modals/place-details.hbs +++ b/addon/components/modals/place-details.hbs @@ -3,7 +3,7 @@
- + diff --git a/addon/components/modals/point-map.hbs b/addon/components/modals/point-map.hbs index 308f5e2b7..b756dcf5c 100644 --- a/addon/components/modals/point-map.hbs +++ b/addon/components/modals/point-map.hbs @@ -1,7 +1,7 @@
- + diff --git a/addon/components/place/details.hbs b/addon/components/place/details.hbs index cb2d9e7e4..d2d2a085d 100644 --- a/addon/components/place/details.hbs +++ b/addon/components/place/details.hbs @@ -75,7 +75,7 @@ @zoomControl={{false}} as |layers| > - + - + - + + * * * + * With no arguments it must be invoked in parentheses. A bare + * `@url={{leaflet-tile-url}}` passes the helper by name, which Glimmer refuses + * with "A resolved helper cannot be passed as a named argument" and the whole + * template fails to render. + * * Recomputes automatically when map settings load or change. */ export default class LeafletTileUrlHelper extends Helper { From e124fd82c28ab925d9ad82b39a1c0e4b099c2214 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Fri, 11 Sep 2026 16:46:26 +0800 Subject: [PATCH 2/2] chore: open release v0.6.66 --- RELEASE.md | 17 +++++++++++------ composer.json | 2 +- extension.json | 2 +- package.json | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index af8b70063..820f96c41 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,15 +1,20 @@ -> v0.6.65 ~ "First-class trailer operations" +> v0.6.66 ~ "Inspections" --- ## What's New -- **Trailers become a first-class Fleet-Ops resource.** Create and manage trailers independently, attach them to vehicles, connect equipment and telematics devices, and review operational, maintenance, location, and towing details from dedicated Trailer screens. -- **Vehicle and equipment relationships are easier to understand.** Vehicle details expose attached trailers and equipment, while Trailer details show the current towing vehicle and installed equipment. -- **Trailer APIs support complete integrations.** Internal and public endpoints cover trailer lifecycle, filtering, towing connections, equipment, devices, telemetry, imports, and exports. +- **Inspection forms are built from typed fields.** A form is groups of fields laid out on a grid: pass/fail checks with severity and on-fail settings, text, numbers, selections, dates, photo uploads and signatures. Forms are built and published from a form builder in the console. +- **One inspection sheet everywhere.** The same sheet is used to fill in an inspection in the console, to read one back, and on a public link. A failed check opens its severity, unsafe flag, comment and photos in place, and a defects tray summarises what needs attention. It works on phones and tablets. +- **Drivers file inspections through the API.** The `v1` inspection endpoints list published forms, file an inspection against one, and read back submissions and a vehicle's history, for the Navigator app and other integrations. +- **Inspection links for anyone in the organisation.** A link can be assigned to any user, protected by a six-digit PIN, and emailed or texted to them. A failed inspection can raise an issue and open a work order, and every submission records who filed it. + +--- +## Fixes +- Place, zone and service area details, and the place and point map modals, no longer fail to render with "A resolved helper cannot be passed as a named argument". --- ## Testing -- Added frontend, backend, API-contract, attachment, telematics, spatial-data, permission, and serialization coverage for first-class trailers. -- Expanded the Fleetbase Postman collection and documentation alongside the Fleet-Ops implementation. +- Model and controller contract tests cover inspection forms, submissions, links and the PIN lockout. +- The Fleetbase Postman collection documents the `v1` inspection endpoints. --- ## Need help? diff --git a/composer.json b/composer.json index 2319514ec..0732c866f 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fleetbase/fleetops-api", - "version": "0.6.65", + "version": "0.6.66", "description": "Fleet & Transport Management Extension for Fleetbase", "keywords": [ "fleetbase-extension", diff --git a/extension.json b/extension.json index fc8c79f20..2be6c6e91 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "Fleet-Ops", - "version": "0.6.65", + "version": "0.6.66", "description": "Fleet & Transport Management Extension for Fleetbase", "repository": "https://github.com/fleetbase/fleetops", "license": "AGPL-3.0-or-later", diff --git a/package.json b/package.json index a01ccaf85..c34606890 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fleetbase/fleetops-engine", - "version": "0.6.65", + "version": "0.6.66", "description": "Fleet & Transport Management Extension for Fleetbase", "fleetbase": { "route": "fleet-ops"