fix: Reduce visual clutter on startup (#2709)

- Closes: #2584
This commit is contained in:
Dermot Duffy
2026-08-23 12:25:44 -07:00
committed by GitHub
parent 03d9df8282
commit e6b93d53e9
8 changed files with 59 additions and 66 deletions
@@ -21,6 +21,14 @@ describe('createMediaNotification', () => {
expect(notification.heading?.icon).toBe('mdi:alert-circle');
});
it('should omit the heading icon when it is null', () => {
const notification = createMediaNotification({
icon: null,
title: 'Awaiting live view',
});
expect(notification.heading?.icon).toBeUndefined();
});
it('should append the camera title to the heading', () => {
const notification = createMediaNotification({
icon: 'mdi:alert-circle',