Commit Graph

30 Commits

Author SHA1 Message Date
Marshal
0ab553bf48 add file viewer functionality across various components
- Implemented a shared file viewer modal using `useFileViewer` hook to allow inline viewing of documents (images, PDFs, videos, etc.) across the application.
- Updated `ContractClearanceReviewSection`, `ContractRequestDetailPage`, `ContractViewPage`, and booking-related components to utilize the new file viewer for document previews.
- Added "Approve all" button in `ContractClearanceReviewSection` to bulk approve documents.
- Enhanced document action buttons to include view and download options based on file type.
- Introduced `isViewable` utility to determine if a file can be previewed inline.
- Created `FileViewer` component to handle rendering of various file types and added appropriate fallback for unsupported formats.
2026-06-27 19:18:43 +00:00
Nathnael
2877255948 style: ui fix on skeleton 2026-06-24 12:58:30 +00:00
ghost2023
02621d05d8 chore: migrate to mantine from shadcn for datatable 2026-06-10 10:02:09 +03:00
marshal
d226d7ef22 booking flow,summtion, approval, contract, mock payemnt and integration to back office, and also add permissions 2026-06-05 10:38:31 +03:00
ghost2023
217f1bf097 feat(bookings): Implement skeleton loaders for new booking form steps 2026-06-01 16:39:11 +03:00
Michael Abebe
516d2c8b45 feat(freight:backoffice): added org structure managemnet 2026-05-25 15:50:47 +03:00
Michael Abebe
2272255bef Merge remote-tracking branch 'origin/freight/develop' into freight/feature/bootstrap_backoffice 2026-05-22 17:58:43 +03:00
Michael Abebe
27e2cfcf6b feat(freight:backoffice): added login page and basic authorization 2026-05-22 17:55:20 +03:00
Michael Abebe
2c9ca6f16b feat(freight:backoffice): added basic frontend integration with auth(login) page 2026-05-22 17:15:46 +03:00
ghost2023
6287022a53 style: improve the switch component 2026-05-22 15:42:56 +03:00
ghost2023
37916a0cae chore: add switch component from shadcn to ui-common 2026-05-22 11:37:24 +03:00
ghost2023
9fbe27e634 chore: add field component from shadcn to ui-common 2026-05-22 10:45:13 +03:00
yaschalew
fea308a6af improve endpoints 2026-05-21 01:11:51 +03:00
ghost2023
995030a72c feat: build a global smart file input field 2026-05-20 16:08:38 +03:00
ghost2023
5d3164074b fix: styling conflict issues 2026-05-20 14:32:03 +03:00
ghost2023
0440206c06 chore: add dropdown and also updated tables to use dropdown instead 2026-05-20 13:49:17 +03:00
ghost2023
e1aa01724f style: add components 2026-05-20 12:03:15 +03:00
Nathnael Wondisha
841d8c803f Merge branch 'develop' into ui-comps 2026-05-20 11:40:54 +03:00
ghost2023
b9ef5a2b46 style: finish based global them 2026-05-20 11:35:00 +03:00
ghost2023
024871c127 chore: centralized the themeing and fix styles 2026-05-19 16:51:44 +03:00
ghost2023
f9b96c143e chore(style): setup shadcn components 2026-05-19 16:50:40 +03:00
ghost2023
634747640a feat(data-table): Introduce comprehensive DataTable component with full feature set 2026-05-19 16:50:01 +03:00
yaschalew
6aa8265bf5 update main color 2026-05-18 23:23:51 +03:00
yaschalew
7fe5be2438 Merge branch 'develop' of github.com:Tria-plc/edr-platform into feat/customer_registration 2026-05-18 12:10:12 +03:00
Michael Abebe
2478b0278b feat(freight:auth): show real user profile in top bar and fix logout
- DashboardLayout now accepts userName, userEmail, userInitials, onLogout
  props; computes initials from name; replaces hardcoded "John Doe" values
- Portal App.tsx pulls display name and email from useAuth user object and
  passes them to DashboardLayout
- handleLogout performs unconditional local cleanup (cookies + localStorage
  + hard redirect to /auth) so a failed API call never leaves the user stuck
- main.tsx purges cookies whose value is the literal string "undefined",
  clearing stale tokens written before the envelope interceptor fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 11:52:03 +03:00
yaschalew
db1f0cc5d7 add customer portal 2026-05-18 11:25:33 +03:00
yaschalew
b5fe2c2e3c add ui for major components 2026-05-15 22:17:31 +03:00
Michael Abebe
f08f6b5209 fix(portal:auth): fixed styling from @tria-plc/iamui-common just rendering 2026-05-15 11:17:03 +03:00
Michael Abebe
1c5ee19388 chore: fmt 2026-05-12 16:50:18 +03:00
Muluhabt
3b8b6979db Project Initialization 2026-05-12 15:17:16 +03:00