Commit Graph

30 Commits

Author SHA1 Message Date
NotII
4fb6d3f740 Add admin dashboard and middleware protection
Introduces an admin dashboard page with cards for inviting vendors, banning users, and viewing recent orders. Adds middleware logic to restrict /admin routes to the 'admin1' user and updates route matching. Also updates git-info.json with latest commit metadata.
2025-10-15 17:17:43 +01:00
NotII
d3deb58ad6 Remove shipping dialog from order details page
Replaces the shipping dialog with an inline tracking number input for marking orders as shipped. Simplifies the user flow and removes related state and dialog components.
2025-10-10 14:01:53 +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
be952509a1 Improve ProductSelector response handling and UI
Enhanced the ProductSelector to robustly handle different response shapes from the products API, preventing runtime errors. Also adjusted dropdown and scroll area sizing for better UI consistency.
2025-09-23 22:41:27 +01:00
NotII
74b7aa4877 Add shipping dialog with tracking number to order page
Introduces a shipping dialog to the order details page, allowing users to optionally enter a tracking number when marking an order as shipped. Updates API client logic to better handle HTTP-only authentication cookies. Improves broadcast dialog validation and message handling.
2025-09-22 00:45:29 +01:00
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
57502d09bc Create loaderio-4f43d28a66724ee6c044221219487237.txt 2025-08-28 16:42:33 +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
NotII
2fd5b8c331 Delete favicon.ico 2025-03-28 15:10:13 +00:00
NotII
6bdcb15552 HMM 2025-03-19 01:46:09 +01:00
NotII
b45a4e2e01 UWU 2025-03-09 03:33:58 +00:00
NotII
75e0b65e11 woohoo?! 2025-03-04 22:52:39 +00:00
g
891f57d729 Refactor 2025-02-07 21:33:13 +00:00