Actions
dev #3621
opendev #3605: [FE] Vendor dashboard
[FE] Review profile
Added by Nazmul Hossain Shovon 5 months ago. Updated 5 months ago.
Updated by Nazmul Hossain Shovon 5 months ago
- Estimated time changed from 5:00 h to 7:00 h
Updated by Nazmul Hossain Shovon 5 months ago
- % Done changed from 0 to 50
Summary of Key Changes
- Talent Approval Feature: Added a new dynamic page at /vendor/dashboard/talent-approval/[talent-name] for reviewing talent profiles, using the existing TalentOnboardingMainContainer. Updated TalentCard to link the "Review" button to this page.
- Set Pricing Form: Created a new SetPricingForm component with form validation (using Zod), auto-save on blur, and final submit handlers. Includes fields for base hourly rate, optional monthly billing (with amount, included hours, and overtime rate), and navigation buttons.
- Dashboard Layout Adjustments: Wrapped client dashboard layout in FullWidthContainer for consistent max-width and margins. Commented out the container in vendor dashboard layout. Modified client sidebar to hide on talent-approval pages and restructured its HTML for better semantics.
- Supporting Files: Added API stubs, schema, types, and index exports for the set pricing form. All changes focus on enhancing vendor-side talent management and onboarding flows.
Updated by Nazmul Hossain Shovon 5 months ago
Short Summary of Key Changes
- Refactored talent forms: Replaced duplicated header and navigation code in BasicProfileForm, CommunicationForm, ContactProfessionalForm, EducationForm, PortfolioForm, ProfessionalSummaryForm, SkillsExpertiseForm, and WorkExperienceForm with reusable components (TalentFormWrapper, TalentHeader, FormNavigation) to reduce redundancy.
- Added vendor approval logic: Introduced useIsUpdateVendorProfilePage hook and conditional rendering for approval/decline buttons (ApproveDeclineButtons, SubmitForApprovalButton) in onboarding flows.
- Enhanced onboarding container: Updated TalentOnboardingContainer to include a new "Set Pricing" step, adjusted step navigation based on update mode, and integrated the pricing form.
- Updated pricing form: Modified SetPricingForm to use new wrappers and added numeric input handling.
- Minor UI tweaks: Adjusted switch component styling in switch.tsx and updated sidebar logic in Sidebar.tsx.
Updated by Nazmul Hossain Shovon 5 months ago
- Status changed from In Progress to Complete
Actions