Commit Graph

19 Commits

Author SHA1 Message Date
NotII
8e591a3d88 Refactor and relocate customer insights in order details
Moved the customer insights section from a separate card to the customer history area within the order details page. Simplified the display and removed unused icon imports for a cleaner UI.
2025-08-31 18:56:52 +01:00
NotII
a10b9e0094 Add customer insights to order details page
Introduces a customer insights panel on the order details page, displaying metrics such as total orders, total spent, payment success rate, and customer tenure. Removes customer insights logic and display from the order table component for a more focused and relevant presentation.
2025-08-31 18:30:54 +01:00
NotII
9cf226526f Add customer insights dashboard to order table
Introduced a CustomerInsightsDisplay component to show key metrics such as total orders, revenue, success rates, and recent activity above the order table. Updated data fetching and types to support customer insights from the API.
2025-08-30 22:53:47 +01:00
NotII
fabc8f2d71 Add pagination to Customer Insights top customers list
Implemented pagination controls and page size selection for the top customers section in CustomerInsightsChart. Updated analytics-service to support paginated customer insights API calls and handle pagination metadata. Improves usability for stores with large customer bases.
2025-08-30 21:07:00 +01:00
NotII
50d0100056 Improve profit analytics chart and modal data handling
Enhanced ProfitAnalyticsChart to display more robust skeleton loaders and improved summary card logic with fallbacks for missing data. Updated the chart to distinguish between tracked and total revenue, and improved cost data coverage display. In the profit analysis modal, profit margin tiers are now sorted by minimum quantity. Updated the ProfitOverview interface to include revenueFromTrackedProducts.
2025-08-26 21:36:08 +01:00
NotII
e2db2d5027 Optimize form loading and update product selection UI
Dynamically import ChatDetail, NewChatForm, and ProductSelector components with skeleton loading states for improved performance. Refine product selection logic in promotion forms to show blacklist selector only for 'all' mode and clarify labels and descriptions for better user understanding.
2025-08-08 16:14:41 +01:00
NotII
5b78e4f86c Improve broadcast dialog and product selector UI
Enhanced the broadcast dialog with better product selection UX, including a 'Done' button and improved selected products display. Updated the product selector to show more concise product descriptions, adjusted scroll area height, and improved price styling for clarity.
2025-07-30 16:05:46 +02:00
NotII
48cfd45fb1 Add notification context and privacy toggle for analytics
Introduces a NotificationProvider context to centralize notification logic and state, refactoring UnifiedNotifications to use this context. Adds a privacy toggle to AnalyticsDashboard and RevenueChart to allow hiding sensitive numbers. Updates layout to wrap the app with NotificationProvider.
2025-07-28 22:50:55 +02:00
NotII
10d7307725 hmm 2025-05-23 10:01:32 +01:00
NotII
308a816736 uwu 2025-05-19 17:51:06 +01:00
NotII
02e09003d5 Update git-info.json 2025-05-19 01:35:05 +01:00
NotII
f8e3173067 Cleanup 2025-05-17 17:52:25 +01:00
NotII
3c21c6788d Update git-info.json 2025-04-14 01:06:18 +01:00
NotII
c89552197d weird fkn globe 2025-04-08 01:46:13 +01:00
NotII
2f48ee38c2 weewoo 2025-04-07 19:25:24 +01:00
NotII
d13deae900 Update git-info.json 2025-04-06 16:29:01 +01:00
NotII
d05d7b4938 other 2025-04-06 16:20:01 +01:00
NotII
7d76e41bc4 Update git-info.json 2025-04-06 15:55:20 +01:00
NotII
59a9063bfc update 2025-04-06 15:48:11 +01:00