Commit Graph

143 Commits

Author SHA1 Message Date
NotII
1fc29e6cbf Improve accessibility and touch support in dashboard
Enhances accessibility and usability for touch devices and Chromebooks by updating global styles, adding ARIA attributes, and optimizing component layouts. Introduces a new useIsTouchDevice hook, improves focus states, and increases viewport scalability. ChatDetail now supports better keyboard navigation and larger touch targets.
2025-10-22 17:53:30 +01:00
NotII
bfc60012cf Add admin dashboard pages and restructure admin route
Introduces new admin dashboard pages for alerts, bans, invites, orders, settings, status, and vendors under app/dashboard/admin/. Moves the main admin page to the new dashboard structure and adds a shared admin layout. Updates sidebar configuration and adds supporting components and hooks for admin features.
2025-10-18 15:19:10 +01:00
NotII
72821e586c Change tracking number addition order in shipping flow
Tracking number is now added after marking the order as shipped instead of before. This ensures the order status is updated prior to associating a tracking number.
2025-10-10 14:28:55 +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
d1f3e6b214 Bulk update category order and improve number formatting
Category order is now updated via a bulk API endpoint instead of individual requests, improving efficiency. Number formatting in pricing tiers form now avoids cursor jumping by only formatting decimals when necessary.
2025-10-02 04:17: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
3528ca45cc Update page.tsx 2025-08-31 21:28:32 +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
be746664c5 Add profit analysis modal and cost tracking for products
Introduces a Profit Analysis modal for products, allowing users to view profit, margin, and markup calculations based on cost per unit and pricing tiers. Adds cost per unit input to the product modal, updates product types, and integrates the analysis modal into the products page and product table. This enhances product management with profit tracking and analysis features.
2025-08-26 20:52:38 +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
f19ddc415c eeeee 2025-08-07 23:24:51 +01:00
NotII
3cef1076d0 Add promotion details and modal to orders and promotions
Introduces promotion-related fields to the Order interface and displays promotion discounts in both the order details and order table. Adds a PromotionDetailsModal component for viewing detailed promotion analytics and eligibility, and integrates it into the PromotionsList with a new 'view details' action.
2025-08-07 17:16:49 +01:00
NotII
2c48ecd2b4 Add product applicability controls to promotion forms
Introduces product selection and exclusion controls to both new and edit promotion forms, allowing promotions to target all, specific, or all-but-specific products. Adds a reusable ProductSelector component, updates promotion types to support new fields, and adjusts cookie max-age for authentication. Also adds two new business quotes.
2025-08-07 16:05:31 +01:00
NotII
1b51f29c24 Add flexible date pickers and export options to stock dashboard
Introduces a reusable date picker component with support for single date, date range, and month selection. Updates the stock management page to allow exporting reports by daily, weekly, monthly, or custom date ranges using the new pickers. Refactors promotion form to use the new date picker for start and end dates. Adds more business quotes to the quotes config.
2025-07-30 00:38:25 +02:00
NotII
f1e7583219 Add paidAt field and display to order details and table
Introduces the optional 'paidAt' field to the Order interface and updates both the order details page and the order table to display the payment date. Also adds sorting by 'paidAt' in the order table and improves date formatting for both order and payment dates.
2025-07-26 22:32:47 +02:00
NotII
639277dc2b Update page.tsx 2025-07-26 21:36:12 +02:00
NotII
707f7e359f Update page.tsx 2025-07-25 20:56:22 +01:00
NotII
cb1335b8fd ficks 2025-07-22 02:40:36 +01:00
NotII
b329c8422d oh 2025-07-20 23:34:42 +01: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
ad108298a6 Update loading.tsx 2025-06-30 13:52:58 +01:00
NotII
236a676ac5 holy fkn airball 2025-06-29 04:13:50 +01:00
NotII
e9b943a00a Create loading.tsx 2025-06-29 03:10:54 +01:00
NotII
f61a7e0276 Metrics 2025-06-29 03:05:42 +01:00
NotII
b77f0d007d Add ML, fix product stock data 2025-06-09 22:06:33 +01:00
NotII
48ad96fbec Update page.tsx 2025-05-29 14:25:50 +01:00
NotII
ee5fc4a9d6 Update page.tsx 2025-05-29 12:48:38 +01:00
NotII
10d7307725 hmm 2025-05-23 10:01:32 +01:00
NotII
e338a5d0b2 Update page.tsx 2025-04-25 00:14:52 +01:00
NotII
dd4dac888f Update page.tsx 2025-04-21 17:25:10 +01:00
NotII
0fa841aaf6 Add Icons 2025-04-21 17:24:45 +01:00
NotII
17e983fed1 Update page.tsx 2025-04-21 16:48:10 +01:00
NotII
0431b799fb Update page.tsx 2025-04-21 16:14:55 +01:00
NotII
34e995601d Update page.tsx 2025-04-21 15:59:06 +01:00
NotII
679f59bba7 Update page.tsx 2025-04-21 15:56:25 +01:00
NotII
6a0f2ff803 Update page.tsx 2025-04-21 15:44:41 +01:00
NotII
63c7d602e4 update storefront page 2025-04-21 15:32:18 +01:00
NotII
b4bae9ae18 update orders page 2025-04-21 15:32:08 +01:00
NotII
68b5aebc17 Update page.tsx 2025-04-21 14:37:00 +01:00
NotII
41653cd9bb Merge branch 'main' of https://github.com/NotII/ember-market-frontend 2025-04-19 16:20:54 +01:00
NotII
9138cc842f Update page.tsx 2025-04-19 16:20:41 +01:00
NotII
d46487a91d Update page.tsx 2025-04-19 16:10:16 +01:00
NotII
2221c39df9 fk it 2025-04-10 00:28:44 +01:00
NotII
3deeda4075 Update page.tsx 2025-04-09 14:23:23 +01:00
NotII
73507e6ac0 wahhhh 2025-04-08 02:02:54 +01:00
NotII
2f48ee38c2 weewoo 2025-04-07 19:25:24 +01:00