Commit Graph

262 Commits

Author SHA1 Message Date
g
e369741b2d Enhance customer and profit analysis dialogs UI/UX
All checks were successful
Build Frontend / build (push) Successful in 1m14s
Revamps the customer details dialog with improved layout, animations, and clearer stats breakdown. Upgrades the profit analysis modal with animated cards, clearer tier breakdown, and improved cost/margin/profit explanations. Also increases recent activity fetch limit, fixes quote hydration in dashboard content, and minor animation tweak in order table.
2026-01-12 08:12:36 +00:00
g
7ddcd7afb6 Update UI styles and dashboard product display
All checks were successful
Build Frontend / build (push) Successful in 1m10s
Refined color scheme in AnimatedStatsSection to use indigo instead of pink, and improved gradient backgrounds. In dashboard/content.tsx, updated TopProduct price to support arrays and display revenue per product. UnifiedNotifications received minor style and layout adjustments for better consistency and usability.
2026-01-12 08:03:19 +00:00
g
e9737c8b24 Refactor UI to remove Christmas theme and improve actions
All checks were successful
Build Frontend / build (push) Successful in 1m11s
Removed all Christmas-specific theming and logic from the home page and navbar, standardizing colors to indigo. Updated QuickActions to open a modal for adding products instead of navigating to a new page, including logic for product creation and category fetching. Simplified ChatTable row animations and fixed minor layout issues. Updated button styles and mobile menu links for consistency.
2026-01-12 07:43:33 +00:00
g
244014f33a Improve admin UI and vendor invite experience
All checks were successful
Build Frontend / build (push) Successful in 1m7s
Enhanced the admin dashboard tab styling for better clarity. Refactored InviteVendorCard with improved UI, feedback, and clipboard copy functionality. Fixed vendor store ID update to send raw object instead of JSON string. Ensured product price formatting is robust against non-numeric values.
2026-01-12 07:33:16 +00:00
g
688f519fd6 Update AdminAnalytics.tsx 2026-01-12 07:23:45 +00:00
g
73adbe5d07 Enhance admin dashboard UI and tables with new styles
All checks were successful
Build Frontend / build (push) Successful in 1m4s
Refactors admin dashboard, users, vendors, shipping, and stock pages to improve UI consistency and visual clarity. Adds new icons, animated transitions, and card styles for stats and tables. Updates table row rendering with framer-motion for smooth animations, improves badge and button styling, and enhances search/filter inputs. Refines loading skeletons and overall layout for a more modern, accessible admin experience.
2026-01-12 07:16:33 +00:00
g
bfd31f9d35 Update product-modal.tsx
Some checks failed
Build Frontend / build (push) Has been cancelled
2026-01-12 07:02:08 +00:00
g
f7e768f6d6 Improve product image handling and add costPerUnit
All checks were successful
Build Frontend / build (push) Successful in 1m10s
Added a utility to generate product image URLs, ensuring images are displayed correctly in the product table. Updated the Product model to include an optional costPerUnit field. Minor UI and code formatting improvements were made for consistency.
2026-01-12 06:59:21 +00:00
g
7c7db0fc09 Update product-table.tsx 2026-01-12 06:54:28 +00:00
g
211cdc71f9 Enhance dashboard UI and add order timeline
All checks were successful
Build Frontend / build (push) Successful in 1m12s
Refactored dashboard pages for improved layout and visual consistency using Card components, motion animations, and updated color schemes. Added an OrderTimeline component to the order details page to visualize order lifecycle. Improved customer management page with better sorting, searching, and a detailed customer dialog. Updated storefront settings page with a modernized layout and clearer sectioning.
2026-01-12 06:53:28 +00:00
g
7b95589867 Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m5s
2026-01-12 05:53:16 +00:00
g
c209dd60fc Add 180-day analytics time range options
All checks were successful
Build Frontend / build (push) Successful in 1m6s
Extended analytics dashboards and charts to support a 180-day time range selection. Also updated tooltip position in PredictionsChart for improved UI consistency.
2026-01-12 05:51:29 +00:00
g
a05787a091 Revamp analytics dashboard UI and charts
All checks were successful
Build Frontend / build (push) Successful in 1m11s
Enhanced the AnalyticsDashboard layout with a premium glassmorphism UI, improved toolbar, and reorganized tabs for better clarity. MetricsCard now features dynamic color coding and trend badges. PredictionsChart received scenario simulation UI upgrades, disabled future ranges based on available history, and improved chart tooltips and visuals. ProfitAnalyticsChart added error handling for product images and minor UI refinements. Updated globals.css with new premium utility classes and improved dark mode color variables.
2026-01-12 05:44:54 +00:00
g
a0605e47de Improve chart visuals and add null safety in analytics
All checks were successful
Build Frontend / build (push) Successful in 1m19s
Refactored GrowthAnalyticsChart to use Area for 'orders' with gradient fill and improved dot handling. Enhanced PredictionsChart with consistent null checks for predictions data, improved tooltip rendering, and adjusted chart margins and axis styles. Updated RevenueChart to add activeDot styling for better interactivity.
2026-01-12 04:52:40 +00:00
g
f7af5b933d Optimize PredictionsChart with batch data loading
All checks were successful
Build Frontend / build (push) Successful in 1m5s
Refactors PredictionsChart to fetch all prediction data in a single batch for instant client-side switching between horizons and simulation factors. Updates state management and effects to utilize the pre-cached batch data, reducing API calls and improving responsiveness. Minor UI text update to remove TensorFlow.js mention.
2026-01-12 04:33:31 +00:00
g
6eeed4267a fix chart issues
All checks were successful
Build Frontend / build (push) Successful in 1m10s
2026-01-12 04:16:04 +00:00
g
5d9f8fa07b Redesign auth pages and enhance analytics UI with motion
All checks were successful
Build Frontend / build (push) Successful in 1m17s
Refactored login and registration pages for a modern, consistent look with animated backgrounds and improved form feedback. Enhanced analytics dashboard and metrics cards with framer-motion animations and visual polish. Updated MotionWrapper for flexible motion props and improved transitions. Minor UI/UX improvements and code cleanup throughout auth and analytics components.
2026-01-12 04:06:36 +00:00
g
02ba4b0e66 :D 2026-01-12 02:42:44 +00:00
g
624bfa5485 balls :D
All checks were successful
Build Frontend / build (push) Successful in 1m6s
2026-01-12 02:32:23 +00:00
g
b10e8f8939 Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m5s
2026-01-12 01:56:14 +00:00
g
4f55629f4b Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m4s
2026-01-12 01:47:12 +00:00
g
bd4683d91e Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m3s
2026-01-12 01:41:17 +00:00
g
c0f4b05ef4 Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m5s
2026-01-12 00:59:40 +00:00
g
a8fdac532c Update PredictionsChart.tsx
All checks were successful
Build Frontend / build (push) Successful in 1m3s
2026-01-11 16:07:44 +00:00
g
2477e9bb0f fix docker? 2026-01-11 07:48:01 +00:00
g
db757d0107 Update OrdersTable.tsx 2026-01-11 07:41:13 +00:00
g
4d9f205277 fix 2026-01-11 07:39:20 +00:00
g
0fba981bca optimization 2026-01-11 07:35:52 +00:00
g
027cc49430 asdasd 2026-01-11 07:25:27 +00:00
g
24c752d52b Update PredictionsChart.tsx 2026-01-10 02:59:04 +00:00
g
437aec110c asdasd 2026-01-10 02:18:56 +00:00
g
6c90ba90c3 better stuffs 2026-01-10 02:07:03 +00:00
g
c69367e6da Add predictions and forecasting analytics
Introduces a new PredictionsChart component and integrates it into the AnalyticsDashboard with a new tab for AI-powered sales, demand, and stock forecasting. Expands analytics-service with types and service functions for predictions, enabling comprehensive future insights for revenue, demand, and inventory.
2026-01-10 01:47:38 +00:00
g
8a43477aa8 Update GrowthAnalyticsChart.tsx 2026-01-07 13:09:12 +00:00
g
f78eaaff57 Update GrowthAnalyticsChart.tsx 2026-01-07 13:07:05 +00:00
g
ed229c5dd6 Parallelize vendor and store fetch in NewChatForm
Updated the data fetching logic to retrieve vendor profile and store information concurrently using Promise.all, improving performance and reducing wait time in the NewChatForm component.
2026-01-07 13:02:12 +00:00
g
f17d623570 Revamp growth analytics to show all-time cumulative data
Refactors GrowthAnalyticsChart to display all-time growth since first sale, removes period selection, and introduces tabbed charts for daily, monthly, and customer segment analytics. Updates the GrowthAnalytics interface and service to return cumulative and segmented data, and simplifies API usage to always fetch all-time analytics. Improves customer segment breakdown and chart visualizations.
2026-01-07 12:58:52 +00:00
g
3e27a4b1f2 Update GrowthAnalyticsChart.tsx 2026-01-07 12:52:20 +00:00
g
ce1d2d3fe8 Add growth analytics chart and service integration
Introduces a new GrowthAnalyticsChart component and integrates growth analytics data into the dashboard. Updates analytics-service to support growth analytics API, adds types, and exposes helper functions for fetching growth analytics with store context. The dashboard UI now includes a 'Growth' tab for visualizing store growth metrics and trends.
2026-01-07 03:57:31 +00:00
g
8862aecc61 Update AdminAnalytics.tsx 2026-01-06 17:59:30 +00:00
g
2cd6de3b4a Add platform growth analytics tab with charts
Introduces a new 'Growth Since Launch' tab to the admin analytics page, displaying cumulative stats, monthly revenue and orders, customer segment breakdowns, profit trends, and a detailed monthly growth table. Fetches and visualizes growth data since platform launch using various Recharts components.
2026-01-06 00:00:26 +00:00
g
2994de2fe2 Refactor NewChatForm for improved readability
Reformatted code in NewChatForm.tsx for better readability and maintainability, including consistent spacing, line breaks, and minor style adjustments. No functional changes were made.
2026-01-05 23:01:58 +00:00
g
b1e486c049 Show best month analytics for more date ranges
Updated AdminAnalytics to display the 'Best Month' card for YTD, full year, and previous years, not just YTD. Also removed the obsolete UPGRADE_NEXT16.md guide.
2026-01-05 21:58:38 +00:00
g
c704ceed1d Add year selection to admin analytics and split product table
AdminAnalytics now supports selecting historical years and updates available years dynamically from the API. The product table is refactored to display enabled and disabled products in separate tables, improving clarity. Minor formatting and code style improvements are also included.
2026-01-05 21:55:55 +00:00
g
37a8cfed82 Lazy load notification and keep-online providers
Introduced NotificationProviderWrapper to dynamically load the notification context only on dashboard pages, reducing initial bundle size. KeepOnline component is now also lazy-loaded. Updated app layout to use the new wrapper.
2025-12-31 07:11:10 +00:00
g
66e95438fe Refactor admin vendors page to use client-side fetching and pagination
Migrates the admin vendors page to use client-side data fetching with pagination, search, and improved loading states. Updates the vendor table to show last login, status, and admin badges. Also, optimizes the broadcast dialog by lazy-loading the ReactMarkdown component for preview rendering.
2025-12-31 06:54:37 +00:00
g
5f1e294091 Add pagination to admin user, vendor, and ban lists
Introduces pagination controls and server-side paginated fetching for blocked users, users, and vendors in the admin dashboard. Improves error handling in server API responses and validates order ID in OrderDetailsModal. Updates git-info.json with latest commit metadata.
2025-12-31 05:46:24 +00:00
g
96638f968f Update notification sound to notification.mp3
Replaces all references to hohoho.mp3 with notification.mp3 for notification sounds across the app. Moves AudioPreloader to layout component and removes duplicate usage. Adds a guard in BroadcastDialog to prevent duplicate sends.
2025-12-28 19:21:02 +00:00
g
07fa34d831 Disable Christmas theme and improve layout skeleton
Christmas decorations and theme logic have been disabled throughout the app, including the isDecember utility, layout, and related imports. Layout now shows a skeleton UI while mounting to prevent layout shift. Minor improvements to RevenueChart tooltip colors and ChatDetail request headers for better consistency.
2025-12-27 21:12:43 +00:00
g
c9c3f766a6 Improve admin ban UX, add product cloning, and enhance auth handling
Refines the admin ban page with better dialog state management and feedback during ban/unban actions. Adds a product cloning feature to the products dashboard and updates the product table to support cloning. Improves error handling in ChatDetail for authentication errors, and enhances middleware to handle auth check timeouts and network errors more gracefully. Also updates BanUserCard to validate user ID and ensure correct request formatting.
2025-12-27 20:58:08 +00:00