Igor Kulikov
b8e623adf1
feat: the AI button is the AI's mark, one component with the chat's welcome and header marks: its colour held back at rest and coming up under the pointer, on focus and while a closed chat works, a dot when a chat waits or failed, readable on a primary-coloured bar; the first time, the button glows and a popup introduces the docked chat in the page's own words, with its first suggestion and the / shortcut, shown on every page until the person answers it; the introduction's steps (welcome, assistant tour, AI button, Home) are kept per user in the user settings
2 weeks ago
Igor Kulikov
77c4b3a105
Merge branch 'lts-4.4' into feature/ai-chat
# Conflicts:
# pom.xml
# ui-ngx/src/app/modules/home/pages/notification/settings/notification-settings.component.ts
2 weeks ago
Igor Kulikov
81651ae6cd
build: depend on ThingsBoard AI common 2.1.11-SNAPSHOT, the AI service's version after merging its master
2 weeks ago
Igor Kulikov
be8ffcfad2
feat: the assistant knows every Edge management page — edges, edge groups, an edge's assigned groups, rule chains, integrations and scheduler events, the rule chain, integration and converter templates, agents, agent applications and events, agent and application profiles and bulk actions — with a welcome on each; edge rule chain names link to the edge rule chain editor; names in a reply become links as soon as the reply arrives; a failed action shows ThingsBoard's reason; approval buttons name the operation (Install, Restart, Upgrade, Cancel, Sync); a running agent operation shows its live status on one line; tables reload as soon as an action changes their entities; the docked assistant reopens after a page reload with its chat and width, without the slide
2 weeks ago
Igor Kulikov
581a0fb075
feat: the details of drawing SCADA pipes name the equipment and sides a line joins
2 weeks ago
Igor Kulikov
31241961bf
feat: leaving a solution while it is being designed keeps it running in the chats list, which refreshes until the design is done, and coming back resumes its progress instead of showing it idle
2 weeks ago
Igor Kulikov
9e101802ed
feat: the solution creator survives a page refresh at every step: the design, the dashboards design, creating and installing resume where they were, with the same item progress and elapsed time, and a create cut short by a refresh still goes on to install; the header shows the same title as the chats list, including the generated title and the placeholder while the design is generated; the dashboards pane shows each dashboard's summary once instead of repeating it in the description
2 weeks ago
Igor Kulikov
6159bdcd2e
feat: when the AI chat deletes the SCADA symbol open in the editor, the page returns to the SCADA symbols list with the chat; the editor also leaves a symbol that no longer exists
2 weeks ago
Igor Kulikov
ae89337dc5
feat: a dashboard the AI chat creates from the dashboards list opens with the chat beside it; the chat follows the content that appears when a turn ends (run summary, suggestion chips) without scrolling past the start of the answer; action label and details for drawing SCADA pipes
2 weeks ago
Igor Kulikov
d2b97f2a9d
feat: action label and details for adding a SCADA symbol to the widgets library
2 weeks ago
Igor Kulikov
c54d3e73b9
feat: the AI chat runs SCADA symbols in the browser for check_scada_symbol (default and active values, console errors, side-by-side screenshot); the SCADA symbol editor's welcome names the symbol
2 weeks ago
Igor Kulikov
772e7521a3
feat: the SCADA symbol editor sends its unsaved changes to the AI chat and reloads when the AI saves the symbol it shows; action labels and details for copying and changing SCADA symbols, and a copy opens its editor
2 weeks ago
Igor Kulikov
7f0477b9c0
feat: drawing SCADA symbols with the AI chat: approval card with the symbol's picture and its family, size, behaviors and settings, the editor of a new symbol opens with the chat beside it when it was created from the SCADA symbols pages, a SCADA symbol card with its picture leads the run summary, action details show the symbol's picture instead of its link
2 weeks ago
Viacheslav Klimov
44dfe3632f
Use released ThingsBoard AI 2.1.10
2 weeks ago
Viacheslav Klimov
5018d5747b
Merge pull request #16785 from ShvaykaD/fix/lts-4.4/iot-hub-delete-legacy-use-existing
IoT Hub device package delete: keep the "Use existing" entities of installs made before 4.4.1
2 weeks ago
dshvaika
0aedc615a7
IoT Hub device package delete tests: the entities of an install made before 4.4.1 belong to the tenant, as in the sibling tests
2 weeks ago
dshvaika
dce7342621
IoT Hub device package: name the descriptor's use-existing reader after the legacy installs it covers
getUsedExistingEntityIdsIncludingLegacy, next to the field's own getter; the field says to read it through this method.
2 weeks ago
dshvaika
cc64a9c061
IoT Hub device package: the descriptor answers which entities were used as they were
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.
2 weeks ago
Dmytro Pinkevych
725e836670
IoT Hub installed items: one click on a sorted column header reverses the order (PROD-9377) ( #16784 )
2 weeks ago
Igor Kulikov
5f190dee61
feat: AI chat on the SCADA symbols pages: views and welcomes for the SCADA symbols list and the symbol editor, action labels and details for the SCADA symbol read tools; fix: the SCADA symbol editor's breadcrumb shows the symbol's title (it was computed before the symbol loaded and never refreshed)
2 weeks ago
dshvaika
85f0e887c2
IoT Hub device package delete keeps the entities an install made before 4.4.1 took as they were
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.
2 weeks ago
Viacheslav Klimov
748f2c1ee8
Merge pull request #16759 from deaflynx/fix/mobile-bundle-flutter-app-link
Mobile bundle configuration dialog: updated the app source code link to flutter_thingsboard_app
2 weeks ago
Viacheslav Klimov
ecfac1b66b
Merge branch 'hotfix-4.4' into lts-4.4
2 weeks ago
Viacheslav Klimov
edff02c587
Merge remote-tracking branch 'origin/lts-4.3' into hotfix-4.4
2 weeks ago
Viacheslav Klimov
aecc7f51e9
Merge pull request #16778 from thingsboard/fix/community-grant-tests-hotfix-4.4
Merged the Community Grant test fixes into 4.4
2 weeks ago
Viacheslav Klimov
e9c1656831
Merge pull request #16777 from thingsboard/fix/community-grant-tests-lts-4.3
Fixed failing Community Grant tests
2 weeks ago
Viacheslav Klimov
dbe1408fc2
Merge branch 'fix/community-grant-tests-lts-4.3' into fix/community-grant-tests-hotfix-4.4
2 weeks ago
Viacheslav Klimov
5fee38d15a
Stub the license claim in the Community Grant poller controller test
2 weeks ago
Viacheslav Klimov
17dbea0cdc
List the Community Grant action types as having no rule engine message type in ActionTypeTest
2 weeks ago
Serhii Titenko
07cb0be951
Renamed the Tuya integration credential fields to Access ID and Access Secret ( #16723 )
* 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>
2 weeks ago
Shvaika Dmytro
c9a93b329d
Merge pull request #16773 from ShvaykaD/fix/iot-hub-remove-default-converter-check
IoT Hub: device package updates no longer offer a user-edited default converter as a new ThingsBoard converter
2 weeks ago
Viacheslav Klimov
d38ac31652
Merge pull request #16772 from ShvaykaD/fix/integration-activity-manager-test-lts-4.4
Fixed IntegrationActivityManagerTest after the integration uplink type-cast change
2 weeks ago
dshvaika
98552cc99f
IntegrationActivityManagerTest: stub the process overload with type-cast-disabled keys that processUplinkData now calls
3 weeks ago
Igor Kulikov
b02ee9ac09
fix: AI chat scrolling: an approval card that needs a review scrolls fully into view, the status line shows the working tool again after a streamed reply instead of 'Thinking', and the jump-to-latest button hides when expanding or collapsing details brings the last message into view
3 weeks ago
Vladyslav Prykhodko
65d867844b
Merge pull request #16760 from vvlladd28/fix/map-clustering-vector-layer-lts-4.4
Fixed Map widget showing no markers when marker clustering is enabled on a vector map layer
3 weeks ago
Igor Kulikov
56cbe87308
fix: an image change in an AI review card shows the current and new images side by side; image values no longer force the stacked layout meant for long text
3 weeks ago
Artem Babak
cf8b3a5a9b
fix(mobile): keep the master branch in the app clone command
3 weeks ago
Artem Babak
2a9559f235
fix(mobile): point the bundle configuration dialog at flutter_thingsboard_app
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.
3 weeks ago
Igor Kulikov
7b1def72dd
feat: AI widget work in the chat: the widget preview check screenshots only the widget in small chunks instead of html2canvas, so the page no longer freezes, and hides icon glyphs it can't draw; widget cards lead the turn summary with the widget's preview image; review cards list newly set fields as plain values and show image fields as thumbnails, old and new; action details show image changes as thumbnails; the status line names the tool that is preparing; the 'Still' prefix starts over whenever the status text changes; edited dashboards and widgets aren't reloaded a second time at the end of a turn
3 weeks ago
Dmytro Pinkevych
c3ffff7a09
IoT Hub: fixed empty optional install form fields leaving ${...} placeholders in the generated device code ( #16753 )
* 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>
3 weeks ago
Maksym Tsymbarov
aa1b0de2e9
Agents: fixed form layouts, back navigation and installing applications without templates ( #16701 )
* 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>
3 weeks ago
Vladyslav Prykhodko
98b677836e
Fixed an extra vertical scrollbar in audit log and event details when the content has a long line ( #16754 )
* 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
3 weeks ago
Maksym Tsymbarov
cec1c6054c
Fixed truncated status key label in LED indicator widget settings ( #16708 )
* 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>
3 weeks ago
Maksym Tsymbarov
a9e94fc7f9
Fixed calculated field reprocessing progress percentage not matching the progress bar ( #16720 )
* 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>
3 weeks ago
Viacheslav Klimov
91891821a5
Merge pull request #16748 from ShvaykaD/fix/lts-4.4/integration-string-identifiers-saved-as-strings
Fixed TTN, TTI, ChirpStack, LORIOT and ThingPark integrations saving device identifiers such as DevAddr and EUI as numbers and dropping leading zeros
3 weeks ago
dshvaika
5334673c6b
Integration uplinks: the type-cast-disabled keys are read and written on the message
3 weeks ago
Igor Kulikov
8f71fd5d5a
fix: code in AI action details is highlighted by language: HTML templates and SVG as markup, CSS with selectors, properties and values, forms and configuration as JSON
3 weeks ago
Igor Kulikov
8f26eacc6d
feat: AI assistant for the widgets library: Configure with AI opens the widget editor with an empty unsaved widget and the chat, and the editor switches to the widget once the assistant creates it; the editor sends its unsaved changes with each message and reloads after the assistant saves; check_widget runs the saved widget in a hidden preview and returns errors and a screenshot; views and welcome examples for widgets, bundles and a new widget; labels, details and review fields for the widget tools; the widget types table and the bundle widgets page reload after the assistant's changes; the chat shows what the model is thinking about while it works
3 weeks ago
dshvaika
ff9d2db9f8
JsonConverter: attributesFromMsg javadoc names both sources of the keys
3 weeks ago
dshvaika
8b9f23c1cb
Integration uplinks: the type-cast-disabled keys live in JsonConverter
3 weeks ago