Files
nowdatabase/frontend
karilint 8c1f809a19 Optimize linting performance for faster development workflow
Performance Improvements:
- Add ESLint --cache flags to all lint commands (frontend, backend, cypress)
- Frontend linting: 80s -> 2.5s on subsequent runs (97% improvement)
- Backend and Cypress linting also benefit from caching

Configuration Changes:
- Update frontend/package.json: Add --cache flag to lint script
- Update backend/package.json: Add --cache flag to lint script
- Update package.json: Add --cache flag to lint:cypress script
- Add lint:staged script preparation (npx lint-staged)
- Update pre-commit hook to use optimized lint:staged approach
- Add lint-staged configuration for changed-files-only linting

Resolves: Slow pre-commit hooks that caused development delays
Impact: Dramatic reduction in linting time, especially on repeated runs
2026-03-30 18:11:33 +03:00
..
2026-03-18 09:49:02 +02:00
2026-03-18 11:01:14 +02:00
2026-03-18 10:24:07 +02:00
2025-12-12 13:30:06 +02:00

Frontend QA Notes

Regression Checklist

Update log return navigation

Ensure the "Return to table" button in detail views respects the originating Update log context.

Manual verification

  1. Launch the full stack (API + frontend) and seed data containing Update log entries.
  2. In the UI, open any entity detail panel (e.g., Locality → Updates → Details).
  3. Follow a "References → View" link; the reference detail page should render.
  4. Press Return to table and confirm you are navigated back to the originating Update log tab, not the Localities table.

Automated coverage

  • Unit/regression test: npx jest --runTestsByPath frontend/tests/updateLogNavigation.test.tsx
  • End-to-end flow: npx cypress run --spec cypress/e2e/updateLogNavigation.cy.ts (requires the application and database running locally).

Record any deviations in the QA log and link failures to the associated test artifacts.

Routing & Unsaved Changes

For guidance on the data router setup and enabling unsaved-change prompts for new forms, see docs/routing.md.