feat(frontend): add carrier certification upload and verification#931
Open
mijinummi wants to merge 1 commit into
Open
feat(frontend): add carrier certification upload and verification#931mijinummi wants to merge 1 commit into
mijinummi wants to merge 1 commit into
Conversation
|
@mijinummi is attempting to deploy a commit to the Mftee's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@mijinummi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Summary
Closes #881
Implements the carrier certification upload workflow within frontend/package/, enabling carriers to:
Upload certification documents
Track verification status
View uploaded certifications
Delete pending/rejected certifications
Re-upload corrected certifications
This closes a critical onboarding gap that previously prevented carriers from becoming verified.
Closes #882
Implements the Profile Settings page inside frontend/package/pages/settings/Profile/, allowing users to:
Update profile information
Upload and preview avatars
Receive email verification reminders
Save profile changes
Prevent accidental navigation with unsaved edits
All functionality remains strictly within frontend/package/ as required.
Closes #883
Implements a centralized WebSocket layer for the frontend package, providing:
Single shared Socket.io connection
JWT authentication from Zustand auth store
Subscription management API
Automatic listener cleanup
Exponential backoff reconnection
Connection status tracking
Shipment-specific convenience hook
This prevents duplicate socket connections across components and standardizes real-time communication throughout the application.
closes #884
Implements a production-ready Error Boundary system within frontend/package/ that:
Prevents entire page crashes from React render errors
Displays a friendly recovery interface
Supports custom fallback UIs
Logs errors in development
Provides a useErrorBoundary() hook for async/runtime errors
Includes demo usage wrapping three independent page sections
This improves resilience and user experience by allowing recovery from isolated UI failures without requiring a full page refresh.