Actions
ClientProject #3263
open[FE] Auto parts back order
Start date:
09/17/2025
Due date:
09/17/2025 (about 7 months late)
% Done:
100%
Estimated time:
4:00 h
Spent time:
Updated by Nazmul Hossain Shovon 7 months ago
- % Done changed from 0 to 100
ref:
https://github.com/pqsjapan/frontendV1.1/commit/d34d4747079f34dedd29f5f3df005f0296fa2a96
Summary of Key Changes
This commit introduces a complete auto parts back order functionality with the following major changes:
-
New Page Creation: Added a new page at /auto-parts-back-order with a comprehensive form for back ordering auto parts.
-
Enhanced Form Functionality:
- Added transmission type selection field
- Included additional shipping address fields (city, address, nearest port)
- Implemented image upload capability with base64 encoding
- Added dynamic model selection based on maker selection
-
Form Validation:
- Created a comprehensive Zod validation schema for all form fields
- Added validation for chassis number, parts name/number, and contact information
- Implemented client-side validation with error messaging
-
API Integration:
- Updated the auto parts form submission API route to handle new fields
- Modified the request body structure to include transmission type, address details, and image data
-
Component Restructuring:
- Created reusable components for the form section, server wrapper, and status display
- Extracted how-to-buy stats into a separate reusable component
- Implemented animated counters for the status section
-
Data Handling:
- Added dynamic model fetching based on maker selection
- Implemented proper data transformation for API submission
- Added loading states and error handling
Updated by Nazmul Hossain Shovon 7 months ago
ref:
https://github.com/pqsjapan/frontendV1.1/commit/82f3e0c3fb93ab0ce9f3b74590e87568529d67c0
Summary of Key Changes:
- Updated padding, margin, and gap classes for better responsiveness across breakpoints.
- Adjusted heading font sizes for improved mobile and desktop readability.
- Refined grid gaps and button sizing for consistent UI on different devices.
- Enhanced overall layout for a cleaner, more user-friendly form experience.
Updated by Nazmul Hossain Shovon 6 months ago
- Status changed from In Progress to Complete
Actions