* feat: AI chat words for installing an IoT Hub device in the chat: action lines for read_iot_hub_device and install_iot_hub_device, their Details as the hub item, the approval card's install facts (model, how it connects, profile, device, gateway, connector, dashboard, rule chain, converter, integration, kept entities) and the IoT Hub record on the device install's approval and line
* AI chat: an IoT Hub device install's Details header says it installed the device ('Installed ... from IoT Hub') instead of reading it
* Sync Arabic translation with lts-4.4 en_US
* Sync Catalan translation with lts-4.4 en_US
* Sync Danish translation with lts-4.4 en_US
* Sync German translation with lts-4.4 en_US
* Sync Greek translation with lts-4.4 en_US
* Sync Spanish translation with lts-4.4 en_US
* Sync French translation with lts-4.4 en_US
* Sync Hindi translation with lts-4.4 en_US
* Sync Italian translation with lts-4.4 en_US
* Sync Japanese translation with lts-4.4 en_US
* Sync Korean translation with lts-4.4 en_US
* Sync Lithuanian translation with lts-4.4 en_US
* Sync Dutch (Belgium) translation with lts-4.4 en_US
* Sync Dutch translation with lts-4.4 en_US
* Sync Norwegian translation with lts-4.4 en_US
* Sync Polish translation with lts-4.4 en_US
* Sync Brazilian Portuguese translation with lts-4.4 en_US
* Sync Slovenian translation with lts-4.4 en_US
* Sync Turkish translation with lts-4.4 en_US
* Sync Ukrainian translation with lts-4.4 en_US
* Sync Simplified Chinese translation with lts-4.4 en_US
* Sync Traditional Chinese translation with lts-4.4 en_US
* Remove Arabic and Catalan keys that en_US no longer has
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Update Georgian translation for 4.4: missing keys, the 2019 strings reviewed, terminology
* Remove Georgian keys that en_US no longer has
* Update Czech translation for 4.4: missing keys, existing strings reviewed, terminology
* Remove Czech keys that en_US no longer has
* Update Latvian translation for 4.4: missing keys, the 2020 strings reviewed, terminology
* Remove Latvian keys that en_US no longer has
* Update Romanian translation for 4.4: missing keys, the 2020 strings reviewed, terminology
* Remove Romanian keys that en_US no longer has
* Sync Georgian translation with lts-4.4 en_US
* Sync Czech translation with lts-4.4 en_US
* Sync Latvian translation with lts-4.4 en_US
* Sync Romanian translation with lts-4.4 en_US
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* fix(notifications): set mutable-content on iOS push notifications
The mobile app's iOS notification service extension draws the icon
configured in the notification template and attaches it to the push.
iOS runs the extension only when the APNs payload carries
mutable-content: 1, so pushes received while the app was in the
background or closed were shown without the icon.
* chore: update the license header of DefaultFirebaseService
aiQuestionsOf passes color through (never with multiple), so a color question
gets the picker even without hex options. The approval card translates the
common review values (on, off, automatic, set, not set, default) whatever the
field, with English text unchanged; labels for the new tlsVersion,
passwordSecret and proxyPasswordSecret fields.
Inline review: legacy ai_solution_creator menu id maps to ai_assistant, quick
web link ids use guid(), white labeling and report templates no longer reload
over unsaved edits, the solution chat stop state clears when a run ends, the
tour skips stops whose target never appears, the hand-over clock runs only
while waiting and outside the zone, ai-theme no longer leaks into component
stylesheets, SSE heartbeats are ignored, unknown alarm-update actions fall back
to "other", the panel margin follows the panel actually being present, and
ALARM_RULE reviews get their label.
Bundle: the docked panel and the AI Assistant page load lazily; AiModule is
split into core, composer and chat modules; the CLI guide moved next to its page.
Translations: no sentences assembled in code, plural forms, entity words as
keys, wording fixes, unused and stale keys removed, help lists recipient params.
Maintainability: one isAiAvailable() rule, one '/' shortcut service, OnPush
chat components, shared chat-session helpers, single chat list, shared reload,
toast, count and storage helpers, prefixed generic theme classes, Prism skipped
where the kit highlighter re-renders code, dead code, CSS and assets removed.
License headers restamped and three files curated.
- AI credits limit increase request rolls back its dedupe key on any failure after it is stored, so a failed attempt no longer blocks retries (PR #16848)
- DefaultAiChatServiceTest expects the credit check on createChat (PR #16848)
- startNew uses the credit-checking process(action, user) overload and its test verifies it (PR #16848)
- Unit tests for owner-scoped alarm subscriptions and TbEntityDataSubCtx.onSameEntities (PR #16848)
The Downlink connection string and Downlink topic name fields are used only to send downlinks, but were shown for every integration in the collapsed Advanced settings, and stayed there when a downlink converter made them required. They are now shown below the topic and subscription only when a downlink converter is set. Required-field messages of the form end with a period.
* Showed Azure Event Hub IoT Hub name only with a downlink converter
The IoT Hub name field is used only to send cloud-to-device messages, so the form shows it only when the integration has a downlink converter. The add-integration wizard counted a converter chosen under "Select existing" even after switching to "Skip", and did not count "Library"; it now uses only the current choice, which also fixes the downlink fields of UDP, TCP, KPN, ChirpStack and Azure Service Bus. Required-field messages on the form now read as full sentences.
* Moved downlink converter check in the wizard to a getter
The add-integration wizard now decides whether a downlink converter is set in isDownlinkConverterSet, next to createDownlinkConverter().
The dashboard selection dropdown requested /api/user/dashboards without the
mobile flag, so dashboards with "Hide dashboard in mobile application" were
listed and could be opened from the mobile app. Pass mobile=true when the UI
runs inside the mobile app; browser behaviour is unchanged.
The help button on White labeling > Login opened the General white labeling docs. Added the loginWhiteLabeling help link and bound tb-help to isLoginWl.
* Improved swiping and keyboard and screen reader support in the IoT Hub screenshot and attribute widget carousels
ngx-hm-carousel is unmaintained, needed a patch to run on Angular 20 and pulled in
hammerjs (globally imported only for it) and @nghedgehog/core. It is replaced with an
in-house carousel that keeps the library's selectors, inputs, content templates and
currentIndex and is exposed under the same 'ngx-hm-carousel' module id, so custom
widgets keep working.
Swipe and mouse drag use Pointer Events; the carousel is focusable and switches slides
with the arrow keys, slides are labelled and off-screen slides are inert. The prev/next
buttons of the attribute widget preview got accessible names.
* Fixed IoT Hub screenshot carousel autoplay staying paused and showing a focus ring after closing the full-screen viewer
- A mouse click no longer focuses the carousel (it stays focusable from the keyboard), so the
full-screen viewer does not return focus to it with a focus ring.
- Autoplay pauses on focus only when it is keyboard focus (:focus-visible); moving the
mouse out of the carousel resumes it.
- Prev/next areas and dots react only to the carousel's own elements, not to elements
with the same classes inside slides.
- Slide role, aria-roledescription and aria-label set by the slide author are kept.
- Pinch-zoom stays available on touch screens over the carousel.
- The slides container is looked up by [ngx-hm-carousel-container].
- Removed inputs and templates the new carousel ignores ([data], default [infinite] and
[show-num], #carousel, empty prev/next/dot templates) and the styles that hid them.
* Removed leftover IoT Hub carousel styles of the replaced library and tidied carousel comments
* Updated the license header of the modified IoT Hub item dialog template
* UI: Map - load Esri reference layer styles from ArcGIS Online instead of bundling them
The styles are Esri content under the Esri Master License Agreement, which
prohibits redistributing or self-hosting it.
* UI: Map - retry a failed reference layer style load on the next map load and log the error
* UI: Map - remove Esri layers from the default map layers and the built-in Google and HERE API keys
* UI: Map - make the Google and HERE API keys optional with a warning, show the layers without a key without using ours
* UI: Map - add the Esri provider with an optional ArcGIS API key, use the key for the Esri reference layers and the ArcGIS vector basemap styles
* UI: Map - make the legacy Google and HERE API keys optional, show an accurate warning for a missing ArcGIS API key and add the Esri attribution to the raster Esri layers
* Update license headers of the modified map files
* UI: Map - drop the hidden reference layer API key, show the Esri attribution on the reference and legacy Esri layers and describe the missing API key warning to screen readers
* UI: Load Ace modes, snippets and themes on demand
The first editor used to load all 14 modes, 11 snippet files and 2 themes
up front (901 KB, 29 requests). Ace now loads only what an editor uses
through config.setModuleLoader; a JSON editor loads 534 KB in 5 requests.
- Once a module is defined, its loader is removed, so Ace resolves it
synchronously again, as before.
- getAce() accepts modules to preload for editors that read the session
mode synchronously after setMode; js-func preloads javascript and tbel.
- mode-c_cpp and snippets/protobuf are no longer loaded: no editor uses
the C/C++ mode, mode-protobuf bundles its own copy, and the protobuf
mode takes its snippets from snippets/c_cpp.
* UI: Load the SystemJS modules map lazily and cut eager imports of home code
- The SystemJS modules map, which imports most of the application, now
loads only when a widget or rule node loads an extension module. Pages
and dashboards no longer carry it.
- WidgetService, DashboardUtilsService and HomeService no longer import
the widget config component, the dashboard component models and the
router tabs component, which kept them in the login bundle:
the basic config base class is passed to
registerBasicWidgetConfigComponents, the gridster limits moved to
shared dashboard models (re-exported from the old place), and router
tabs are detected by a flag instead of instanceof.
- BlobEntitiesComponent reads the header actions panel from the widget
context instead of injecting WidgetComponent. That import closed the
only NgModule import cycle (SharedHomeComponentsModule ->
WidgetComponentsModule), which crashed startup with "Cannot read
properties of undefined (reading 'ngModule')" when the module init
order changed.
* UI: Take dashboard screenshots with modern-screenshot, loaded on demand
The dashboard image dialog used html2canvas, which is no longer
maintained. It shifted and cropped the captured area and failed on
dashboards that use the CSS color() function (charts, gauges, maps).
- modern-screenshot (MIT, no dependencies, 10 KB gzip instead of 44 KB)
renders the dashboard through the browser itself, so the thumbnail
matches the page. It loads only when a screenshot is taken.
- The whole dashboard is captured and the selected area is cut out of
the canvas; the development notice is still stamped before the image
is serialised.
- Elements marked with data-html2canvas-ignore are still left out, and
videos with no source are skipped, since the capture would wait for
them forever.
* UI: Import entity type models directly in entity chips instead of the shared public API barrel
The barrel re-exports report-component.models, which imports the time series
chart models and with them echarts and zrender. Any eager import path to
entity chips would pull ~1.7 MB of chart code into the startup bundle, as
happened in PE through the AI audit log dialog.