diff --git a/debian/changelog b/debian/changelog index 6c850526f..7dc6a8ad0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +wb-mqtt-homeui (2.250.4) stable; urgency=medium + + * DALI: live device controls on device, group and bus pages — a featured strip + of the controls one reaches for (level, colour, temperature, on/off), each + named by its quantity and showing the value read back from the device + beside it, with the rest behind "All controls"; the page toolbar names what + is open, which the hidden tree no longer does on mobile, and its buttons + wrap on phones + + -- Wiren Board Robot Mon, 31 Aug 2026 20:40:00 +0300 + wb-mqtt-homeui (2.249.3) stable; urgency=medium * Fix autologin being switched off when the autologin user is edited diff --git a/frontend/src/components/collapsible-panel/collapsible-panel-toggle.test.tsx b/frontend/src/components/collapsible-panel/collapsible-panel-toggle.test.tsx new file mode 100644 index 000000000..c16bef26e --- /dev/null +++ b/frontend/src/components/collapsible-panel/collapsible-panel-toggle.test.tsx @@ -0,0 +1,20 @@ +// @vitest-environment happy-dom +import { fireEvent, render, screen } from '@testing-library/react'; +import { CollapsiblePanel } from './collapsible-panel'; + +describe('CollapsiblePanel: the whole title row toggles, exactly once per click', () => { + it('clicking the title text collapses and expands the body', () => { + render(
body
); + expect(screen.getByText('body')).toBeTruthy(); + fireEvent.click(screen.getByText('Broadcast settings')); + expect(screen.queryByText('body')).toBeNull(); + fireEvent.click(screen.getByText('Broadcast settings')); + expect(screen.getByText('body')).toBeTruthy(); + }); + + it('the toggle row is not a