Commit graph

13 commits

Author SHA1 Message Date
4e1a339432
working 2025-12-26 19:21:34 +01:00
63a4b0f8a2
Add translation validation git hook
- Create validate-translations.js script to check all translation keys exist in all locales
- Add translation validation to pre-commit hook
- Validates that es, en, ca translation files have matching keys
- Blocks commits if translations are missing or inconsistent
- Prevents incomplete translations from being committed
2025-12-26 11:58:09 +01:00
139a5fbef3
parallel tests 2025-12-25 00:48:22 +01:00
c89e0312fa
Phase 0.3: Update E2E tests for cleanup
- Delete counter.spec.ts and random-jobs.spec.ts
- Rewrite permissions.spec.ts for new permission structure
- Update scripts/e2e.sh: remove worker.py execution
- Update generated api.ts types
2025-12-22 18:13:24 +01:00
b33e5e425a
Add trap for cleanup in e2e.sh script
- Added cleanup function to kill background processes
- Trap on EXIT ensures cleanup happens on normal exit, errors, or Ctrl+C
- Prevents orphaned backend/worker processes if script is interrupted
2025-12-21 23:17:17 +01:00
7ec987c78d
Phase 6: E2E Test
- Update scripts/e2e.sh to start worker alongside backend
- Create frontend/e2e/random-jobs.spec.ts with 3 tests:
  - Counter increment creates random job outcome visible to admin
  - Admin can view empty random jobs list
  - Regular user cannot access random jobs page
2025-12-21 23:00:54 +01:00
74ed6f0c11
Revert to local timezone display for user-facing times
- Changed formatTime back to use toLocaleTimeString (local time)
- Changed formatDateTime back to use toLocaleString (local time)
- App now displays all times in user's local timezone
- Backend still stores times in UTC, frontend converts for display
2025-12-21 18:20:22 +01:00
d3638e2e69
implemented 2025-12-20 23:06:05 +01:00
a56a4c076a
first implementation 2025-12-20 22:18:14 +01:00
23049da55a
first round of review 2025-12-20 11:43:32 +01:00
b173b47925
tests passing 2025-12-18 23:33:32 +01:00
da5a0d03eb
first round of review 2025-12-18 22:24:46 +01:00
0995e1cc77
with some tests 2025-12-18 21:48:41 +01:00