Continue to optimize performance by addressing remaining bottlenecks. Further refactor components and calculations to reduce re-renders and improve responsiveness.
Address performance issues on the home page by optimizing frontend calculations. The data loading is efficient, indicating that the bottleneck is likely in the client-side processing of the 1MB dataset.
Address significant performance issues on the home page, where operations like moving jobs or adding transactions take several seconds despite fast database requests. Focus on optimizing client-side computations and rendering to improve responsiveness.
The `Index` page component was violating the Rules of Hooks by conditionally rendering hooks. This commit refactors the component to ensure hooks are called in a consistent order across renders, resolving the "Rendered more hooks than during the previous render" error. Additionally, it addresses performance concerns by optimizing data fetching and state management.
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.
Category headers now flash if any jobs within require attention. Loading of jobs for 'Acquisition', 'Running', and 'Selling' categories is now prioritized.
Relocate the status navigation buttons to below the header, between the header and details sections of the job card. This change aims to improve the layout and address the issue of long job names. Also, ensure no duplicate code.
Refactors `BatchTransactionForm.tsx` into smaller, focused components and a custom hook to improve maintainability, mirroring the structure of the refactored `BatchExpenditureForm`.
Implemented a button to export only missing materials based on BOM and expenditures, using `useMaterialsCalculations` to determine missing quantities. Updated `MaterialsActions` and `MaterialsImportExport` components.
- 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.
The AI has updated the transaction charts to match the total revenue chart's style, implementing specific display rules for different chart types (job, cost, revenue, profit) including cumulative values, shaded areas, and line representations.