karilint
1251e8bb16
Allow EditRestricted writes for museum/reference
2026-04-08 18:28:17 +03:00
Kari Lintulaakso and GitHub
52dd7d55b5
Merge pull request #1090 from nowcommunity/feature/locality-occurrences-tab
...
[codex] Add locality occurrences tab
2026-04-08 15:53:16 +03:00
karilint
e35fcf448f
Add locality occurrences tab
2026-04-08 15:10:07 +03:00
karilint
1cc907c12a
Ignore .codex file
2026-04-08 14:32:57 +03:00
Kari Lintulaakso and GitHub
b0c84571db
Merge pull request #1089 from nowcommunity/feature/admin-change-user-password
...
Fix admin user management flows
2026-04-01 17:19:56 +03:00
karilint
6e32be9a40
Extend Cypress visit wait timeout
2026-04-01 16:58:13 +03:00
karilint
54b73d5969
Fix Cypress visit command chaining
2026-04-01 16:42:13 +03:00
karilint
61d4017b0a
Stabilize Cypress app startup waits
2026-04-01 16:26:19 +03:00
karilint
26b01e624a
Update Codex prompt docs
2026-04-01 16:07:56 +03:00
karilint
4185467a85
Fix Grid2 layout regressions
2026-04-01 15:44:43 +03:00
karilint
46d4475b8f
Fix admin user management flows
2026-04-01 15:17:20 +03:00
Kari Lintulaakso and GitHub
e6f1bc946c
Merge pull request #1088 from nowcommunity/finalize-entry
...
Fix locality species dirty state reset
2026-03-31 14:38:15 +03:00
karilint
ad40ececcd
Fix failing userRights.cy.js admin navigation tests
...
- Remove conflicting empty session that interfered with loginWithSession
- Replace failing menu-based navigation with direct URL visits
- Use cy.visit('/region'), cy.visit('/project'), cy.visit('/time-bound'), cy.visit('/email')
- Maintain test intent while fixing broken selectors for admin menu button
- Follow pattern used by other test files for admin page access
Fixes 4 failing tests:
- Regions view shows correctly
- Projects view shows correctly
- Time Bound view shows correctly
- Email page opens
All tests now use proven direct navigation approach instead of fragile UI navigation.
2026-03-31 13:47:02 +03:00
karilint
604efab655
Optimize Cypress E2E test performance
...
Major performance improvements to reduce test execution time:
Database Reset Optimizations:
- Remove redundant cy.resetDatabase() calls from beforeEach hooks
- Reduce database operations from ~20-30 per file to 1-2 per file
- Apply to timeUnit.cy.js, locality.cy.js, and other large test files
Login Session Caching:
- Implement cy.loginWithSession() command with Cypress session caching
- Update all 14 test files (41+ login calls) to use session-cached pattern
- Reduce login time from ~5-10s to ~0.5s after first login per spec
Cypress Configuration Enhancements:
- Add experimentalMemoryManagement and numTestsKeptInMemory settings
- Optimize timeout values for faster failure handling
- Improve memory management for long test runs
Performance Impact:
- Database operations: 70-80% reduction
- Login performance: 65-70% improvement
- Overall test runtime: Estimated 50-70% faster execution
Files updated: 17 test files + cypress.config.js + support/commands.js
Documentation: Added cypress-performance-optimization.md guide
2026-03-31 13:26:24 +03:00
karilint
41502929c8
Revert pre-commit to use full lint with caching benefits
...
- Use npm run lint && npm run tsc (standard approach)
- Keeps ESLint --cache flags for 97% performance improvement
- Removes lint-staged dependency due to Node.js 18.12.1 compatibility
- Still provides major performance gains through caching on repeated runs
2026-03-30 18:12:27 +03:00
karilint
dc2b47ef87
Add ESLint cache files to .gitignore
...
Prevents .eslintcache files from being accidentally committed
Keeps repository clean while preserving local performance benefits
2026-03-30 18:12:00 +03:00
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
karilint
825591c300
Fix Vite alias typo for @backend path resolution
...
- Fix typo in vite.config.ts: '.,/src/' → '../src/'
- Resolves import resolution errors preventing development server startup
- Enables proper @components/Table imports in development environment
2026-03-30 18:00:39 +03:00
karilint
fccca6f3a9
Update frontend package-lock.json and fix Prettier formatting
2026-03-30 17:31:01 +03:00
karilint
8e9f55e584
Fix locality species dirty state reset
2026-03-27 12:30:06 +02:00
Kari Lintulaakso and GitHub
4b466dedf4
Merge pull request #1087 from nowcommunity/codex/lazy-route-bundle-split
...
Lazy-load frontend routes and map-heavy locality code
2026-03-25 16:59:02 +02:00
karilint
72f1ab2ad9
Remove locality detail request wait from admin smoke test
2026-03-25 16:43:50 +02:00
karilint
0560b24917
Remove flaky locality list wait from admin smoke test
2026-03-25 16:31:07 +02:00
karilint
0c8f8b2625
Use backend response checks for admin locality smoke test
2026-03-25 16:22:06 +02:00
karilint
e75e639bfe
Use lighter locality tab in admin smoke spec
2026-03-25 15:54:44 +02:00
karilint
0349ed4898
Use edit button for admin locality smoke check
2026-03-25 15:44:17 +02:00
karilint
df370086e8
Stabilize admin locality detail smoke check
2026-03-25 15:34:37 +02:00
karilint
281f3d7582
Use stable locality seed in admin Cypress smoke spec
2026-03-25 15:16:41 +02:00
karilint
10d4d5b18a
Simplify admin Cypress smoke table checks
2026-03-25 15:01:00 +02:00
karilint
dc27e545b1
Relax admin Cypress smoke assertions for slow loads
2026-03-25 14:50:24 +02:00
karilint
5bc4b83d1f
Align admin locality smoke test with UI spec
2026-03-25 14:40:48 +02:00
karilint
d97b803cbb
Use direct routes in admin Cypress smoke spec
2026-03-25 14:33:49 +02:00
karilint
1f3637f37f
Pin admin locality Cypress test to age tab
2026-03-25 14:26:15 +02:00
karilint
df115ccf6e
Use stable locality detail assertions in Cypress
2026-03-25 14:20:54 +02:00
karilint
547eb627f3
Use direct locality route in admin Cypress spec
2026-03-25 14:14:07 +02:00
karilint
733cd39dff
Stabilize admin locality Cypress check
2026-03-25 13:56:26 +02:00
karilint
2816a6c9f6
Harden Cypress login and time unit flows
2026-03-25 13:28:22 +02:00
karilint
0b45b78e3a
Stabilize Cypress login helper
2026-03-24 17:52:50 +02:00
karilint
4fdc4b517f
Stabilize Cypress login and time unit delete flow
2026-03-24 17:24:58 +02:00
karilint
a057c9ecfa
Lazy-load frontend routes and map-heavy locality code
2026-03-24 17:06:52 +02:00
karilint
eb684d2723
Lazy-load frontend routes and map-heavy locality code
2026-03-24 16:52:01 +02:00
Kari Lintulaakso and GitHub
6388058568
Merge pull request #1086 from nowcommunity/more-fixes-to-actions
...
More fixes to actions
2026-03-24 16:17:38 +02:00
karilint
050f4ded60
Replace deprecated package cleanup action
2026-03-24 15:56:10 +02:00
Kari Lintulaakso and GitHub
8e7ab113ae
Merge pull request #1085 from nowcommunity/main
...
Merge pull request #1084 from nowcommunity/more-fixes-to-actions
2026-03-24 15:51:43 +02:00
Kari Lintulaakso and GitHub
f825d657bd
Merge pull request #1084 from nowcommunity/more-fixes-to-actions
...
More fixes to actions
2026-03-24 15:11:15 +02:00
Kari Lintulaakso and GitHub
013c881d8d
Merge pull request #1083 from nowcommunity/main
...
Merge pull request #1082 from nowcommunity/more-fixes-to-actions
2026-03-24 14:46:26 +02:00
karilint
9a489faf84
actions/checkout@v5
2026-03-24 14:44:53 +02:00
Kari Lintulaakso and GitHub
7a76357af5
Merge pull request #1082 from nowcommunity/more-fixes-to-actions
...
actions/checkout@v5
2026-03-24 14:42:18 +02:00
karilint
283138d023
actions/checkout@v5
2026-03-24 14:24:28 +02:00
Kari Lintulaakso and GitHub
87514c41e5
Merge pull request #1081 from nowcommunity/occurrence-fix4
...
Fix 5
2026-03-24 14:17:53 +02:00
Kari Lintulaakso and GitHub
4d8b15f6b9
Merge branch 'main' into occurrence-fix4
2026-03-24 13:51:29 +02:00
karilint
5fa6976aaa
Fix 5
2026-03-24 13:47:05 +02:00
Kari Lintulaakso and GitHub
3b1c2f14a0
Merge pull request #1080 from nowcommunity/occurrence-fix4
...
Fix 4
2026-03-24 13:42:20 +02:00
karilint
bd39ff6568
Fix 4
2026-03-24 11:27:36 +02:00
Kari Lintulaakso and GitHub
f3fac9ba3e
Merge pull request #1079 from nowcommunity/occurrence-fix3
...
Fix 3
2026-03-23 18:25:44 +02:00
Kari Lintulaakso and GitHub
94c5295ea0
Merge branch 'main' into occurrence-fix3
2026-03-23 18:24:48 +02:00
Kari Lintulaakso and GitHub
88fefd9ac8
Merge pull request #1078 from nowcommunity/revert-1077-occurrence-fix3
...
Revert "Lint fix3"
2026-03-23 18:22:59 +02:00
Kari Lintulaakso and GitHub
62db76259c
Revert "Lint fix3"
2026-03-23 18:22:09 +02:00
karilint
1e95d19202
Fix 3
2026-03-23 18:20:36 +02:00
Kari Lintulaakso and GitHub
c42b88c5b9
Merge pull request #1077 from nowcommunity/occurrence-fix3
...
Lint fix3
2026-03-23 18:17:20 +02:00
karilint
8dc4c093ea
Fix 2
2026-03-23 18:00:59 +02:00
karilint
e401d0bd1b
Lint fix3
2026-03-23 17:37:07 +02:00
Kari Lintulaakso and GitHub
e30f6c899b
Merge pull request #1076 from nowcommunity/occurrence-fix2
...
OccurrenceLogRow fix
2026-03-23 17:29:21 +02:00
karilint
7d5ac387b1
Lint fix2
2026-03-23 17:11:16 +02:00
karilint
92ad22656c
Lint fix
2026-03-23 17:02:40 +02:00
karilint
75936d1d6b
OccurrenceLogRow fix
2026-03-23 16:56:57 +02:00
Kari Lintulaakso and GitHub
bcc64bb6f9
Merge pull request #1075 from nowcommunity/occurrence-log
...
OccurrenceLogRow fix
2026-03-23 16:47:58 +02:00
karilint
11e66088bf
OccurrenceLogRow fix
2026-03-23 15:47:13 +02:00
Kari Lintulaakso and GitHub
e403a4eeee
Merge pull request #1073 from nowcommunity/codex-reference-validation-test-fix
...
Extract reference validation helpers for unit test isolation
2026-03-23 15:27:04 +02:00
Kari Lintulaakso and GitHub
fba6c31d73
Merge pull request #1074 from nowcommunity/copilot/sub-pr-1073
...
Extract reference validation helpers for unit test isolation
2026-03-23 14:55:14 +02:00
karilint
7ac41a191b
Jest fixes 59
2026-03-20 14:12:46 +02:00
karilint
ce05873119
Jest fixes 58
2026-03-20 13:57:09 +02:00
karilint
c10bed39c6
Jest fixes 57
2026-03-20 13:32:56 +02:00
karilint
43c2ec7b31
Jest fixes 56
2026-03-20 12:58:35 +02:00
karilint
b57c6795f7
Jest fixes 55
2026-03-20 12:38:52 +02:00
karilint
04a994eb3a
Jest fixes 54
2026-03-20 11:56:35 +02:00
karilint
1baf79ea7e
Jest fixes 53
2026-03-20 11:37:33 +02:00
karilint
0211d0a80a
Jest fixes 52
2026-03-20 11:13:58 +02:00
karilint
3381fa97ef
Jest fixes 51
2026-03-20 09:53:03 +02:00
karilint
0958f71103
Jest fixes 50
2026-03-19 16:21:50 +02:00
karilint
2184deec1a
Jest fixes 49
2026-03-19 16:02:58 +02:00
karilint
9e67c2d051
Jest fixes 48
2026-03-19 15:49:09 +02:00
karilint
504f1f8e08
Jest fixes 47
2026-03-19 15:37:52 +02:00
karilint
c6cd6df23d
Jest fixes 46
2026-03-19 15:19:34 +02:00
karilint
7504abfd0a
Jest fixes 45
2026-03-19 15:12:31 +02:00
karilint
e002db26a3
Jest fixes 44
2026-03-19 15:07:43 +02:00
karilint
144def4c64
Jest fixes 43
2026-03-19 15:04:44 +02:00
karilint
c67fff41e0
Jest fixes 42
2026-03-19 15:00:56 +02:00
karilint
fe2f89bc0c
Jest fixes 41
2026-03-19 14:54:31 +02:00
karilint
7d39935f8c
Jest fixes 40
2026-03-19 14:50:57 +02:00
karilint
5287545c11
Jest fixes 39
2026-03-19 14:41:07 +02:00
karilint
a7c965b832
Jest fixes 38
2026-03-19 14:22:21 +02:00
karilint
7529a5829c
Jest fixes 37
2026-03-19 14:07:48 +02:00
karilint
414e88d225
Jest fixes 36
2026-03-19 14:01:07 +02:00
karilint
685888ba4e
Jest fixes 35
2026-03-19 13:52:54 +02:00
karilint
a9540452c9
Jest fixes 34
2026-03-19 12:32:29 +02:00
karilint
595ebc5f51
Jest fixes 33
2026-03-19 12:16:21 +02:00
karilint
45ac825e5c
Jest fixes 32
2026-03-19 12:07:19 +02:00
karilint
985d9cb273
Jest fixes 31
2026-03-18 22:00:46 +02:00
karilint
cad2d1bf64
Jest fixes 30
2026-03-18 18:26:40 +02:00