Mirror van het frontend-project van het dashboard van Internet.nl
  • Vue 75%
  • JavaScript 20.9%
  • Python 1.8%
  • TypeScript 1.1%
  • HTML 0.5%
  • Other 0.6%
Find a file
Elger Jonker 6b9ab64844
Merge pull request #102 from internetstandards/520
show ems fields by default in the UI
2026-06-30 13:02:45 +02:00
.github/workflows add missing github build 2024-12-11 11:09:53 +01:00
misc Fix frontend internal webserver for routing non-# urls 2024-12-11 19:30:29 +01:00
public fix support for old links, fix logout button 2025-03-26 18:07:04 +01:00
src show ems fields by default in the UI 2026-06-16 16:05:20 +02:00
tools/convert_translations update translations 2026-06-06 21:06:59 +02:00
*.dt.ts use pnpm instead of npm to improve development qol 2025-11-18 17:11:37 +01:00
.dockerignore update dependencies, remove vue-cli 2026-06-06 21:07:37 +02:00
.editorconfig upgrade frontend stack 2024-12-11 11:06:11 +01:00
.env.deploy upgrade frontend stack 2024-12-11 11:06:11 +01:00
.env.development upgrade frontend stack 2024-12-11 11:06:11 +01:00
.env.development.example upgrade frontend stack 2024-12-11 11:06:11 +01:00
.envrc Add development environment setup 2026-04-16 13:39:19 +02:00
.gitignore Add development environment setup 2026-04-16 13:39:19 +02:00
.gitlab-ci.yml upgrade frontend stack 2024-12-11 11:06:11 +01:00
.prettierrc.json upgrade frontend stack 2024-12-11 11:06:11 +01:00
agents.md [wip] support allauth headless authentication based on example app 2026-02-23 17:59:28 +01:00
components.d.ts update dependencies, remove vue-cli 2026-06-06 21:07:37 +02:00
Dockerfile Merge pull request #91 from internetstandards/501 2025-11-18 17:59:22 +01:00
env.d.ts upgrade frontend stack 2024-12-11 11:06:11 +01:00
eslint.config.js upgrade frontend stack 2024-12-11 11:06:11 +01:00
flake.lock Add development environment setup 2026-04-16 13:39:19 +02:00
flake.nix Add development environment setup 2026-04-16 13:39:19 +02:00
index.html upgrade frontend stack 2024-12-11 11:06:11 +01:00
jsconfig.json upgrade frontend stack 2024-12-11 11:06:11 +01:00
LICENSE add license 2021-07-29 13:35:28 +02:00
Makefile update dependencies, remove vue-cli 2026-06-06 21:07:37 +02:00
package.json update dependencies, remove vue-cli 2026-06-06 21:07:37 +02:00
pnpm-lock.yaml update dependencies, remove vue-cli 2026-06-06 21:07:37 +02:00
README.md update translations 2026-06-06 21:06:59 +02:00
vite.config.ts upgrade frontend stack 2024-12-11 11:06:11 +01:00
vitest.config.ts upgrade frontend stack 2024-12-11 11:06:11 +01:00

dashboard_frontend

This template should help get you started developing with Vue 3 in Vite.

Project Setup

npm install

Compile and Hot-Reload for Development

make run

Type-Check, Compile and Minify for Production

make build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint

Translations

Translations are maintained by babeledit in the locales directory. A mapping.md is present that helps mapping from the merged-to-js internet.nl repository values to dashboard metrics.

Use the conversion tool python3 tools/convert_translations/main.py to convert the .po stuff from the dashboard backend to the frontend. This will overwrite the keys as needed and add new fields.

The new files are stored with a _updated postfix for further inspection. The files can be used to overwrite the original en.json file. Doing so will also add the files to babeledit for auto-translation. So open the files with babeledit afterwards and pre-translate them.

Deployment

On staging

/usr/local/bin/dashboard-frontend-update

For live

1: make promote_staging_to_live on this repo 2: on the server: /usr/local/bin/dashboard-frontend-update

Customize configuration

See Configuration Reference.

Deployment:

Step 1: make new image from this repository

make image make push_image

Step 2: on the server run the update

/usr/local/bin/dashboard-frontend-update

Testing a build locally:

make build
cd dist && python -m http.server 7777