DeviceInstalledItemDescriptor.getUsedExistingEntities reads usedExistingEntityIds, or the install state of an install that has none. Update, delete and the delete dialog call it; the static helpers in DevicePackageEntities and both services are gone.
Installs made before 4.4.1 record the entities the user chose to use as they were only in their install state. The delete and the delete dialog read only usedExistingEntityIds, which those installs don't have, so they deleted the entities; update already fell back to the install state, as the 4.2 and 4.3 lines do. One implementation in DevicePackageEntities now serves update, delete and the dialog.
* Renamed the Tuya integration credential fields to Access ID and Access Secret, as in the Tuya Developer Platform
* Removed unused Access Key length translations
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
The "Get app source code" step told users to clone the old
flutter_thingsboard_pe_app repository. Clone flutter_thingsboard_app
instead, without a branch, so the command follows the default branch.
* IoT Hub install: an empty optional form field is substituted as an empty value, not left as its placeholder (IOTHUB-125)
* IoT Hub install: an unset toggle is substituted as false
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Fixed Agent UI layout issues and app install type availability
* Additional fixes
* Fixed notes after merge with lts-4.4
* Additional fixes
* Fix agent UI back navigation, layout and arguments state
* Fixed PR comments
* Agents: merge responses of a previous selection are ignored, back from agent tabs goes to the Agents list
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Fixed an extra vertical scrollbar in audit log and event details when the content has a long line
When the content is wider than the dialog, the Ace horizontal scrollbar takes
its height from the rows, so a small vertical scrollbar appeared. Reserve the
horizontal scrollbar height in updateEditorSize.
* Clarified the scrollbar comment in updateEditorSize
* Fixed truncated status key label in LED indicator widget settings
* Additional fixes for entity-key-autocomplete for better UX
* Fixed PR comments
* LED indicator settings: the status key row stacks on narrow screens
* LED indicator settings: the status key uses the Attribute key / Time series key label
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Fixed CF reprocessing progress bar percentage not matching displayed value
* Added process Progress value round
* CF reprocessing: the bar and the percentage show the real progress
The bar and the label now use one real value, capped at 99% until the job is done; the buffer dots show the job is still running.
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
The attributes updated notification is built from the saved typed entries,
so it marks the string entries that would read back as numbers in
typeCastDisabledKeys. Copy to entity view and the device profile parse it
with JsonConverter.attributesFromMsg and get the values the device has.