- Integrated user search with debounced input for improved performance and user experience.
- Added dropdown for user selection based on search input, displaying user details.
- Updated user ID input to allow searching by phone number or selecting from a list.
- Refactored filter handling to improve state management and clarity.
These changes significantly enhance the usability and functionality of the discount usage reporting pages.
- Integrated user search with debounced input for improved performance and user experience.
- Added dropdown for user selection based on search input, displaying user details.
- Updated amount input to format currency with thousands separators.
- Refactored form handling to improve state management and validation.
These changes significantly enhance the Wallet Credit page's usability and functionality.
- Added new filter options for status, type, application level, and sorting in discount usage reports.
- Updated API request parameters to align with new filter capabilities.
- Refactored pagination logic to improve clarity and accuracy in displaying total items and pages.
- Enhanced the sidebar layout for better organization and usability.
These changes significantly improve the reporting functionality and user experience in the discount statistics section.
- Added exact matching for the wallet menu item to prevent incorrect path matches.
- Enhanced the path matching logic to ensure that non-exact paths do not match partial URLs, improving navigation accuracy.
These changes enhance the sidebar's routing behavior, ensuring a more intuitive user experience.
- Added new pages for Wallet Credit, System Settings, Sales Summary, Profit Loss, Inventory Value, and Variant Comparison reports.
- Introduced Admin Notifications page and integrated it into the sidebar.
- Updated routing to accommodate new report pages and improved navigation structure.
- Enhanced sidebar with scrollbar styles for better usability.
- Implemented new input fields for gold price per gram and factory fee percentage in the Variant Manager.
- Refactored report handling in the Reports page to include new report types and improved filter functionality.
These changes significantly expand the application's reporting capabilities and improve user experience across various components.
- Introduced a new Contact Us page with routing and lazy loading.
- Added API routes for fetching and deleting contact messages.
- Updated sidebar to include a link to the Contact Us page.
- Enhanced the shipping methods list page with a report view option for shipments.
- Implemented discount reports functionality in the discount codes section.
- Improved payment statistics with transaction reporting capabilities.
These changes enhance user interaction and reporting features across the application.
- Introduced a ContentSkeleton component to display a loading state while content is being fetched.
- Wrapped the Outlet component in a Suspense boundary to show the skeleton during loading.
- Improved user experience by providing visual feedback during data loading.
These changes aim to enhance the overall layout and loading experience in the application.
- Standardize formatting and indentation for better readability
- Enhance the display of order details, including shipping method and delivery slot
- Ensure consistent handling of order properties and conditional rendering
- Update payment section to include payment method and transaction details
Use --legacy-peer-deps for npm ci to handle @types/react v19 vs
@cypress/react18 peer dependency conflict. Also fixed FROM AS casing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update OrderFilters interface to match complete API documentation
- Add all supported query parameters (user_id, invoice_id, transaction_id, discount_code, etc.)
- Optimize useOrderStats to prevent duplicate API calls by making it dependent on orders query
- Add payment status filter to orders list page
- Replace order number search with general search field supporting order numbers, transaction IDs, and discount codes
- Maintain backward compatibility with legacy filter names
- Add stale time to stats query for better caching