Commit Graph

28 Commits

Author SHA1 Message Date
g
f697181d00 fix 2025-12-15 18:09:38 +00:00
g
0176f89cb7 Add CSV export for orders and update UI symbols
Introduces an exportOrdersToCSV function in lib/api-client.ts to allow exporting orders by status as a CSV file. Updates various UI components to use the '•' (bullet) symbol instead of '·' (middle dot) and replaces some emoji/unicode characters for improved consistency and compatibility. Also normalizes the 'use client' directive to include a BOM in many files.
2025-12-15 17:57:18 +00:00
g
07dcaf55c0 Refactor API calls to use apiRequest instead of clientFetch
Replaces all usages of clientFetch with the new apiRequest utility across dashboard pages, modal components, and the profit analytics service. This standardizes API interaction and improves consistency in request handling.
2025-12-12 20:05:26 +00:00
g
fd5440c4da Replace apiRequest with clientFetch across app
Refactored all API calls to use the new clientFetch utility instead of apiRequest in dashboard pages, modal components, and profit analytics service. This improves consistency and aligns with updated API handling patterns.
2025-12-11 19:52:43 +00:00
NotII
130ecac208 Add Chromebook compatibility fixes and optimizations
Implemented comprehensive Chromebook-specific fixes including viewport adjustments, enhanced touch and keyboard detection, improved scrolling and keyboard navigation hooks, and extensive CSS optimizations for better usability. Updated chat and dashboard interfaces for larger touch targets, better focus management, and responsive layouts. Added documentation in docs/CHROMEBOOK-FIXES.md and new hooks for Chromebook scroll and keyboard handling.
2025-10-26 18:29:23 +00:00
NotII
03a2e37502 Ensure stable identity for pricing tiers in forms
Adds a tempId to new pricing tiers for stable mapping before backend _id assignment. Updates mapping logic in pricing-tiers form to use tempId or _id for reliable event handling and rendering.
2025-10-16 12:12:22 +01:00
NotII
864e1e9804 Improve pricing tier input handling and precision
Refactored PricingTiers component to better handle empty, null, and undefined values, prevent formatting issues, and add error handling for tier changes. Updated ProductModal to use parseFloat for price values to improve precision. Minor robustness improvements to event handling and sorting.
2025-10-09 21:05:13 +01:00
NotII
be746664c5 Add profit analysis modal and cost tracking for products
Introduces a Profit Analysis modal for products, allowing users to view profit, margin, and markup calculations based on cost per unit and pricing tiers. Adds cost per unit input to the product modal, updates product types, and integrates the analysis modal into the products page and product table. This enhances product management with profit tracking and analysis features.
2025-08-26 20:52:38 +01:00
NotII
2df47e1052 Add options 2025-06-14 00:32:02 +01:00
NotII
05ec33aa9d Update product-modal.tsx 2025-06-09 22:10:07 +01:00
NotII
bc8eda5eb8 Update product-modal.tsx 2025-06-09 21:56:08 +01:00
NotII
10d7307725 hmm 2025-05-23 10:01:32 +01:00
NotII
2f48ee38c2 weewoo 2025-04-07 19:25:24 +01:00
NotII
39c349509c ugh 2025-03-24 01:46:11 +00:00
NotII
c65511aa5d hmmmammamam 2025-03-24 00:08:32 +00:00
NotII
bc9f8ebbf9 balls 2025-03-06 12:49:01 +00:00
NotII
db99cda0b5 Update product-modal.tsx 2025-02-28 12:18:10 +00:00
NotII
ab6fe4bedd Update product-modal.tsx 2025-02-24 19:19:28 +00:00
NotII
62e2602d28 :D 2025-02-16 16:30:57 +00:00
g
6bcbf5a829 Update frontend to allow categories 2025-02-14 15:37:50 +00:00
g
72ea64df15 weewoo 2025-02-09 02:15:26 +00:00
g
dc30150760 Fix image upload 2025-02-08 17:20:45 +00:00
g
bce4b26ffa Updates 2025-02-08 16:06:39 +00:00
g
7374e56253 Cleanup 2025-02-08 01:56:42 +00:00
g
468fd69cb5 Cleanup 2025-02-08 00:54:11 +00:00
g
30fb2aaaab Fix 2025-02-08 00:31:53 +00:00
g
e75af20cff Change product modal 2025-02-08 00:13:40 +00:00
g
891f57d729 Refactor 2025-02-07 21:33:13 +00:00