dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
4bb857bf3f
AlexDoanTB-patch-1
_tbel_fix_bug_tb_date_timezone_pattern
bug/update-service-content-type
bug/yml-change-check
coap_dtls
copilot/fix-protobuf-field-names
copilot/sub-pr-14760
domains
edqs-grafana
feature/alarm-count-query
feature/basic-widget-config
feature/cf-merge-function
feature/cfs
feature/cn-locale-improvements
feature/controller-logging
feature/deduplication-node
feature/device-library
feature/edqv2
feature/firmware-footprint
feature/home-page
feature/html-container-widget
feature/iot-hub-item-link
feature/lts-4.3-iot-hub-alarm-rules
feature/lts-migrations-4.2
feature/menu-refactoring
feature/new-menu
feature/proto
feature/queries-not-option
feature/queue-consumer-manager
feature/rate-limits-notifications
feature/rpc-monitoring-lts-4.2
feature/rule-node-cache
feature/serialization
feature/sticky-partitioning
feature/sub-service-improvement
feature/tb-event
feature/tenant-export
feature/user-notification-settings
feature/user-settings
feature/websocket-rpc
feature/widget-bundles
fix/activity-notification
fix/alarm-propagation
fix/alarm-rules-doc
fix/gradle-warning-mode-parallel-timeout
fix/msa-tests-log
fix/openapi-spec
fix/rest-api-call-node-blocking-actor-thread
fix_bug_coap_tests
fix_bug_copas_Access_Token_DTLS
fix_bug_tbDate_Object_mapper
fix_bug_transactional_other_entity_with_tests
gh-protection-test
hotfix
improvement/ws/sanitized
improvements/isolated-queues
improvements/tb-upgrade
lts-4.2
lts-4.3
lts-4.3-rc
lts-patch-system-images
lwm2m_fix_bug_null_point_profileleid_after_sleep_master
master
msa-cfs-tests-trace-logs
oauth2_refactoring
rc
rc-4.1.1
release-1.0
release-1.1
release-1.2
release-1.3
release-1.4
release-2.0
release-2.2
release-2.3
release-2.4
release-2.5
release-3.0
release-3.1
release-3.2
release-3.3
release-3.3-CVE-2022-22965
release-3.4
release-3.5
release-3.6
release-3.7
release-3.8
release-3.9
release-4.0
release-4.1
release-4.2
release-4.3
sparkplag_Telemetry
sparkplug-any-name-node-unique-device-names_temp
system-params-js-evaluator
tbel_encodeUri
test_suite_testcontaihers_2_02
vb-master
vb-rc
wire-schema-replacement
v1.0
v1.0.1
v1.0.2
v1.0.3
v1.1
v1.2
v1.2.1
v1.2.2
v1.2.3
v1.3
v1.3.1
v1.4
v2.0
v2.0.1
v2.0.2
v2.0.3
v2.1
v2.1.1
v2.1.2
v2.1.3
v2.2
v2.3
v2.3.1
v2.4
v2.4.1
v2.4.2
v2.4.2.1
v2.4.3
v2.5
v2.5.1
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v2.5.6
v3.0
v3.0.1
v3.1
v3.1.1
v3.2
v3.2.1
v3.2.2
v3.3
v3.3.1
v3.3.2
v3.3.3
v3.3.4
v3.3.4.1
v3.4
v3.4.1
v3.4.2
v3.4.3
v3.4.4
v3.5
v3.5.1
v3.6
v3.6.1
v3.6.2
v3.6.3
v3.6.4
v3.7
v3.8
v3.8.1
v3.9
v3.9.1
v4.0
v4.0.1
v4.0.2
v4.1
v4.2
v4.2.1
v4.2.1.1
v4.2.1.2
v4.2.2
v4.2.2.1
v4.2.2.2
v4.2.2.3
v4.3
v4.3.0.1
v4.3.1
v4.3.1.1
v4.3.1.2
v4.3.1.3
${ noResults }
thingsboard/common/data
* Add device-package.models.ts with install wizard types Defines ConnectivityType, InstallStepType, ENTITY_STEP_TYPES, stepTypeAliasMap, DevicePackageInfo, DeviceInstallStep, form field interfaces, and EntityStepProgress types for the device install wizard. * Add device install wizard dialog component for IoT Hub Multi-step dialog that provisions TB entities from a device package ZIP: - Connectivity type selector, instruction/markdown views, dynamic forms - Entity creation with progress tracking (device profile, device, dashboard, rule chain) - Variable resolution across steps (form values, entity outputs, positional refs) * fix(iot-hub): fix device install dialog template and translations - Use correct tb-markdown inputs ([data] and [usePlainMarkdown]) - Fix translation key format (hyphens, not dots) - Remove unused ConnectivityType import and resolveImageUrl method - Auto-advance to first step when single connectivity type - Use inline data URIs for helpImage directly * feat(iot-hub): wire device install dialog into all install entry points Branch DEVICE item type to fetch ZIP and open TbDeviceInstallDialogComponent instead of the simple install dialog. Applied to: - Item detail dialog (install button) - Browse component (card install button) - Home component (card install button) * fix(iot-hub): fix build errors in device install dialog - Fix tb-markdown input: [markdownText] → [data] in done view - Fix JSZip entry type annotation for strict TS compilation * fix(iot-hub): reuse existing device profiles and add missing retry translation - Find device profile by name before creating; reuse if exists - Add action.retry translation key (was showing raw key) * feat(iot-hub): add find-or-create for rule chains in device install Reuse existing rule chains by name (same pattern as device profiles). Shared entities (device profile, rule chain) are looked up before creation. Per-install entities (device, dashboard) are always created fresh. * feat(iot-hub): refactor device install dialog to use mat-stepper - Replace single-panel view switching with mat-horizontal-stepper - Group consecutive entity steps into a single "Provisioning" stepper step - Each SHOW_INSTRUCTION and SHOW_FORM is its own stepper step - Add 2s minimum display time per entity creation step - Connectivity selector shown before stepper (not a stepper step) - Progress step auto-advances to next step after completion - Stepper shows completed checkmarks for finished steps * fix(iot-hub): fix stepper navigation by tracking step completion Linear mat-stepper requires steps to be marked completed before advancing. Added completed flag to WizardStep, set it when user clicks Next or when entity steps finish. * feat(iot-hub): add device package install tracking with entity cleanup Backend: - Expand DeviceInstalledItemDescriptor with createdEntityIds and dashboardId - Add POST /api/iot-hub/device/register endpoint to save installed item - Implement reverse-order entity deletion for DEVICE uninstall - Update DEVICE case in updateItemVersion to clean old entities Frontend: - Expand DeviceInstalledItemDescriptor TS model - Add registerDeviceInstall API method - Wire wizard to collect entity IDs and register after completion - Enable dashboard navigation for installed device packages * fix(iot-hub): add type discriminator to device register request body Jackson requires the 'type' field for @JsonTypeInfo polymorphic deserialization of DeviceInstalledItemDescriptor. * feat(iot-hub): show entity type in provisioning progress rows Each progress row now displays "Device Profile — ESP32 Dev Kit" instead of just "ESP32 Dev Kit", making it clear what type of entity is being provisioned. * fix(iot-hub): suppress global error toast and add Back button on provisioning error - Add ignoreErrors: true to all entity creation API calls so errors are only shown in the dialog, not as global toast notifications - Add Back button on provisioning error to navigate back to the last form step, allowing users to fix parameters (e.g. device name) - Make form steps editable so stepper allows backward navigation - Reset progress step state when going back so it re-runs with updated form values * fix(iot-hub): resolve ExpressionChangedAfterItHasBeenCheckedError in device install dialog Inject ChangeDetectorRef and call detectChanges() after async state mutations (entity step status changes, stepper auto-advance, ngOnInit completion). The NG0100 error occurred because async operations (setTimeout, HTTP calls) mutated component state outside Angular's change detection cycle. * fix(iot-hub): fix device register endpoint JSON deserialization Accept JsonNode and use JacksonUtil.treeToValue() instead of direct @RequestBody DeviceInstalledItemDescriptor. The @JsonTypeInfo on the parent interface caused Spring's message converter to fail when deserializing the concrete class directly. * fix(iot-hub): fix dashboardId serialization in device register request DashboardId implements EntityId which uses EntityIdDeserializer requiring both entityType and id fields. Frontend was sending {"id":"..."} without entityType, causing "Missing entityType or id!" 400 error. Fix: include entityType: "DASHBOARD" in the dashboardId payload. Add deserialization unit test to verify the exact frontend payload format. |
3 months ago | |
|---|---|---|
| .. | ||
| src | Feature/device library (#15347) | 3 months ago |
| pom.xml | Version set to 4.2.2.1-SNAPSHOT | 4 months ago |