Skip to content

Commit c09a0ea

Browse files
authored
Merge branch 'dev' into improvement/FRM/allow-blob-img-src
2 parents 1ebc2c5 + d53f173 commit c09a0ea

12 files changed

Lines changed: 126 additions & 88 deletions

File tree

Control/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Control/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"nock": "^15.0.0",
4747
"nyc": "^17.1.0",
4848
"proxyquire": "^2.1.3",
49-
"puppeteer": "^24.32.1",
49+
"puppeteer": "^24.33.0",
5050
"sinon": "21.0.0",
5151
"supertest": "7.1.0"
5252
},

InfoLogger/package-lock.json

Lines changed: 31 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

InfoLogger/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"@eslint/js": "^9.39.1",
3838
"@stylistic/eslint-plugin": "^5.6.1",
3939
"eslint": "^9.39.1",
40-
"eslint-plugin-jsdoc": "^61.4.1",
40+
"eslint-plugin-jsdoc": "^61.5.0",
4141
"globals": "^16.5.0",
4242
"mocha": "^11.7.0",
4343
"nyc": "^17.1.0",
44-
"puppeteer": "^24.31.0",
44+
"puppeteer": "^24.33.0",
4545
"sinon": "^21.0.0"
4646
},
4747
"bundleDependencies": [

QualityControl/lib/config/configProvider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import { LogManager } from '@aliceo2/web-ui';
1717
import { realpath } from 'node:fs/promises';
1818
import { dirname, join } from 'path';
19-
import { fileURLToPath } from 'url';
19+
import { fileURLToPath, pathToFileURL } from 'url';
2020

2121
const logger = LogManager.getLogger(`${process.env.npm_config_log_label ?? 'qcg'}/config`);
2222

@@ -27,7 +27,7 @@ let configFilePath = _getConfigurationFilePath();
2727

2828
try {
2929
configFilePath = await realpath(configFilePath);
30-
({ config } = await import(configFilePath));
30+
({ config } = await import(pathToFileURL(configFilePath).href));
3131

3232
logger.info(`Configuration file successfully read from: "${configFilePath}"`);
3333
} catch (err) {

QualityControl/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

QualityControl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"eslint-plugin-jsdoc": "^61.5.0",
5555
"globals": "^16.5.0",
5656
"nock": "^15.0.0",
57-
"puppeteer": "^24.31.0",
57+
"puppeteer": "^24.33.0",
5858
"sequelize-cli": "^6.6.2",
5959
"sinon": "^21.0.0",
6060
"supertest": "^7.1.0"

QualityControl/public/app.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,35 @@
155155
.cursor-pointer {
156156
cursor: pointer;
157157
}
158+
159+
.header-layout {
160+
&.edit {
161+
display: flex;
162+
}
163+
164+
/*
165+
* Hack to center content: `justify-content: center` fails with `overflow-x: auto`
166+
* (see https://stackoverflow.com/questions/62288432/problem-when-using-with-overflow-x-scroll-and-justify-content-center).
167+
* Adding flex: 1 auto-margins on ::before/::after centers the content correctly for scrolling.
168+
*/
169+
&::after,
170+
&::before {
171+
content: '';
172+
flex: 1;
173+
}
174+
}
175+
176+
.header-layout-tabs {
177+
display: flex;
178+
overflow-x: auto;
179+
overflow-y: hidden;
180+
padding-bottom: 2px;
181+
}
182+
183+
.flex-fixed {
184+
flex: 0 0 auto;
185+
}
186+
187+
.whitespace-nowrap {
188+
white-space: nowrap;
189+
}

QualityControl/public/common/header.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ import { filtersPanel } from './filters/filterViews.js';
3232
*/
3333
export default (model) => {
3434
const specific = headerSpecific(model) || {};
35-
const { centerCol, rightCol } = specific;
35+
const { centerCol, rightCol, subRow } = specific;
3636

3737
return h('.flex-col', [
3838
h('.flex-row.p2.items-center', { id: 'qcg-header' }, [
3939
commonHeader(model),
4040
centerCol || h('.flex-grow'),
4141
rightCol || h('.w-25'),
4242
]),
43+
subRow && h('.p2', [subRow]),
4344
filterSpecific(model),
4445
]);
4546
};

0 commit comments

Comments
 (0)