Commit Graph

13 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
15280ecdab Refactor MaterialsImportExport component
Refactor the MaterialsImportExport component into smaller, more manageable files.
2025-07-09 21:18:51 +02:00
gpt-engineer-app[bot]
8b431eaeca Fix jarring job loading and scrolling
Improve job loading to ensure total revenue is accurate and prevent page refresh/scroll to top when expanding job categories.
2025-07-09 15:10:05 +02:00
f3ab31ce76 Code format 2025-07-07 20:10:09 +02:00
gpt-engineer-app[bot]
ec8430189a Refactor: Extract common logic and reduce file size
Refactors `Index.tsx` and `JobCardHeader.tsx` to reduce bloat and extract common logic, such as job status coloring, into reusable components or utility functions. This improves code maintainability and readability.
2025-07-07 19:50:28 +02:00
gpt-engineer-app[bot]
897d15ce4d Fix: Improve field editing and optimize job loading
- Prevent layout shift during field editing by using absolute positioning.
- Implement filtering of jobs based on the user's collapsed group preferences.
- Modify the `useJobs` hook to fetch jobs with filters based on the open/closed state of job categories.
- Update the `dataService` to use the filter parameter when fetching jobs.
2025-07-07 19:06:23 +02:00
99039873f4 Actually log into pocketbase before running
Update

Update
2025-07-07 16:03:15 +02:00
885f8f48d8 Hallucinate a fix to prevent firing 40 requests per load
Who knows if this works
2025-07-07 15:45:22 +02:00
bdb5766d58 Code format 2025-07-06 22:24:29 +02:00
gpt-engineer-app[bot]
e938e65c73 Fix type errors and data service issues
- Corrected `useDataService.ts` useEffect hook return type.
- Fixed `Index.tsx` type error related to `IndTransactionRecord`.
- Addressed type incompatibility in `dataService.ts` for bill of materials.
- Removed the attempted deletion of the non-existent `jobDataService.ts` file.
2025-07-06 17:52:37 +00:00
gpt-engineer-app[bot]
a0470ed9c5 Refactor: Centralize database operations
Consolidated database interaction logic into service files. Streamlined job and transaction creation/update processes to minimize database requests, improving efficiency.
2025-07-06 17:50:07 +00:00
6e5603fc3e Remove wails so lovable is happy 2025-07-06 19:42:50 +02:00
926eff3aeb Transform into wails project 2025-07-04 17:25:07 +02:00
gpt-engineer-app[bot]
ef40cea18b Use tech stack vite_react_shadcn_ts 2025-07-04 12:30:01 +00:00