feat: React Skeleton and Vendor withdraw#2403
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This commit introduces a new REST API endpoint for searching customers specific to a vendor's orders. Key changes include: - Add new route `/dokan/v1/customers/search` in CustomersController - Implement `search_customers` method with the following features: * Search customers by ID or term (name/email) * Limit results to customers who have ordered from the current vendor * Support excluding specific customer IDs * Limit results to 20 when search term is less than 3 characters * Apply `dokan_json_search_found_customers` filter for extensibility - Add permission check to ensure only users with 'edit_shop_orders' capability can access - Include detailed PHPDoc for the new filter This feature allows vendors to efficiently search their customer base through the REST API, mirroring the functionality of the existing AJAX action while providing a standardized API interface.
…ure' into update/vendor-dashboard-structure
…e' into update/vendor-dashboard-structure
…er-api' into update/vendor-dashboard-structure # Conflicts: # includes/REST/Manager.php
…shboard-structure
|
Scenario: On the "View Payments" page, clicking the Request Withdraw button triggers an "Insufficient Balance" warning message, even when the vendor's account balance exceeds the minimum withdrawal restriction. Steps to reproduce:
|
|
Scenario: When a user attempts to submit a withdrawal request for an amount below the minimum required amount, a console error occurs on the first attempt. Steps to Reproduce:
|
@shashwatahalder01 vai we will ignore this error for now, this issue occered for Dokan UI i have discussed with @mrabbani vai about it. |
Fix loader when cancel withdraw request.
…le contents. (#2546) * enhance: Introduce DokanModal component. * enhance: Update dokan src package root name. * fix: remove unused code. * enhance: Expand sortable list feature, handle pointer & elements. * fix: remove dokan modal & add params with header slot.
All Submissions:
Changes proposed in this Pull Request:
Related Pull Request(s)
Closes
How to test the changes in this Pull Request:
Changelog entry
Title
Detailed Description of the pull request. What was previous behaviour
and what will be changed in this PR.
Before Changes
Describe the issue before changes with screenshots(s).
After Changes
Describe the issue after changes with screenshot(s).
Feature Video (optional)
Link of detailed video if this PR is for a feature.
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit
Based on the comprehensive summary, here are the updated release notes:
New Features
useWindowDimensionshook for tracking viewport dimensions.VendorNavMenuCheckerfor managing vendor dashboard navigation.NewDashboardclass for custom dashboard templates.Filtercomponent for standardized filtering operations.DokanModalfor customizable modal dialogs.Improvements
Technical Updates
Documentation