Add onboarding weather and template gradients
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m53s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 34s

This commit is contained in:
2026-08-28 20:05:23 +01:00
parent aa07a78912
commit 3960931ebe
80 changed files with 12750 additions and 519 deletions
+4 -9
View File
@@ -7,7 +7,7 @@ require('../src/common');
const renderDashboardPage = require('../src/web/routes/signage/dashboard');
test('dashboard onboarding link uses the player base url', () => {
test('dashboard pairing link uses the clients pairing permission', () => {
const html = renderDashboardPage(
{
screens: [
@@ -22,11 +22,11 @@ test('dashboard onboarding link uses the player base url', () => {
connectedPlayersCount: 0
},
'',
{ id: 1, permissions: ['screens.read', 'clients.read'] }
{ id: 1, permissions: ['screens.read', 'clients.read', 'pairing.allow'] }
);
assert.match(html, /href="http:\/\/player\.local"/);
assert.doesNotMatch(html, /http:\/\/player\.local\//);
assert.match(html, /href="\/pairing"/);
assert.doesNotMatch(html, /http:\/\/player\.local/);
});
test('dashboard screen snapshot omits player links and duplicate connection counts', () => {
@@ -200,7 +200,6 @@ test('dashboard move client button opens the move modal for the selected row', (
addEventListener() {}
};
const connectionInput = { value: '' };
const deviceInput = { value: '' };
const clientNameInput = { value: '' };
const playerBaseUrlInput = { value: '' };
const targetSelect = { value: 'alpha' };
@@ -263,9 +262,6 @@ test('dashboard move client button opens the move modal for the selected row', (
if (selector === '[data-client-move-connection-id]') {
return connectionInput;
}
if (selector === '[data-client-move-device-id]') {
return deviceInput;
}
if (selector === '[data-client-move-client-name]') {
return clientNameInput;
}
@@ -338,7 +334,6 @@ test('dashboard move client button opens the move modal for the selected row', (
assert.equal(targetSelect.options[0].disabled, true);
assert.equal(targetSelect.options[1].disabled, false);
assert.equal(connectionInput.value, 'conn-123');
assert.equal(deviceInput.value, 'device-123');
assert.equal(clientNameInput.value, 'Lobby Client');
assert.equal(playerBaseUrlInput.value, 'http://player.local');
});