Commit Graph

34 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
e164cd8fbe Optimize home page performance
Address significant performance issues on the home page by optimizing data processing and calculations. The focus is on reducing computational overhead, as database operations appear to be efficient.
2025-07-28 21:04:07 +02:00
gpt-engineer-app[bot]
5af53723cc Refactor Index page
Refactor `src/pages/Index.tsx` into smaller components.
2025-07-09 21:18:51 +02:00
gpt-engineer-app[bot]
81e9a98315 Refactor: Split Index.tsx into smaller components
This commit refactors the `Index.tsx` file into smaller, more manageable components to improve code organization and readability.
2025-07-09 21:18:51 +02:00
gpt-engineer-app[bot]
e33368dcb7 Add batch expenditure assignment
- Implemented batch assignment for expenditures, similar to income.
- Added a button to export missing materials.
- Updated logic to consider jobs in "acquisition" status.
- Added logic to skip jobs with satisfied BOM.
2025-07-09 21:18:44 +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
gpt-engineer-app[bot]
dc5b91d104 Add bill of materials after job creation
Add functionality to add bill of materials to a job after it has been created.
2025-07-09 15:10:05 +02:00
gpt-engineer-app[bot]
0c69b59677 feat: Add chart icons to total revenue/profit
Adds chart icons to the total revenue and profit displays on the main page.
Implements cumulative lines on all charts.
Addresses chart scoping issues.
2025-07-09 03:26:50 +02:00
965ac51c59 Undo clipboard reading 2025-07-08 12:50:55 +02:00
gpt-engineer-app[bot]
135ce5d8fa Fix UI and functionality issues
Fixes tax config button size, recalculates min prices on tax change, saves tax on blur, and implements automatic pasting to batch assign.
2025-07-08 12:50:55 +02:00
gpt-engineer-app[bot]
50cb89eff5 feat: Add minimum price per unit display
- Added a display for the minimum price per unit required to meet revenue expectations.
- Replaced the "BOM: 4 items hover to view" with the new display.
- Implemented clipboard copy functionality for the minimum price.
- Added a sales tax configuration option.
- Modified the "batch assign" button to read data from the clipboard on click.
2025-07-08 12:50:55 +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]
cb32ccaba9 feat: Implement revenue/profit recap and fixes
- Added a hover-over recap for total revenue and profit, displaying contributing jobs in a popup.
- Fixed the issue where the lower parts of letters in job names were cut off.
- Implemented job ID copy-to-clipboard functionality on click.
2025-07-07 19:40:52 +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
gpt-engineer-app[bot]
2a1382bf2e Refactor UI for improved visuals
- Fixed tag alignment in JobCard.
- Styled category headers with their respective colors and removed the arrow icon.
- Improved the display of "expenditure", "income", and "profit" information.
2025-07-07 11:23:14 +00:00
fa03bdb207 Add search functionality 2025-07-07 13:17:35 +02:00
bdb5766d58 Code format 2025-07-06 22:24:29 +02:00
gpt-engineer-app[bot]
27b6b90f1f Fix: Implement BOM import/export and SPA navigation
- Fixed JobForm date field population.
- Implemented clipboard-based BOM import/export functionality with a proper preview.
- Ensured the application is no longer a SPA, with navigation to job details pages.
2025-07-06 19:13:18 +00:00
gpt-engineer-app[bot]
11346b89f6 Refactor UI and navigation
- Removed the "materials" section from the JobForm.
- Added BOM import/export buttons to the JobCard.
- Fixed date fields not populating in JobForm.
- Implemented job detail page navigation using routes.
2025-07-06 19:02:19 +00:00
gpt-engineer-app[bot]
42d21b083e Fix: React hook order and refactor
Fixed React hook order issues in `Index.tsx` and refactored large files for better maintainability.
2025-07-06 18:53:13 +00: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
b18b05c675 Sort jobs such and such 2025-07-04 17:17:18 +02:00
63f3db6197 Fix creating bill items 2025-07-04 16:44:06 +02:00
6f60993621 Make shift click delete transactions without confirm 2025-07-04 16:29:23 +02:00
83fa902b4c Make the rest of the application use "new" services 2025-07-04 16:27:09 +02:00
gpt-engineer-app[bot]
fb16824137 Refactor: Use new services and types
Update frontend components to use the new services and types for job management, including facilities, jobs, and transactions. Remove old type definitions and integrate the new ones.
2025-07-04 13:28:35 +00:00
gpt-engineer-app[bot]
8757dae524 Add BOM import/export and consumed materials display
Implement BOM import/export functionality and display consumed materials data, including item and required quantities.
2025-07-04 12:46:50 +00:00
gpt-engineer-app[bot]
ee4f00355f Add transaction tables to job details
Implemented transaction tables within the JobCard component to display and allow editing of existing expenditures and income.
2025-07-04 12:42:25 +00:00
gpt-engineer-app[bot]
7a535639fc feat: Implement Eve Online job manager
Create a basic application for managing Eve Online industry jobs, including job details, transaction history, and profit calculations. Implement data ingestion via a form with paste functionality for transaction data.
2025-07-04 12:32:50 +00:00
gpt-engineer-app[bot]
ef40cea18b Use tech stack vite_react_shadcn_ts 2025-07-04 12:30:01 +00:00