Commit Graph

7 Commits

Author SHA1 Message Date
hiderfong 86c487ae40 fix: levels and categories empty due to res vs res.data mismatch
- Fix Classification.vue: levels use res.data, auto-fetch on mount
- Fix Task.vue: levels and categories use res.data
- Fix Project.vue: templates use res.data
2026-04-23 10:51:06 +08:00
hiderfong 5119ca775b fix: classification results empty and res.data access issues
Backend:
- Add GET /classifications/results endpoint with project/level/keyword filters
- Add column relationship to ClassificationResult model
- Fix test data generator to fetch column IDs from DB after bulk insert

Frontend:
- Fix request.ts interceptor to return full response body (keep total/pagination)
- Fix all pages to use res.data instead of res
- Add getClassificationResults API in classification.ts
- Implement fetchData in Classification.vue with proper filtering and pagination
- Fix same res.data issue in Category.vue, Metadata.vue, Project.vue, DataSource.vue, Dashboard.vue, Task.vue
2026-04-23 10:46:51 +08:00
hiderfong 4b08bb5057 feat: add test data generator script
Generate 35,000+ realistic test records:
- 12 data sources (PostgreSQL, MySQL, Oracle, SQL Server, DM)
- 31 databases, 863 tables, 17,152 columns
- 81 users across 13 departments
- 8 classification projects, 24 tasks
- 12,000 classification results with varied confidence levels
- 5,000 operation logs

Covers all insurance domains: policy, claim, customer, finance, channel, actuary, regulatory, vehicle
2026-04-22 18:16:44 +08:00
hiderfong cc7ee0c0a6 fix: make auth tests pass with initial data setup 2026-04-22 17:24:05 +08:00
hiderfong fb4aaad9fc feat: Phase 3-5 - workflow, labeling, reports, dashboard enhancement, tests 2026-04-22 17:22:11 +08:00
hiderfong e71b13fe39 chore: add .gitignore and remove venv/node_modules from tracking 2026-04-22 17:08:15 +08:00
hiderfong 1773bda06b feat: initial commit - Phase 1 & 2 core features 2026-04-22 17:07:33 +08:00