Commit Graph

12 Commits

Author SHA1 Message Date
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
f3fb067da7 Add profit analytics chart and service
Introduces a new ProfitAnalyticsChart component to display profit-related metrics, including total revenue, cost, profit, and top profitable products. Updates the AnalyticsDashboard to include a Profit tab and adds a profit-analytics-service for fetching profit data from the backend.
2025-08-26 21:03:05 +01: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
0fa33df2ad hmm 2025-07-17 16:07:07 +01:00
NotII
57e130a247 i need a shit 2025-07-17 11:06:58 +01:00
NotII
18e87721e2 fix 2025-07-01 01:49:49 +01:00
NotII
401873b8bb fix up 2025-06-30 18:38:51 +01:00
NotII
84e4515a26 anal 2025-06-30 16:56:57 +01:00
NotII
356da4606d uwu 2025-06-30 14:54:13 +01:00
NotII
236a676ac5 holy fkn airball 2025-06-29 04:13:50 +01:00
NotII
86ddadb5cf eek 2025-06-29 03:07:48 +01:00
NotII
f61a7e0276 Metrics 2025-06-29 03:05:42 +01:00