* fix(dashboard): hide the side menu toggle in the mobile app
A dashboard with both the dashboard toolbar and the main toolbar hidden shows a floating menu button at phone width that toggles the side navigation. In the mobile app the page runs in forced fullscreen, where the side navigation is disabled, so the button did nothing and covered the start of the first widget title. The app has its own navigation, so the button is no longer rendered there.
* fix(dashboard): visible toolbar icons in mobile app with primary shell
In the mobile app the dashboard toolbar is drawn on a white background. With the primary application shell the toolbar text colour is the primary contrast colour, which is white for dark palettes, so the time window and other toolbar icons were white on white. The dashboard toolbar now uses the light shell colours in the mobile app regardless of the selected application shell.
* Restamp license headers flagged by check-license-headers.sh
---------
Co-authored-by: Artem Babak <ababak@thingsboard.io>
- Make TbAbstractSubCtx.stop() final and move cancellation into a
protected onStop() hook, so subclasses cannot cancel outside the
lifecycle lock.
- Guard doFetchAlarms() instead of fetchAlarms(), so the refresh path
through cleanupOldAlarms() is covered too.
- Cancel dynamic-value subscriptions when an alarm count context stops.
- Make the stop-waits-for-registration test deterministic by waiting
for the stopper to queue on the lifecycle lock.
A subscription command can register subscriptions after its context was
stopped by a concurrent session cleanup, or create a context after the
session was already removed. The registrations then outlive the session
and keep answering alarm updates with queries whose results are dropped.
- Serialize TbAbstractSubCtx.stop() with subscription registration through
a lifecycle lock; registerSubscription() refuses stopped contexts and
sessions unknown to the websocket service.
- Route all context-owned addSubscription calls through registerSubscription().
- Skip alarm fetches on stopped contexts and ignore alarm and entity data
commands for sessions that are no longer registered.
- Add WebSocketService.hasSession().
- Unit tests for the registration guard and the stop/registration ordering.
* Changes for reporting tables
* Added min and step to border width
* Removed borderRadius - not supported in peropting library
* Returned background color
* Style changes
* Changes after review
* Fixes after review
* Set min value for DOUBLE border type
* Enforce double-border 3 px minimum at config time, not render time
* Treat double border width as single-line thickness instead of enforcing a 3px minimum
Width now means the thickness of each line; a double border is rendered
as two such lines with an equal gap (CSS width = width x 3), matching how
Word stores double border widths. This removes the dynamic-form validator
extension and the divider min-width validation, and shows a hint only
when Double is selected.
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
Migrations started from @PostConstruct ran before Spring registered
@TransactionalEventListener methods, so cache evict events published by
migrations were dropped. With a Redis cache the stale entry survived until
its TTL (e.g. the internal Trendz API key kept its pre-migration
permissions for up to 24 hours).
Start the patch applier on ApplicationReadyEvent with the new
AfterStartUp.SYSTEM_PATCH order (0), so it is still submitted before
partitions, discovery, core and actor startup.
* Fixed inconsistent spacing between tabs and content when switching tabs on Settings and Mobile center pages
* PR comments fixes
* Unified tab-to-content spacing via shared tb-content-card class and spacing variables
* Fixed PR comments
* Fixed license headers
* Fixed License page key card width and spacing
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>