57 Commits

Author SHA1 Message Date
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