Skip to content

Dashboard Widgets and Customs Documentation - #923

Merged
johdanike merged 3 commits into
SwiftChainn:mainfrom
investify2826-ctrl:main
Sep 30, 2026
Merged

johdanike merged 3 commits into
SwiftChainn:mainfrom
investify2826-ctrl:main

Conversation

@investify2826-ctrl

Copy link
Copy Markdown

Dashboard Widgets and Customs Documentation Features

Summary

This PR implements three key UI/UX features as part of the Light Mode implementation initiative, addressing granular issues from the first 22 Figma design areas.

Issues Addressed

Closes #866
Closes #868
Closes #869

Changes Made

1. ResizableWidget Component (#866)

File: components/dashboard/ResizableWidget.tsx

A fully-featured dashboard widget component with drag and drop, resize, maximize/minimize, and close capabilities.

2. useCustomsDocs Hook (#869)

File: hooks/useCustomsDocs.ts

A comprehensive hook for managing customs documentation with upload, validation, and status management.

3. CustomsDocumentationManager Component (#868)

File: components/shipments/CustomsDocumentationManager.tsx

A full-featured interface for cross-border customs documentation management.

Technical Details

  • Follows Strict Layered Architecture (Component ? Hook ? Service)
  • Full TypeScript support
  • Dark mode compatible
  • Responsive layouts
  • Toast notifications for user feedback

API Integration Notes

Mock implementations are included and ready for backend API integration.

- Add ResizableWidget component for dashboard layout system (SwiftChainn#866)
- Implement useCustomsDocs hook for customs documentation management (SwiftChainn#869)
- Create CustomsDocumentationManager interface for cross-border shipping (SwiftChainn#868)

Features:
- Resizable and draggable dashboard widgets with maximize/minimize
- Comprehensive customs document upload and validation
- Document status tracking (pending/approved/rejected)
- Real-time validation of required customs documents
- Support for multiple document types (invoices, permits, declarations)

Closes SwiftChainn#866
Closes SwiftChainn#868
Closes SwiftChainn#869
…ms-ui-components

feat: Dashboard Widgets and Customs Documentation Features
@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@investify2826-ctrl 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! 🚀

Learn more about application limits

@johdanike

Copy link
Copy Markdown
Contributor

Please resolve conflicts @investify2826-ctrl

@johdanike
johdanike merged commit 5a5b5a1 into SwiftChainn:main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants