Release 2.19.3
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m44s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 32s

This commit is contained in:
lzstealth committed 2026-10-25 01:37:40 +00:00
1 parent 55ee5dc366
commit 2e603caeb6
19 files changed
+351 -28

No files matched your search

+9 -3
View File
@@ -170,7 +170,7 @@ test('API editor preview resolves zero-based indexed placeholders from sorted re
assert.doesNotMatch(preview, /Cam/);
});
test('API image bounds guide is limited to the small preview and hidden in the popup', () => {
test('image and icon placeholder bounds are hidden in the popup but remain in the editor', () => {
const editor = loadApiEditor();
const preview = editor.renderPreview({ id: 23, region_key: 'apiRegion', fontFamily: 'Arial', fontSize: 20, fontColor: '#000000' }, {
source_id: 11,
@@ -181,10 +181,16 @@ test('API image bounds guide is limited to the small preview and hidden in the p
existingContent: {}
});
const popupStyles = fs.readFileSync(path.join(__dirname, '../src/web/views/signage/slides/popup-preview.hbs'), 'utf8');
const rssSource = fs.readFileSync(path.join(__dirname, '../src/web/public/js/regions/type/rss.js'), 'utf8');
const weatherSource = fs.readFileSync(path.join(__dirname, '../src/web/public/js/regions/type/weather.js'), 'utf8');
const weatherIconsSource = fs.readFileSync(path.join(__dirname, '../src/web/public/js/shared/weather-icons.js'), 'utf8');
assert.match(preview, /class="api-image-placeholder-bounds"/);
assert.match(preview, /class="api-image-placeholder-bounds slide-preview-image-placeholder-bounds"/);
assert.match(preview, /border:1px dashed/);
assert.match(popupStyles, /#popup-preview-canvas \.api-image-placeholder-bounds\s*\{\s*border:\s*0 !important;/);
assert.match(rssSource, /class="slide-preview-image-placeholder-bounds"/);
assert.match(weatherSource, /class="slide-preview-image-placeholder-bounds"/);
assert.match(weatherIconsSource, /class="slide-preview-image-placeholder-bounds"/);
assert.match(popupStyles, /#popup-preview-canvas \.slide-preview-image-placeholder-bounds,[\s\S]*?#popup-preview-canvas \.api-image-placeholder-bounds\s*\{\s*border:\s*0 !important;[\s\S]*?outline:\s*0 !important;[\s\S]*?box-shadow:\s*none !important;/);
});
test('API region plain placeholders work with a single object response', () => {