• Joined on 2025-12-31
kyle commented on issue kyle/vip-coordinator#15 2026-02-08 07:09:58 -08:00
Move vehicle utilization filtering to database query

Moved vehicle utilization event filtering to the Prisma query with .

kyle closed issue kyle/vip-coordinator#13 2026-02-08 07:09:58 -08:00
Extract shared date utility functions
kyle commented on issue kyle/vip-coordinator#13 2026-02-08 07:09:57 -08:00
Extract shared date utility functions

Created with , , and . Updated all 10+ files.

kyle closed issue kyle/vip-coordinator#12 2026-02-08 07:09:57 -08:00
Fix N+1 query pattern in events findAll()
kyle commented on issue kyle/vip-coordinator#12 2026-02-08 07:09:57 -08:00
Fix N+1 query pattern in events findAll()

Refactored events to use Prisma includes instead of N+1 per-event enrichment loop.

kyle closed issue kyle/vip-coordinator#11 2026-02-08 07:09:57 -08:00
Extract shared Prisma include constants per entity
kyle commented on issue kyle/vip-coordinator#11 2026-02-08 07:09:57 -08:00
Extract shared Prisma include constants per entity

Extracted shared Prisma include constants in drivers, vehicles, and events services. Each service now defines the include pattern once at the top.

kyle closed issue kyle/vip-coordinator#9 2026-02-08 07:09:57 -08:00
Extract shared hard-delete authorization into reusable utility
kyle commented on issue kyle/vip-coordinator#9 2026-02-08 07:09:57 -08:00
Extract shared hard-delete authorization into reusable utility

Implemented shared hard-delete utility in and in . Updated all 4 services and controllers.

kyle pushed to main at kyle/vip-coordinator 2026-02-08 07:07:27 -08:00
f2b3f34a72 refactor: code efficiency improvements (Issues #9-13, #15, #17-20)
kyle closed issue kyle/vip-coordinator#8 2026-02-08 06:44:30 -08:00
Code Efficiency
kyle commented on issue kyle/vip-coordinator#8 2026-02-08 06:44:30 -08:00
Code Efficiency

Completed code efficiency audit of the full codebase. Created 12 targeted issues:

Backend (7 issues):

  • #9 - Extract shared hard-delete authorization
  • #10 - Prisma middleware for soft-delete…
kyle opened issue kyle/vip-coordinator#20 2026-02-08 06:44:20 -08:00
Cache driver lookup in /me controller routes
kyle opened issue kyle/vip-coordinator#19 2026-02-08 06:44:20 -08:00
Frontend minor cleanups: unused imports, memoization, query key constants
kyle opened issue kyle/vip-coordinator#18 2026-02-08 06:44:20 -08:00
Replace browser confirm() with styled confirmation modal
kyle opened issue kyle/vip-coordinator#17 2026-02-08 06:44:20 -08:00
Extract shared form field components and enum utilities
kyle opened issue kyle/vip-coordinator#16 2026-02-08 06:44:20 -08:00
Create reusable DataTable and list page infrastructure
kyle opened issue kyle/vip-coordinator#15 2026-02-08 06:44:20 -08:00
Move vehicle utilization filtering to database query
kyle opened issue kyle/vip-coordinator#14 2026-02-08 06:44:20 -08:00
Refactor copilot.service.ts - split into focused sub-services
kyle opened issue kyle/vip-coordinator#13 2026-02-08 06:44:19 -08:00
Extract shared date utility functions