starting new job...
→ running command: cd "/etc/byggsteg/job-clone//symbanta-dashboard/trunk" && git reset --hard && git pull
HEAD is now at ecb24fa feat: Add testing
From https://codeberg.org/jjba23/symbanta-dashboard
ecb24fa..f1b7182 trunk -> origin/trunk
* [new tag] v0.4.0 -> v0.4.0
Updating ecb24fa..f1b7182
Fast-forward
.env.development | 11 +
README.org | 444 +++++++++++++++++++++++++--
docs/demo.gif | Bin 0 -> 594762 bytes
docs/screenshot-dark.png | Bin 0 -> 140933 bytes
docs/screenshot-light.png | Bin 0 -> 104172 bytes
mock-api/fixtures.ts | 414 +++++++++++++++++++++++++
mock-api/http.ts | 134 +++++++++
mock-api/plugin.ts | 83 ++++++
mock-api/routes.test.ts | 426 ++++++++++++++++++++++++++
mock-api/routes.ts | 340 +++++++++++++++++++++
mock-api/server.ts | 83 ++++++
package-lock.json | 11 +
package.json | 4 +
src/App.tsx | 74 +++--
src/ConsoleLogs.tsx | 11 +-
src/DashboardToolbar.tsx | 72 ++++-
src/DomainSwitcher.tsx | 2 +-
src/EventTypesPanel.tsx | 4 +-
src/Footer.tsx | 8 +-
src/Header.tsx | 16 +-
src/LoginPage.tsx | 12 +-
src/StatsDashboard.tsx | 4 +-
src/TimeSeries.tsx | 198 +++++++-----
src/UserDetails.tsx | 9 +-
src/a11y/ContrastContext.test.tsx | 125 ++++++++
src/a11y/ContrastContext.tsx | 89 ++++++
src/a11y/ContrastToggle.tsx | 53 ++++
src/a11y/SkipLink.tsx | 40 +++
src/a11y/axe.ts | 62 ++++
src/a11y/colorUsage.test.ts | 102 +++++++
src/a11y/contrast.test.ts | 146 +++++++++
src/a11y/contrast.ts | 237 +++++++++++++++
src/a11y/dashboard.a11y.test.tsx | 197 ++++++++++++
src/a11y/domAudit.ts | 374 +++++++++++++++++++++++
src/a11y/tokens.test.ts | 142 +++++++++
src/a11y/tokens.ts | 581 ++++++++++++++++++++++++++++++++++++
src/a11y/useDocumentTitle.ts | 32 ++
src/a11y/usePrefersReducedMotion.ts | 44 +++
src/api/custom-fetch.test.ts | 53 +++-
src/api/custom-fetch.ts | 29 +-
src/index.css | 522 +++++++++++++++++++++++++++-----
src/test/setup.ts | 29 ++
src/ui.tsx | 49 ++-
tsconfig.app.json | 2 +-
tsconfig.node.json | 9 +-
vite.config.ts | 18 +-
46 files changed, 5025 insertions(+), 270 deletions(-)
create mode 100644 .env.development
create mode 100644 docs/demo.gif
create mode 100644 docs/screenshot-dark.png
create mode 100644 docs/screenshot-light.png
create mode 100644 mock-api/fixtures.ts
create mode 100644 mock-api/http.ts
create mode 100644 mock-api/plugin.ts
create mode 100644 mock-api/routes.test.ts
create mode 100644 mock-api/routes.ts
create mode 100644 mock-api/server.ts
create mode 100644 src/a11y/ContrastContext.test.tsx
create mode 100644 src/a11y/ContrastContext.tsx
create mode 100644 src/a11y/ContrastToggle.tsx
create mode 100644 src/a11y/SkipLink.tsx
create mode 100644 src/a11y/axe.ts
create mode 100644 src/a11y/colorUsage.test.ts
create mode 100644 src/a11y/contrast.test.ts
create mode 100644 src/a11y/contrast.ts
create mode 100644 src/a11y/dashboard.a11y.test.tsx
create mode 100644 src/a11y/domAudit.ts
create mode 100644 src/a11y/tokens.test.ts
create mode 100644 src/a11y/tokens.ts
create mode 100644 src/a11y/useDocumentTitle.ts
create mode 100644 src/a11y/usePrefersReducedMotion.ts
→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && uname -a
Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && git log --name-status HEAD^..HEAD
commit f1b718239b88e7ed064a7e5832987a4cd0641641
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Thu Oct 22 14:34:51 2026 +0200
feat: Project devex and Golden gate look
A .env.development
M README.org
A docs/demo.gif
A docs/screenshot-dark.png
A docs/screenshot-light.png
A mock-api/fixtures.ts
A mock-api/http.ts
A mock-api/plugin.ts
A mock-api/routes.test.ts
A mock-api/routes.ts
A mock-api/server.ts
M package-lock.json
M package.json
M src/App.tsx
M src/ConsoleLogs.tsx
M src/DashboardToolbar.tsx
M src/DomainSwitcher.tsx
M src/EventTypesPanel.tsx
M src/Footer.tsx
M src/Header.tsx
M src/LoginPage.tsx
M src/StatsDashboard.tsx
M src/TimeSeries.tsx
M src/UserDetails.tsx
A src/a11y/ContrastContext.test.tsx
A src/a11y/ContrastContext.tsx
A src/a11y/ContrastToggle.tsx
A src/a11y/SkipLink.tsx
A src/a11y/axe.ts
A src/a11y/colorUsage.test.ts
A src/a11y/contrast.test.ts
A src/a11y/contrast.ts
A src/a11y/dashboard.a11y.test.tsx
A src/a11y/domAudit.ts
A src/a11y/tokens.test.ts
A src/a11y/tokens.ts
A src/a11y/useDocumentTitle.ts
A src/a11y/usePrefersReducedMotion.ts
M src/api/custom-fetch.test.ts
M src/api/custom-fetch.ts
M src/index.css
M src/test/setup.ts
M src/ui.tsx
M tsconfig.app.json
M tsconfig.node.json
M vite.config.ts
→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && sudo maak deploy
⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version: 11.17.0
added 1 package, and audited 359 packages in 2s
90 packages are looking for funding
run `npm fund` for details
9 vulnerabilities (1 moderate, 6 high, 2 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
> symbanta-dashboard@0.0.0 test
> vitest run
RUN v5.0.5 /etc/byggsteg/job-clone/symbanta-dashboard/trunk
✓ mock-api/routes.test.ts (34 tests) 48ms
✓ src/StatsTables.test.tsx (15 tests) 418ms
✓ src/ConsoleLogs.test.tsx (9 tests) 393ms
✓ src/ui.test.tsx (17 tests) 418ms
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > exposes exactly one h1, one main landmark and labelled panels
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > provides a keyboard skip link that targets the main landmark
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > offers a screen-reader table alternative for the traffic chart
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > makes the scrollable tables reachable and named
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > announces refresh progress through a polite live region
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > passes the structural audit
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > passes axe-core WCAG 2.1 A/AA
The width(0) and height(0) of chart should be greater than 0,
please check the style of container, or the props width(100%) and height(100%),
or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
height and width.
✓ src/a11y/dashboard.a11y.test.tsx (7 tests) 1537ms
✓ dashboard accessibility (7)
✓ exposes exactly one h1, one main landmark and labelled panels 368ms
✓ passes axe-core WCAG 2.1 A/AA 538ms
✓ src/a11y/tokens.test.ts (10 tests) 18ms
✓ src/StatsDashboard.test.tsx (8 tests) 291ms
✓ src/ThemeContext.test.tsx (10 tests) 326ms
✓ src/a11y/contrast.test.ts (17 tests) 18ms
✓ src/DomainSwitcher.test.tsx (7 tests) 302ms
✓ src/api/custom-fetch.test.ts (13 tests) 22ms
✓ src/a11y/ContrastContext.test.tsx (7 tests) 374ms
✓ src/a11y/colorUsage.test.ts (3 tests) 11ms
✓ src/PeriodContext.test.tsx (5 tests) 255ms
✓ src/Prelude.test.ts (21 tests) 35ms
Test Files 15 passed (15)
Tests 183 passed (183)
Start at 14:35:46
Duration 20.33s (environment 53%, tests 25%, setup 10%, import 7%, transform 5%)
Environment jsdom was created 15 times · 9.59s total, 53% of tracked time
create it once per worker with pool: 'vmThreads' (keeps per-file isolation) or isolate: false (shares it across files)
learn more: https://vitest.dev/guide/improving-performance#test-environments
⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version: 11.17.0
up to date, audited 359 packages in 2s
90 packages are looking for funding
run `npm fund` for details
9 vulnerabilities (1 moderate, 6 high, 2 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
> symbanta-dashboard@0.0.0 build
> tsc -b && vite build
vite v8.2.2 building client environment for production...
transforming...
✓ 709 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html 0.80 kB │ gzip: 0.42 kB
dist/assets/index-BAfKlzfH.css 62.43 kB │ gzip: 11.56 kB
dist/assets/index-Bnap2zAw.js 694.25 kB │ gzip: 205.61 kB
[plugin builtin:vite-reporter]
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 1.26s
removed '/srv/symbanta.jointhefreeworld.org/assets/index-BOgbXavE.js'
removed '/srv/symbanta.jointhefreeworld.org/assets/index-D26YYglg.css'
removed directory '/srv/symbanta.jointhefreeworld.org/assets'
removed '/srv/symbanta.jointhefreeworld.org/favicon.svg'
removed '/srv/symbanta.jointhefreeworld.org/icons.svg'
removed '/srv/symbanta.jointhefreeworld.org/index.html'
'dist/assets' -> '/srv/symbanta.jointhefreeworld.org/assets'
'dist/assets/index-Bnap2zAw.js' -> '/srv/symbanta.jointhefreeworld.org/assets/index-Bnap2zAw.js'
'dist/assets/index-BAfKlzfH.css' -> '/srv/symbanta.jointhefreeworld.org/assets/index-BAfKlzfH.css'
'dist/favicon.svg' -> '/srv/symbanta.jointhefreeworld.org/favicon.svg'
'dist/icons.svg' -> '/srv/symbanta.jointhefreeworld.org/icons.svg'
'dist/index.html' -> '/srv/symbanta.jointhefreeworld.org/index.html'
--------------------------------------------------------------
Maak: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm
Executing Maak tasks: deploy
--------------------------------------------------------------
=> Running Maak task: deploy
Deploy the project, refusing to continue when the test suite fails.
Execute command:
nix --extra-experimental-features 'flakes nix-command' develop -c bash -c 'npm install && npm test '
Execute command:
nix --extra-experimental-features 'flakes nix-command' develop -c bash -c 'npm install && npm run build '