Add sync error logging, extend error flash, fix unload saves

- Log workforce sync errors to backend stdout so they appear in docker logs
- Extend error flash from 5s to 15s so errors are readable
- Replace sendBeacon (POST-only) with keepalive fetch (PUT) on unload —
  sendBeacon was hitting 404s on all three unload saves

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-22 14:19:38 +00:00
parent c7066521ff
commit 18e24efbeb
14485 changed files with 1836116 additions and 33 deletions

75
frontend/node_modules/smob/package.json generated vendored Normal file
View file

@ -0,0 +1,75 @@
{
"name": "smob",
"version": "1.6.2",
"description": "Zero dependency library to safe merge objects.",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"build:types": "tsc",
"build:js": "tsdown",
"build": "npm run build:types && npm run build:js",
"lint": "eslint",
"lint:fix": "npm run lint -- --fix",
"test": "vitest --config test/vitest.config.ts --run",
"test:coverage": "vitest --config test/vitest.config.ts --run --coverage",
"prepare": "husky"
},
"author": {
"name": "Peter Placzek",
"email": "contact@tada5hi.net",
"url": "https://github.com/tada5hi"
},
"license": "MIT",
"keywords": [
"object",
"object-merge",
"merge",
"safe",
"deep-merge",
"merge-deep"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Tada5hi/smob.git"
},
"bugs": {
"url": "https://github.com/Tada5hi/smob/issues"
},
"homepage": "https://github.com/Tada5hi/smob#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@tada5hi/commitlint-config": "^1.3.1",
"@tada5hi/eslint-config": "^2.3.0",
"@tada5hi/tsconfig": "^0.7.2",
"@vitest/coverage-v8": "^4.1.5",
"eslint": "^10.3.0",
"husky": "^9.1.7",
"tsdown": "^0.22.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.59.2",
"vitest": "^4.1.5"
}
}