* Update Ukrainian, French and German translations for the 4.4 licensing UI
Translate the 294 keys added in 4.4 (license activation and setup, subscription
and license management, platform-feature offers, agent limits in tenant
profiles, CARTO map provider) into uk_UA, fr_FR and de_DE.
Product names stay in English in all three languages: Community Grant,
Professional Pack, Edge, Remote Agent, Trendz Analytics.
Also align 35 existing strings with the same terminology, e.g. uk
"ланцюг правил" (rule chain) and "екземпляр" (instance) in IoT Hub strings,
fr strings that dropped "chaîne de règles" / "Edge", and de "White-Labeling".
* Order the new uk, fr and de keys like en_US
Keys that were added after review ended up at the end of their sections.
Content is unchanged; only the position of 11 uk and 4 fr/de keys moves.
* Remove uk, fr and de keys that en_US no longer has
en_US dropped or renamed 16 keys in 4.4 (#16189, #16266 and the release
itself), but the uk_UA, fr_FR and de_DE files kept them. None of them is
referenced in the code. Each file now has exactly the en_US key set,
minus language.locales, which falls back to en_US as before.
No translation changes.
loadResource took the type of a resource from its URL path only, so URLs like
Google Fonts' /icon?family=Material+Icons failed with "Unable to detect file
type". When the path does not tell the type, it now comes from the
Content-Type of a HEAD response: text/css or a JavaScript MIME type. This works
for same-origin URLs and servers that allow cross-origin requests.
* Fixed White Labeling: "Primary" application shell is reset after saving palette changes
* Changed approach and fixed fallback to default value in Application shell control
From the #16148 review round of 2026-10-09:
- A failed popup request is carried as null and sets searchFailed, which
shows a "Network or server unavailable" row instead of "No results found".
- distinctUntilChanged() is gone from the popup pipeline. onSearchInput sets
searchLoading on every keystroke, so a debounced value equal to the last
one (type a letter and delete it within 300 ms) was dropped and the spinner
never cleared; it also kept a failed query from being retried as-is. This
matches thingsboard.io#706.
- The search page's resize handler captures the first visible item before
measureCols(), which already resets pageSize when the old size is not among
the new options; the grid now stays on the page holding that item.
* feat: filter the IoT Hub catalogue by the creator's verification status
Adds a "Verified creators only" control to every IoT Hub filter panel the
platform renders: the catalogue page, the embedded browse a dialog opens, and
the widget picker in the dashboard editor. It applies through the new
creatorVerified parameter on /api/versions/published, so the result count and
the page count reflect it rather than only the rows on screen, and it joins the
rest of the panel's state - chips, the count on the filter button, "Clear all",
and the reset that happens when the mode changes.
The control is a single checkbox above the facets rather than a section of its
own: one boolean has no list to collapse, and a one-option accordion reads as a
heading whose section never grows. The catalogue's sidebar had no name for its
panel at all, which left that checkbox sitting under nothing, so the sidebar now
carries the same "Filter" title the drawer has, with the same rule under it.
The parameter is matched, not switched, the shape peOnly/ceOnly already have:
creatorVerified=false means "only *un*verified". An unchecked control therefore
omits it entirely and never sends false - MpItemVersionQuery.toQuery() writes
the parameter only when the option is true, and both panels pass undefined
rather than false.
Two surfaces need the facet applied by hand. "Installed from IoT Hub" filters a
cached list in the browser instead of asking the server, so it gets the same
predicate locally; without it the panel would offer the control and the list
would not move. And the widget picker's category landing passes the parameter
to /api/item-listing/widgetCategories, so it stops offering a category whose
only widgets the grid then hides - which is also why the filter button is now
shown on the landing while the flag is set, the one place the panel is
otherwise hidden and the filter would have been unclearable.
The creator page and the search page run the same reads through a component
with no filter panel, so the parameter never reaches them.
Copy names what it filters - the creator's verification status - and claims no
quality tier.
* IoT Hub verified filter: address review comments
- Show only the verified checkbox in the widget-select filter panel on the
category landing; the other facets are ignored there
- Badge on the landing counts only the verified filter
- Pass the verified flag as-is; the query builders already drop false
- Align the sidebar filter title weight with the drawer header (500)
- Trim explanatory comments
* IoT Hub browse: share the filter checkbox rule with the standalone checkbox
Put the standalone class on the mat-checkbox itself, inset it with a
margin and drop the wrapper and the duplicated hover block.
* Update IoT Hub "Professional Edition required" dialog to point to the Community Grant Program
* IoT Hub PE-required dialog: address review comments
- Title: "Not available in your version"
- Message: use "instance" consistently, "or newer" like upgrade-required,
drop the redundant clause, typographic apostrophe
- Button: new "View upgrade options" label, since it opens the grant page
Clicking a step in the stepper header bypassed nextStep(), so the
Provisioning step was never activated and rendered empty, and the
Configuration form values were not collected. Step activation now runs
on the stepper selectionChange, and instruction steps are marked
completed once shown so the header can move past them like the Next
button does.
loadResource found the type of a resource from its file extension or from a
path segment named exactly css or js, as in Google Maps' /maps/api/js. The
current Google Fonts API serves stylesheets from /css2, so its URLs failed
with "Unable to detect file type". The type now comes from the last path
segment of the parsed URL: its extension, or the segment itself when it is
named css or js with an optional version number. Upper-case extensions are
recognised too.
* Remove IoT Hub Dashboard item type
The IoT Hub no longer has Dashboard items, so drop the DASHBOARD item type
from the platform: install/update/checksum/delete handling and the
DashboardInstalledItemDescriptor on the backend, and the item type, the
/iot-hub/dashboards page and route, deep links, translations and styles in
the UI. Dashboards created by device packages and solution templates are
not affected.
* Keep DashboardInstalledItemDescriptor for existing installed items
Installed-item rows with a DASHBOARD descriptor may still exist on
instances that were connected to the QA Hub. Without the subtype Jackson
fails on such a row and the whole Installed items page breaks, so keep the
descriptor and the delete branch to let those rows be read and removed.
* Revert "Keep DashboardInstalledItemDescriptor for existing installed items"
This reverts commit 61246776fa. A DASHBOARD installed-item row can only
exist on instances connected to the QA Hub; production and official
releases never had Dashboard items, so the legacy descriptor is not kept.
- HTML page layouts keep an empty widgets map, restored on load, so Manage
states Duplicate and other layout walks no longer fail; the guards that
worked around the missing map are removed
- Add to dashboard offers only states with a widget grid and reports when a
dashboard has none
- The HTML page widget can no longer be selected, and Ctrl+C is disabled for
it like the other widget hotkeys
- Manage layouts resets the grid settings as soon as the layout type leaves
HTML, so layout settings and new breakpoints start from the defaults; the
page content is kept if the type is switched back
- Drop the unused HTML branch of mobileAutoFillHeight
A new layout type, HTML Page, replaces a state's widget grid with a custom
HTML page. The page is rendered by a virtual HTML Container widget built at
runtime from gridSettings.htmlPageConfig (settings and actions), so it gets
every widget API without a new rendering path. The widget is never stored
in configuration.widgets and has a stable id per state, html-page-<stateId>.
- Edit HTML page replaces Add widget in edit mode; widget grid actions,
context menus, hotkeys that change widgets and the dashboard settings'
grid section are disabled for the page
- Manage layouts warns before switching a state with widgets to HTML Page
and restores default grid settings when switching back
- A dashboard with an HTML page no longer opens in edit mode as empty
- HTML Container settings types move to @shared/models/html-container.models
and are re-exported from their old path
- Restamp ten files whose header does not match their CE provenance:
EntityDatabaseSchemaService.java, js-resource.component.ts and
DataValidationException.java are identical to CE and take the Apache
header; the 4.3.1.6 cluster migration, TbClusterStore and their tests exist
in CE lts-4.3 and common/transport/snmp/pom.xml lost a CE dependency, so they
take the ce-modified header.
- Remove the DataValidationException.java curation: CE has had an identical
file at the same path since December 2025.
- Remove 29 curations that repeat the header the check decides by itself.
- Delete trendz-settings.component.html and comparison-keys-table.component.html
at their old locations: their components moved and no longer reference them,
and the relicensing commit left only a license header in them.
- Restamp ten files whose header does not match their CE provenance:
EntityDatabaseSchemaService.java, js-resource.component.ts and
DataValidationException.java are identical to CE and take the Apache
header; the 4.3.1.6 cluster migration, TbClusterStore and their tests exist
in CE lts-4.3 and common/transport/snmp/pom.xml lost a CE dependency, so they
take the ce-modified header.
- Remove the DataValidationException.java curation: CE has had an identical
file at the same path since December 2025.
- Remove 29 curations that repeat the header the check decides by itself.
- Delete trendz-settings.component.html and comparison-keys-table.component.html
at their old locations: their components moved and no longer reference them,
and the relicensing commit left only a license header in them.
- Restamp ten files whose header does not match their CE provenance:
EntityDatabaseSchemaService.java, js-resource.component.ts and
DataValidationException.java are identical to CE and take the Apache
header; the 4.3.1.6 cluster migration, TbClusterStore and their tests exist
in CE lts-4.3 and common/transport/snmp/pom.xml lost a CE dependency, so they
take the ce-modified header.
- Remove the DataValidationException.java curation: CE has had an identical
file at the same path since December 2025.
- Remove 29 curations that repeat the header the check decides by itself.
- Delete trendz-settings.component.html and comparison-keys-table.component.html
at their old locations: their components moved and no longer reference them,
and the relicensing commit left only a license header in them.
From the #16148 re-review:
- onIotHubSortChange compared the picked option with the effective sort, so
picking "Most installed" while it was already shown as the Installed list's
fallback for relevance stored nothing, and the IoT Hub list reopened on
"Most relevant". The choice is now always stored; the list reloads only
when the effective sort changes.
- INSTALLED_SORT_OPTIONS moves below the imports.
- The search page's load pipeline carries a failure as null and applies the
result in applyResult() instead of an inline block with a { result } wrapper.
- filterByLabel trims the search itself, so the facet list and the type pages
treat a trailing space alike.
- isCompactItemType() now also backs TbIotHubBrowseComponent.isCompactType and
the detail dialog's isCompactLayout; the home component's pass-through
becomes a readonly alias.
From the review of the search page:
- No Type facet selected now sends the six types the platform surfaces, as the
popup does, instead of every type the Hub holds: without the old grouping
step a published dashboard would have rendered as a card and been counted.
- Every reload goes through one Subject + switchMap, so a newer request
cancels an older one; toggling two facets quickly can no longer leave the
grid on the first answer.
- The ResizeObserver callback runs inside NgZone.run, as in
TbIotHubBrowseComponent; zone.js does not patch ResizeObserver, so a reload
started from it did not render. Checked: widening the window reloads with
the larger page size and renders it with no other event.
- The facet list takes option keys (string[]) and computes its visible list
once per change instead of on every change-detection pass; the Type facet's
placeholder zero counts and the facet count summing are gone.
- Shared in iot-hub-utils: filterByLabel (behind filterIotHubItemsBySearch),
measureGridColumns (used by this component and the browse page), and
IOT_HUB_FILTER_SCROLL_THRESHOLD in place of the literal 8 in both panels.
- The page padding and the component's pull-out margin derive from one
--tb-search-page-pad per breakpoint. Resize fields sit with the other state.
- Comments trimmed to the non-obvious intent.
Enter in the field opens the search page unless the autocomplete has just used
the press to select a highlighted row, which it marks with preventDefault in
its own keydown handler, registered before the field's. The field now listens
on keydown.enter and checks event.defaultPrevented, which replaces the
enterHandledByRow flag, the four places that reset it, and the read of the
trigger's activeOption at one exact moment. Checked in a browser: arrow + Enter
on a row opens the row only, Enter in the field opens the search page, click a
row / close the dialog / click the magnifier opens the search page, and arrow
to the footer + Enter opens it once.
Also from the review:
- The popup asks for the six cross-type types rather than filtering dashboards
out afterwards, so totalElements is exact and "See all N" needs no arithmetic.
- Row and footer selection go through onRowSelected / onFooterSelected instead
of a side-effecting predicate in the template.
- isCompactType delegates to the shared isCompactItemType; comments trimmed.
That list is sorted in the browser, and relevance is a score only the Hub
computes: sortInstalledVersions read a 'relevance' field no row has, so "Most
relevant" left the list unsorted under a label saying otherwise. The Installed
list now offers the other three keys, and a relevance choice made on the IoT
Hub list falls back to the first of them there. The sort is kept by value
rather than by menu index, since the two lists differ in length.
From the review:
- iot-hub-api.service builds peOnly/tbVersion from one platformScope(), used
by applyPlatformFilters and by the reads that wrote the pair into the URL by
hand (filterInfo, widgetCategories, the listing item-version lookup).
- DEFAULT_ITEM_TYPE_COLOR names the grey the palette falls back to; the
alarm-rules-unavailable page reads itemTypeColors instead of its own copy.
- isCompactItemType() next to CROSS_TYPE_ITEM_TYPES, used by the item card and
the popup.
- A stale "shared by both query shapes" comment left from the grouped query,
and other comments, trimmed to the non-obvious intent.
The popup asked /api/versions/published/grouped and rendered one section per
item type, so a query answered best by a widget still opened on devices. It now
asks for page 0 of the flat read the search page makes (relevance sort, 10
rows) and renders those rows in the server's order, so the best match leads
whatever its type.
- Each row names its type before the author ("Widget · pinkevych.d"), in the
type's colour with its itemTypeIcons icon. The verified mark moves in front
of the author like on the item cards; an unverified author keeps the person
icon.
- Items without a screenshot (calculated fields, alarm rules, rule chains) sit
in the same 99x56 frame as a screenshot with a 36px coloured tile inside, so
names line up down the list.
- The footer says "See all N results for ..." when the search matched more than
the popup shows; N discounts the rows this page dropped (dashboards).
- itemTypeColors joins itemTypeIcons as the one type palette; the hero reads it
instead of repeating the six colours.
Removes getPublishedVersionsGrouped, MpItemVersionGroupedQuery,
MpItemVersionSection and the iot-hub.section-more key.
- CSS parser: split blocks by matching braces (string- and escape-aware) so
@container, @supports, @layer, @document, @starting-style and nested at-rules
are namespaced inside, not prefixed themselves; @scope gets the namespace on
its root; descriptor at-rules (@property, @counter-style, @page, ...) are kept
verbatim; @keyframes stay inside their group rule; later @layer statements keep
source order; CSS nesting is supported; selector lists split on top-level
commas only; comments are stripped up front; the includes()-based skip list is
removed
- CSS linter: unwrap the CJS ace-linters module; LanguageProvider was undefined
and the error was swallowed, so no diagnostics were ever produced
- CSS editor: pass useWorker before mode so ace's legacy css_worker isn't spawned;
drop keywordCompleter whose items shadowed the documented LSP completions
Fixes the XSS sanitizer bypass in DOM.sanitize() (GHSA-jrc7-96c5-q579,
maplibre-gl <= 6.4.0).
- v6 removed the internal map.transform: sync the GL map with Leaflet
through the public jumpTo() and detect resizes from the container size
- v6 is ESM-only and the worker must be registered via setWorkerUrl():
copy maplibre-gl-worker.mjs and its maplibre-gl-shared.mjs dependency
to assets/maplibre-gl/
* Add API key support for CARTO basemap layers
* Move CARTO basemaps to a dedicated map provider and drop legacy HERE v2 credentials
- Add MapProvider.carto with its own layer types, settings and TbCartoMapLayer;
the API key is optional since CARTO serves tiles without one.
- Read CARTO layers stored under the OpenStreetMap provider as CARTO layers
(normalized in the layer factory and in the map layers settings form),
so existing widgets migrate on the next settings save without an upgrade script.
- Reset the API key when switching to CARTO instead of keeping the previous provider's key.
- Remove the useV3 toggle and app_id/app_code fields from legacy HERE settings;
leaflet-providers 4.x only supports HERE v3 with an API key.
---------
Co-authored-by: Vladyslav Prykhodko <vlad.pryhodko@icloud.com>
* Refresh the installed items count after an install, update or delete
The IoT Hub items page loaded its installed-items counter once, so installing,
updating or deleting an item from the embedded browse list left the counter
showing a stale number until the page was reloaded.
The browse component now emits installedItemsChanged whenever it refreshes its
own installed-items state, and the page reloads the counter on that event.
* Refresh the installed items count from the device wizard and deep links too
The device install wizard registers the install as soon as the entity steps
finish, but closing it with the header X or with Cancel on a still-pending
later step resolved to false, so the caller never reloaded. It now reports
'installed' once the server has the installed item, whichever way it is closed.
The deep-linked item dialog is opened by the items page itself, so its outcome
was discarded. It now refreshes the browse grid, which in turn announces the
new count.
* Keep IoT Hub markdown table columns from overlapping
Long unbreakable values in solution instruction tables (logins, e-mails,
passwords) overflowed their own column and ran under the copy icon.
Cells now break such tokens with overflow-wrap: anywhere, cells holding a
copy button reserve room for the icon, and the table is sized by its
content instead of splitting the width equally between all columns.
* Let preformatted content in markdown table cells wrap
With auto layout a cell holding a preformatted block keeps the whole line as its
min-content width, which the table cannot shrink below: in a 396px host the table
measured 701px and a host that hides horizontal overflow, such as the item detail
dialog's .dlg-body, cut the overflow off with no way to scroll to it. Relaxing the
block and the code inside it to pre-wrap lets the cell shrink with the table.
* Derive the copy icon space in table cells from the icon geometry
The 44px reserved on the right of a copy-code cell was derived by hand from the
copy icon chip declared 45 lines above it, so nudging the chip's width or offset
would silently put the cell text back under the icon. Both numbers now live in
$copy-icon-width and $copy-icon-offset, used by the chip itself and by the
reservation, which is written as width plus the gap on either side.
The flag was set by any user selection, but only the keyboard leaves a second half to
deal with: the trigger acts on keydown, the field's own handler on keyup, and
preventDefault on the first does not stop the second. A pointer selection is finished
when it returns, so the flag stayed set with nothing to consume it, and the next
onSearch took the early return - click a result, close the detail dialog, press the
magnifier, and the search page did not open. The magnifier is the plain case because
it calls onSearch with no keystroke at all; Enter in the field does the same once the
dialog restores focus there.
It is armed from the trigger's activeOption now, which is readable only at that moment
- the trigger holds it while it calls _selectViaInteraction and clears it on the next
line of its own handler - and which a pointer never sets. Focusing the field and
clearing it drop the flag as well, which covers the one pointer selection that can
still arm it: arrowing to a row and then clicking a different one.