Commit Graph

505 Commits

Author SHA1 Message Date
g
9bf2e22fe1 Test commit final
Some checks failed
Build Frontend / build (push) Failing after 1m47s
2026-01-11 10:27:33 +00:00
g
120d09f63c Change secret name to REGISTRY_TOKEN
Some checks failed
Build Frontend / build (push) Has been cancelled
2026-01-11 10:27:01 +00:00
g
8211ed4d8e Add registry push to workflow
Some checks failed
Build Frontend / build (push) Failing after 1m56s
2026-01-11 10:24:16 +00:00
g
dec1358b49 Invalidate Docker cache and fix git_commit_sha
All checks were successful
Build Frontend / build (push) Successful in 1m50s
2026-01-11 10:15:44 +00:00
g
31158c50d3 Fix git_commit_sha creation in Dockerfile
Some checks failed
Build Frontend / build (push) Failing after 1m2s
2026-01-11 10:13:57 +00:00
g
4fff74a351 Another test commit
Some checks failed
Build Frontend / build (push) Failing after 1m50s
2026-01-11 10:08:28 +00:00
g
bbd8334dbd Test commit
Some checks failed
Build Frontend / build (push) Failing after 11s
2026-01-11 10:01:53 +00:00
g
66489f8e77 Test build comment
Some checks failed
Build Frontend / build (push) Failing after 48s
2026-01-11 09:55:00 +00:00
g
653083a618 Test commits
Some checks failed
Build Frontend / build (push) Failing after 38s
2026-01-11 09:52:06 +00:00
g
078391334a Update workflow to build Docker image
Some checks failed
Build Frontend / build (push) Failing after 46s
2026-01-11 09:43:27 +00:00
g
a05fbfb85b Initial commit
Some checks failed
Build Frontend / build (push) Failing after 1m41s
2026-01-11 09:37:20 +00:00
g
c62ad7feac Update Dockerfile 2026-01-11 08:02:34 +00:00
g
be31df404e argh 2026-01-11 08:01:02 +00:00
g
862f4ac874 Update Dockerfile 2026-01-11 07:58:06 +00:00
g
acc8c2aa09 asdasd 2026-01-11 07:57:02 +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
6f62414888 Update Dockerfile 2026-01-11 07:41:04 +00:00
g
4d9f205277 fix 2026-01-11 07:39:20 +00:00
g
86b812f42b ok 2026-01-11 07:38:00 +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
57d93fe95e Update analytics-service.ts 2026-01-10 02:48:24 +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
1cad96887e Update git-info.json 2026-01-08 02:23:55 +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
b4a34da4e8 Update .gitignore 2026-01-05 22:10:25 +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
74f3a2c5ae Update globals.css 2025-12-31 07:20:15 +00:00
g
cdf1dd187c Update Dockerfile for Next.js 16 and Node 20 compatibility
Switches base image to node:20-alpine for both build and production stages to ensure compatibility with Next.js 16 and Turbopack. Installs git earlier, improves commit hash retrieval with a fallback, increases memory for builds, and updates comments for clarity. GIT_COMMIT_SHA is now read from a file at runtime instead of being set as an environment variable.
2025-12-31 07:14:20 +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
2777cfda0b Update package.json 2025-12-31 07:06:24 +00:00
g
c31604d29a Enable dynamic rendering and update Next.js config
Added 'force-dynamic' export to admin orders and status pages for dynamic rendering. Updated next.config.mjs to modularize imports for better tree-shaking and switched to Turbopack for optimal bundle sizes. Upgraded Next.js and related dependencies in package.json and package-lock.json.
2025-12-31 07:05:26 +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
18ac2224ca Improve user search and optimize Next.js config
User search in the admin users page now queries the backend instead of filtering on the client, and resets pagination on search. Next.js config adds production compression, removes console logs in production (except error/warn), disables the poweredByHeader, and introduces custom webpack code splitting for better bundle optimization. Updated tsconfig target to ES2020.
2025-12-31 06:46:06 +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
0062aa2dfe Add robust error boundaries and improved skeletons to dashboard
Introduces reusable error boundary and suspense timeout components across dashboard pages for better error handling and user feedback. Enhances loading skeletons with subtle progress indicators, animation, and slow-loading warnings. All dynamic imports now include error handling and improved fallback skeletons, and a shared DashboardContentWrapper is added for consistent dashboard content loading experience.
2025-12-31 05:20:44 +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