Commit Graph

38 Commits

Author SHA1 Message Date
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
2477e9bb0f fix docker? 2026-01-11 07:48:01 +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
g
f697181d00 fix 2025-12-15 18:09:38 +00:00
g
0176f89cb7 Add CSV export for orders and update UI symbols
Introduces an exportOrdersToCSV function in lib/api-client.ts to allow exporting orders by status as a CSV file. Updates various UI components to use the '•' (bullet) symbol instead of '·' (middle dot) and replaces some emoji/unicode characters for improved consistency and compatibility. Also normalizes the 'use client' directive to include a BOM in many files.
2025-12-15 17:57:18 +00:00
g
adb01009eb Handle play() and load() promises for audio elements
Updated audio playback and preloading logic to check for and handle returned promises from play() and load() methods. This prevents uncaught promise rejections in browsers where these methods may return undefined, improving reliability and error handling for notification sounds.
2025-12-09 22:17:20 +00:00
g
54cfc62e35 Switch notification sound to hohoho.mp3 and add download script
Replaced all references to notification.mp3 with hohoho.mp3 in notification-related components and context. Added hohoho.mp3 to the public directory. Introduced a script (download-notification-sound.js) for downloading notification sounds from YouTube using @distube/ytdl-core, which was added as a devDependency. Also added yt-dlp.exe for alternative audio downloading.
2025-12-08 18:42:11 +00:00
NotII
fcba1a853d Adjust chat UI padding for safe area insets
Updated padding calculations in ChatDetail to account for device safe area insets, improving layout on devices with notches or rounded corners. This affects both the chat scroll container and the input area at the bottom.
2025-10-28 11:07:07 +00:00
NotII
130ecac208 Add Chromebook compatibility fixes and optimizations
Implemented comprehensive Chromebook-specific fixes including viewport adjustments, enhanced touch and keyboard detection, improved scrolling and keyboard navigation hooks, and extensive CSS optimizations for better usability. Updated chat and dashboard interfaces for larger touch targets, better focus management, and responsive layouts. Added documentation in docs/CHROMEBOOK-FIXES.md and new hooks for Chromebook scroll and keyboard handling.
2025-10-26 18:29:23 +00:00
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
29ec1be68c Refactor API URLs and add environment config example
Replaces hardcoded production API URLs with localhost defaults for local development in both server and client code. Updates Dockerfile to require API URLs via deployment environment variables. Improves ChatTable to use a batch endpoint for chats and unread counts, with backward compatibility. Adds an env.example file to document required environment variables. Updates next.config.mjs to use environment variables for backend API rewrites and image domains.
2025-09-01 15:35:10 +01:00
NotII
f8e3173067 Cleanup 2025-05-17 17:52:25 +01:00
NotII
2f48ee38c2 weewoo 2025-04-07 19:25:24 +01:00
NotII
6fafe69f2c Update ChatDetail.tsx 2025-03-24 00:45:05 +00:00
NotII
be0f9aa3af weewoo 2025-03-24 00:44:19 +00:00
NotII
37d4d0930c Update ChatDetail.tsx 2025-03-24 00:30:57 +00:00
NotII
7234acc0d4 woohoo 2025-03-24 00:30:01 +00:00
NotII
6566b427b0 fux 2025-03-24 00:17:45 +00:00
NotII
631929f1fd Update ChatDetail.tsx 2025-03-23 23:23:17 +00:00
NotII
e521f061ab Update ChatDetail.tsx 2025-03-23 23:19:35 +00:00
NotII
f6a2a69ac4 i hope this fixed it 2025-03-23 23:18:17 +00:00
NotII
22bfa73b14 balls 2025-03-18 18:51:51 +01:00
NotII
2715d3a0e7 fix 2025-03-18 18:19:24 +01:00
NotII
5c8d4b48fe Update ChatDetail.tsx 2025-03-18 04:18:14 +01:00
NotII
350bd4759d Update ChatDetail.tsx 2025-03-18 04:16:14 +01:00
NotII
e0752fd7bb Updates 2025-03-18 04:03:48 +01:00
NotII
0aaa01bde1 chat update 2025-03-17 20:33:54 +01:00
NotII
a6079469f6 Update ChatDetail.tsx 2025-03-17 20:10:53 +01:00
NotII
c08df8919d UPDATE 2025-03-09 04:18:39 +00:00
NotII
b45a4e2e01 UWU 2025-03-09 03:33:58 +00:00
NotII
75e0b65e11 woohoo?! 2025-03-04 22:52:39 +00:00
NotII
c70828ddcf uwu 2025-03-03 21:30:36 +00:00
NotII
2fafcb868a whoop 2025-03-03 21:20:58 +00:00
NotII
f5382d82f6 test 2025-03-03 21:13:07 +00:00
NotII
cd35d34a24 fix 2025-03-03 20:38:47 +00:00
NotII
f5c7994bf7 test 2025-03-03 20:24:26 +00:00