- msa/js-executor, msa/web-ui: replace nodemon with node --watch and remove it,
dropping chokidar 3 and braces (CVE-2026-93687)
- ui-ngx: migrate from deprecated @angular-devkit/build-angular to @angular/build,
dropping the webpack toolchain incl. webpack-dev-middleware (CVE-2026-76844)
- ui-ngx: bump Angular CLI/build tooling to 20.3.40, make the
@modelcontextprotocol/sdk 1.32.1 resolution global, remove unused less resolution
- ui-ngx: bump @svgdotjs/svg.js to 3.2.8 (prototype pollution fix), svg.filter.js
to 3.0.10, svg.panzoom.js to 2.1.3, @messageformat/core to 3.4.1, eslint to 9.39.5
- ui-ngx: fix invalid JSON in locale.constant-ro_RO.json (trailing comma)
* Fixed false "Unsaved changes" popup on the Alarm rule details page
* Fixed false "Unsaved changes" popup on the Alarm rule details page when a clear condition is present
* Fixed dashboardId being corrupted and dirty-check bypassed in alarm rule form
* PR comments fix
* Moved alarm rule argument validation to a configuration group validator
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.
* 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.
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.
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.
Three things from the re-review, two of them introduced by the commit that turned the
popup's header and footer into options.
**The Enter guard never fired.** It asked the autocomplete trigger for its active
option during keyup, but the trigger clears that inside the same keydown - it calls
_selectViaInteraction and then _resetActiveItem, which with no autoActiveFirstOption
sets the active index to -1. So the guard always fell through, and one Enter on a
highlighted row opened it and then navigated away from it. That is worse than the
behaviour before, where the click handler simply never ran. The row that acts now
records it through rowSelectedByUser, which does not depend on the order the two
handlers run in, and typing clears the flag since a pointer selection leaves no keyup
behind it.
**The header's own padding was overridden.** Under one ancestor chain,
`.mat-mdc-option.tb-search-popup-group-header` and
`.mat-mdc-option:not(.mat-mdc-option-multiple)` both weigh (0,4,0), and the second was
declared later, so every section header shipped 8px taller than the 4px the comment
above it documents - with up to six of them in a 424px panel. The catch-all could not
match the old span header; it matches an option. Each row kind now carries its own
class and the shared parts sit in one rule, so nothing here rests on source order. The
footer had the same collision and only won by being declared last.
**The hover-scrollbar block is a mixin.** This branch added a second byte-identical
copy of it. Both now call tb-iot-hub-hover-scrollbar from the partial they already
import. The mixin records what is deliberately NOT settled here: whether these panels
should keep a thumb that is invisible until hover, and whether to add the standardised
scrollbar-width / scrollbar-color that Firefox reads, is a question for the IoT Hub
filter UI as a whole - iot-hub-browse and dashboard-widget-select carry the same
treatment and predate this branch.
The popup keeps focus in the input and walks its rows with an active-descendant key
manager, which only knows about options. A section header written as a span with
role="button" and tabindex="0" is therefore unreachable: the arrow keys skip it, its
keyup.enter can never fire because it can never hold focus, and Tab does not help
since leaving the input closes the panel. That header is the only way from the popup
into a type page, so without a mouse there was no way in at all. The footer had the
same shape, though its action is also on the input's own Enter.
The header also sat inside the group's label element, which is presentational, so the
section's name came out as the header's whole text - "Devices +12 more" - wrapping a
control nobody could operate.
Header and footer are now options like every other row. They take part in arrow
navigation, they read as part of the list, and the group wrapper goes away with the
label it was distorting.
Rows also acted on (click) alone. Pressing Enter on a highlighted result runs
_selectViaInteraction, which is not a DOM click, so the card never opened from the
keyboard. Every row now acts on (onSelectionChange) guarded by isUserInput, one path
for pointer and keyboard both.
Enter in the field needed a guard to go with that: the trigger acts on keydown and
this handler runs on keyup, which the trigger's preventDefault does not stop, so one
Enter would have opened a result and then navigated away from it.
Updating a solution template deletes and reinstalls every entity it created, and
unlike the other item types it is not stopped by the modified-entity check, so a
tenant's own edits to those dashboards, devices and rule chains are lost without
warning. The dialog showed the generic "replace the current version" wording,
which does not suggest anything is destroyed.
A second, smaller mismatch: a listing renamed between releases shows one name in
the installed-items table and another in the dialog that table opens, because the
dialog took its title from the published version while the table reads the
tracking row.
- show a dedicated description for SOLUTION_TEMPLATE that names what is deleted
and recreated, and says local changes are lost
- take the item details title from the tracking row while the dialog shows
exactly the installed version; any other displayed version keeps its own name
Two comments explaining why relevance is the default in both states pointed at an
internal ticket, one of them at three numbered sections of it that are being rewritten
precisely because the code no longer matches them. Neither pointer is reachable from
this repository, and the numbering is due to move.
The reasoning stays inline, with the accepted cost named: the menu reads "Most
relevant" over an install-ordered list until the user types.
The type page adopted `?creatorId=` from the URL whenever its input was unbound.
Nothing in the platform builds such a URL: the only navigations carrying query
parameters send `search` and `itemType`, and the creator profile scopes its list by
binding the component's input rather than by navigating. The branch was reachable
only by typing the parameter in by hand, and there it rescoped a Hub-wide type page
with no visible sign of why the counts had changed.
Both live callers - the creator profile and the add-item dialog - bind the input,
which the removed code deferred to in any case.
These were the only two of the thirteen fields interpolated raw, and creatorId is not
an internal value: iot-hub-browse and the creator profile both read it straight off the
route with nothing between the URL and the request, so a crafted id could close the
parameter and append its own. The UUID shape is a convention here, not something this
code enforces.
The results container kept its old indentation after being wrapped in
.tb-search-layout, so it read as a sibling of the wrapper and the two closing tags
lined up at the same depth while closing different elements. The popup's @for sat in
an ng-container carrying no directive. Removing the -compact rule left a blank line
before the closing brace in four places.
The sort options lived in three arrays behind three identical local interfaces, and
'relevance' was spelled four ways; the six cross-type item types lived in two more
arrays, byte-identical and renamed by this branch on both sides. Adding one option
here meant editing three places, and a seventh item type would have needed two.
All of it moves to iot-hub-item.models.ts as SortOption, IOT_HUB_SORT_OPTIONS,
RELEVANCE_SORT_PROPERTY and CROSS_TYPE_ITEM_TYPES. The type list stays separate from
CREATOR_VISIBLE_ITEM_TYPES, which holds the same six: that one is a membership test
carrying the type tabs' order, this one is display order with DEVICE leading, and
folding them together would have silently reordered the Type facet.
The hero popup now sends relevance in both states like every other surface, rather
than switching on whether the field has text. Both spellings ask the server for the
same rows - with no text it substitutes the install count either way - so this is the
code agreeing with the decision recorded on TBIOH-33, not a behaviour change.
Two failures that were not survivable:
- One of the six getFilterInfo calls failing emptied the whole filter panel. forkJoin
is all-or-nothing, so typeOptions went unassigned although it needs no server data,
and the i?.categories guards below could never fire. Each request now carries its
own catchError, which is what those guards already expected.
- A section arriving without items would have thrown inside a subscribe callback,
out of reach of the catchError upstream, leaving the popup on its spinner. The
response is an unvalidated cast of a new endpoint, so items is defaulted.
The facet list held a Set the host mutated in place, which works only while that
component is on default change detection. The host now hands over a new Set per
toggle. SearchResultGroup.total went unread, and @for takes a track expression
rather than a TrackByFunction.
The Hub answers a sectioned search at /api/versions/published/grouped rather than
through a flag on the flat read. That endpoint takes the filters and a sort key
only - it sizes its own answer - so the popup asks through its own API method and
its own query string, and sends no page, page size or sort order.
MpItemVersionGroupedView mirrors what comes back: the view plus typeTotal, always
set, rather than the flat view with a nullable field and a comment about when it
is null. MpItemVersionQueryOptions loses grouped with it.
Two surfaces, one defect between them: a query answered by several content types
could not show all of them.
**The hero popup** asked /api/versions/published for one flat page of ten rows by
install count and grouped that page on the client. Ten rows cannot hold four of
each of six item types, so whichever types filled the page took it and the rest
had no section at all — and an absent section was indistinguishable from "no
matches of this type". Measured against the catalogue, `temperature` returns 71
matches across five types; a flat top-16 by install count shows no calculated
field and no alarm rule, and by relevance it shows none of the 22 devices. On
`gateway` neither ordering surfaces one of the 12 matching widgets.
It asks for a grouped answer now. The server caps each type and puts `typeTotal`
on every row, so the client renders what it was given: one section per type, the
header a link to that type page carrying the current query and, when more of that
type exists, a "+N more ›" chip. Count and chevron appear together or not at all —
on a section already showing everything a chevron points at nothing. The footer
names where it goes rather than an ordering.
**The search page** keeps its flat paginated grid — the site's equivalent is a
browsable catalogue with indexed page URLs, so neither product groups there — and
gains what it was missing beside the type pages:
* A filter panel: item type, category, use case. Type is new, this being the one
page that mixes them. There is no catalogue-wide filterInfo endpoint, so the six
per-type answers are merged client-side. Counts are deliberately not rendered:
filterInfo takes no text query, so beside a searched result they would be the
whole catalogue's numbers describing a different answer.
* A page size that follows the column count, read from a hidden probe carrying the
grid's own classes rather than restated from its media queries: max(12,
columns × 3). Fifteen at every width ended a page mid-row at four and six
columns.
* One card layout. Calculated fields, alarm rules and rule chains render as a
compact horizontal row that needs a wide cell; the type pages narrow the grid
for them, a mixed grid cannot, and those rows truncated their own titles.
**Relevance** is a sort option on all four surfaces that carry a search field, and
the default on each. With text it ranks the answer; without it the backend
substitutes the install count, so browsing keeps the order it had. Nothing
switches on the field state — a control that relabels itself unasked was tried and
rejected.
Also here: the search page moves onto the type pages' frame — one even padding on
the card, the component full bleed — which removes four breakpoints' worth of
negative margins, each written to cancel that padding for one element.
- rename the cap to MAX_LISTED_NAMES_PER_TYPE: it shortens the printed
list, it does not limit what is validated
- say how many conflicts a type has in total, and add a note when names
were left out, so the "rename or delete them" instruction stays true
- keep only the names in the conflict map, the entities were never read
for anything else
- one way of saying "there are no details" in the dialog, and one comment
instead of two that open the same way
- cover the whole branch of the cap (10, 11 and 12 names) and the profile
name that comes from both the json file and the directory
- rename the cap to MAX_LISTED_NAMES_PER_TYPE: it shortens the printed
list, it does not limit what is validated
- say how many conflicts a type has in total, and add a note when names
were left out, so the "rename or delete them" instruction stays true
- keep only the names in the conflict map, the entities were never read
for anything else
- one way of saying "there are no details" in the dialog, and one comment
instead of two that open the same way
- cover the whole branch of the cap (10, 11 and 12 names) and the profile
name that comes from both the json file and the directory
- drop the java.util.Collection import that stayed behind when firstOrNull
was inlined
- cap each report section at ten names plus "and N more": a template can
hold hundreds of devices, and the dialog renders these details without
the height cap the plain-text branch has
- leave the details empty when the server reported no message of its own,
since the description above them already names the item that failed
- cover the asset conflict, the capped report and the remaining mocks in
the validation test
- drop the java.util.Collection import that stayed behind when firstOrNull
was inlined
- cap each report section at ten names plus "and N more": a template can
hold hundreds of devices, and the dialog renders these details without
the height cap the plain-text branch has
- leave the details empty when the server reported no message of its own,
since the description above them already names the item that failed
- cover the asset conflict, the capped report and the remaining mocks in
the validation test
- the dialog no longer mistakes a MISSING plan entry for the failing one:
such entries carry an error message of their own with no name, so the
lookup now also requires the WILL_INSTALL status
- the whole dependency sentence lives in the locale bundle as one key
with a name and an error parameter, instead of a fragment glued to the
server message, and the partial rollback warning is appended as its own
paragraph by the dialog rather than relying on the details ending with
a blank line
- a rule chain is validated under the type from the rule chain file too,
so an EDGE chain is no longer looked up among the CORE ones
- names are deduplicated before the lookup rather than when formatting,
so a template repeating a name queries once
- the entity type and the name come from the definition itself for the
five lists that carry both, which removes the pairing hazard
- ExceptionUtil.getMessage replaces the hand-rolled fallback, and the
single-use firstOrNull helper is inlined
- the dashboard check moved after the device one to match the provision
order the comment claims, and the unreachable empty-list guard is gone
- tests cover both profile types, edges, the rule chain type and its two
unresolvable-name branches, the deduplicated lookup and a json file
holding null
- the dialog no longer mistakes a MISSING plan entry for the failing one:
such entries carry an error message of their own with no name, so the
lookup now also requires the WILL_INSTALL status
- the whole dependency sentence lives in the locale bundle as one key
with a name and an error parameter, instead of a fragment glued to the
server message, and the partial rollback warning is appended as its own
paragraph by the dialog rather than relying on the details ending with
a blank line
- a rule chain is validated under the type from the rule chain file too,
so an EDGE chain is no longer looked up among the CORE ones
- names are deduplicated before the lookup rather than when formatting,
so a template repeating a name queries once
- the entity type and the name come from the definition itself for the
five lists that carry both, which removes the pairing hazard
- ExceptionUtil.getMessage replaces the hand-rolled fallback, and the
single-use firstOrNull helper is inlined
- the dashboard check moved after the device one to match the provision
order the comment claims, and the unreachable empty-list guard is gone
- tests cover both profile types, edges, the rule chain type and its two
unresolvable-name branches, the deduplicated lookup and a json file
holding null
- rule chains are looked up under the name from the rule chain file, the
same source the install uses, instead of the name in rule_chains.json
- the details end with a blank line, so the partial rollback warning the
dialog appends does not land inside the last list item
- an exception without a message falls back to its type, so the failing
entry is still named
- the dependency prefix is only added when the server sent an error
message, since the fallback sentence names the root item
The service was pre-composing "Failed to install dependency '<name>':",
which can never be translated and made the backend depend on the dialog
already printing the root item above the details. It now reports the
failure itself, and the dialog prefixes a localized sentence when the
entry that failed is not the root.
- rule chains are looked up under the name from the rule chain file, the
same source the install uses, instead of the name in rule_chains.json
- the details end with a blank line, so the partial rollback warning the
dialog appends does not land inside the last list item
- an exception without a message falls back to its type, so the failing
entry is still named
- the dependency prefix is only added when the server sent an error
message, since the fallback sentence names the root item