diff --git a/src/app/recoveryIncidents/tabs/AuditTrailTab.tsx b/src/app/recoveryIncidents/tabs/AuditTrailTab.tsx index 0ea5ee4..0ffb2ab 100644 --- a/src/app/recoveryIncidents/tabs/AuditTrailTab.tsx +++ b/src/app/recoveryIncidents/tabs/AuditTrailTab.tsx @@ -1,11 +1,11 @@ -import { ClipboardText, CheckCircle } from '@phosphor-icons/react'; +import { ClipboardTextIcon, CheckCircleIcon } from '@phosphor-icons/react'; export default function AuditTrailTab() { return (
- +

Lifecycle Timeline & Audit Trail

@@ -14,7 +14,7 @@ export default function AuditTrailTab() {
- +
diff --git a/src/app/recoveryIncidents/tabs/CaseDetailsTab.tsx b/src/app/recoveryIncidents/tabs/CaseDetailsTab.tsx index 6d92e52..31c14b7 100644 --- a/src/app/recoveryIncidents/tabs/CaseDetailsTab.tsx +++ b/src/app/recoveryIncidents/tabs/CaseDetailsTab.tsx @@ -1,4 +1,4 @@ -import { IdentificationCard, AirplaneTilt, WarningCircle } from '@phosphor-icons/react'; +import { IdentificationCardIcon, AirplaneTiltIcon, WarningCircleIcon } from '@phosphor-icons/react'; export default function CaseDetailsTab() { return ( @@ -6,7 +6,7 @@ export default function CaseDetailsTab() { {/* PASSENGER INFORMATION */}
- +

PASSENGER INFORMATION

@@ -33,7 +33,7 @@ export default function CaseDetailsTab() { {/* FLIGHT JOURNEY */}
- +

FLIGHT JOURNEY

@@ -68,7 +68,7 @@ export default function CaseDetailsTab() { {/* DISRUPTION DETAILS */}
- +

DISRUPTION DETAILS

diff --git a/src/app/recoveryIncidents/tabs/RecoveryPlanTab.tsx b/src/app/recoveryIncidents/tabs/RecoveryPlanTab.tsx index 8ea34a4..afdab3c 100644 --- a/src/app/recoveryIncidents/tabs/RecoveryPlanTab.tsx +++ b/src/app/recoveryIncidents/tabs/RecoveryPlanTab.tsx @@ -1,4 +1,4 @@ -import { CreditCard, Gift, HandHeart } from '@phosphor-icons/react'; +import { CreditCardIcon, GiftIcon, HandHeartIcon } from '@phosphor-icons/react'; export default function RecoveryPlanTab() { return ( @@ -6,7 +6,7 @@ export default function RecoveryPlanTab() { {/* FINANCIAL REFUND */}
- +

FINANCIAL REFUND

@@ -29,7 +29,7 @@ export default function RecoveryPlanTab() { {/* COMPENSATION & PERKS */}
- +

COMPENSATION & PERKS

@@ -52,7 +52,7 @@ export default function RecoveryPlanTab() { {/* PASSENGER CARE */}
- +

PASSENGER CARE

diff --git a/src/app/recoveryIncidents/tabs/SummaryTab.tsx b/src/app/recoveryIncidents/tabs/SummaryTab.tsx index a5f186f..a99a89a 100644 --- a/src/app/recoveryIncidents/tabs/SummaryTab.tsx +++ b/src/app/recoveryIncidents/tabs/SummaryTab.tsx @@ -1,5 +1,5 @@ -import { Sparkle, User, ArrowRight } from '@phosphor-icons/react'; -import { CustomButton } from '../../../components/custom'; +import { SparkleIcon, UserIcon, ArrowRightIcon } from "@phosphor-icons/react"; +import { CustomButton } from "../../../components/custom"; export default function SummaryTab() { return ( @@ -8,83 +8,110 @@ export default function SummaryTab() {
{/* Subtle decorative glow */}
- +
- -

AI STRATEGIC ASSESSMENT

+ + + +

+ AI STRATEGIC ASSESSMENT +

- +

- "Analysis of JOHN WICK's history and the flight disruption suggest this is a high-retention opportunity. Automated settlement is recommended to maintain NPS within the Platinum segment." + "Analysis of JOHN WICK's history and the flight disruption suggest + this is a high-retention opportunity. Automated settlement is + recommended to maintain NPS within the Platinum segment."

{/* Row of 3 Cards */}
- {/* INCIDENT ROOT */}
-

INCIDENT ROOT

- +

+ INCIDENT ROOT +

+
- Recovery Source - Simulation Engine + + Recovery Source + + + Simulation Engine +
- +
- Policy Applied - Standard Policy + + Policy Applied + + + Standard Policy +
- +
- Jurisdiction - EU261 + + Jurisdiction + + + EU261 +
{/* ASSIGNMENT */}
-

ASSIGNMENT

- +

+ ASSIGNMENT +

+
-
-

"Coming soon"

-
-
-
-
- -
-
-
Emma Watson
-
Case Officer
-
+
+

+ "Coming soon" +

+
+
+
+
+
- } - className="w-full !border-gray-200 !text-gray-600 !font-semibold hover:!bg-gray-50" - > - Change Assignee - -
+
+
Emma Watson
+
Case Officer
+
+
+ } + className="w-full !border-gray-200 !text-gray-600 !font-semibold hover:!bg-gray-50" + > + Change Assignee + +
{/* RECOVERY SCORE */}
-

RECOVERY SCORE

- +

+ RECOVERY SCORE +

+
- 75 + + 75 + / 100
- +

- Manual review recommended. Aligns with standard EU261 recovery logic. + Manual review recommended. Aligns with standard EU261 recovery + logic.

-
); diff --git a/src/app/recoveryIncidents/tabs/index.tsx b/src/app/recoveryIncidents/tabs/index.tsx index af00601..462e8fc 100644 --- a/src/app/recoveryIncidents/tabs/index.tsx +++ b/src/app/recoveryIncidents/tabs/index.tsx @@ -1,11 +1,12 @@ import { useState } from 'react'; import { useParams } from 'react-router-dom'; -import { ArrowsClockwise, User, AirplaneTilt, Checks, X, ClockCounterClockwise, Sparkle, ArrowLeft } from '@phosphor-icons/react'; +import {User, Checks, X, ClockCounterClockwiseIcon, ArrowLeftIcon, ArrowsClockwiseIcon, AirplaneTiltIcon } from '@phosphor-icons/react'; import { CustomButton, CustomTabs, CustomBackButton, CustomStatus } from '../../../components/custom'; import SummaryTab from './SummaryTab'; import CaseDetailsTab from './CaseDetailsTab'; import RecoveryPlanTab from './RecoveryPlanTab'; import AuditTrailTab from './AuditTrailTab'; +import { SparkleIcon } from 'lucide-react'; export default function RecoveryIncidentTabs() { const { id } = useParams(); @@ -48,11 +49,11 @@ export default function RecoveryIncidentTabs() {
JOHN WICK
-
Q23SXD (FRA → JFK)
+
Q23SXD (FRA → JFK)
} + leftIcon={} className="!bg-[#1B9869] hover:!bg-[#14704E] !text-white !font-semibold !rounded-lg !px-5 !py-2.5" > RE-RUN ENGINE @@ -104,7 +105,7 @@ export default function RecoveryIncidentTabs() { {/* Sidebar Content */}
- +

AI RECOMMENDATION

@@ -136,7 +137,7 @@ export default function RecoveryIncidentTabs() { } + rightIcon={} className="w-full !py-3 !bg-[#1B9869]/50 !text-white !font-semibold !rounded-lg" > EXECUTE RECOMMENDATION @@ -159,7 +160,7 @@ export default function RecoveryIncidentTabs() { } + leftIcon={} className="!bg-[#FEF3C7] !text-[#B45309] !font-bold !rounded-lg !border !border-[#B45309] hover:!bg-[#FDE68A]" > MARK FOR REVIEW diff --git a/src/layout/AppSidebar.tsx b/src/layout/AppSidebar.tsx index 764fe67..0ab4fdc 100644 --- a/src/layout/AppSidebar.tsx +++ b/src/layout/AppSidebar.tsx @@ -1,27 +1,27 @@ -import { useState } from 'react'; -import { Link, useLocation } from 'react-router-dom'; +import { useState } from "react"; +import { Link, useLocation } from "react-router-dom"; import { - ShieldCheck, - Gear, - ClockCounterClockwise, - CaretDoubleRight, - SquaresFour, - Faders, - ArrowsClockwise, - UsersFour, - CaretDoubleLeft, - SignOut, - Question -} from '@phosphor-icons/react'; + SquaresFourIcon, + FadersIcon, + ArrowsClockwiseIcon, + UsersFourIcon, + CaretDoubleLeftIcon, + QuestionIcon, + SignOutIcon, + GearIcon, + ClockCounterClockwiseIcon, + CaretDoubleRightIcon, +} from "@phosphor-icons/react"; +import { ShieldCheckIcon } from "lucide-react"; const NAV_ITEMS = [ - { label: 'Dashboard', path: '/', icon: SquaresFour }, - { label: 'Simulation Engine', path: '/simulation', icon: Faders }, - { label: 'Recovery Incidents', path: '/recovery', icon: ArrowsClockwise }, - { label: 'Cohort Management', path: '/cohorts', icon: UsersFour }, - { label: 'Policy Engine', path: '/policy-engine', icon: ShieldCheck }, - { label: 'Configuration', path: '/config', icon: Gear }, - { label: 'Audit Logs', path: '/audit', icon: ClockCounterClockwise }, + { label: "Dashboard", path: "/", icon: SquaresFourIcon }, + { label: "Simulation Engine", path: "/simulation", icon: FadersIcon }, + { label: "Recovery Incidents", path: "/recovery", icon: ArrowsClockwiseIcon }, + { label: "Cohort Management", path: "/cohorts", icon: UsersFourIcon }, + { label: "Policy Engine", path: "/policy-engine", icon: ShieldCheckIcon }, + { label: "Configuration", path: "/config", icon: GearIcon }, + { label: "Audit Logs", path: "/audit", icon: ClockCounterClockwiseIcon }, ]; interface AppSidebarProps { @@ -37,47 +37,70 @@ export default function AppSidebar({ isOpen, onClose }: AppSidebarProps) { <> {/* Mobile overlay */} {isOpen && ( -
)} - -
{/* Logo Area */} -
+
- +
{!isCollapsed && ( - Aero Resolve + + Aero Resolve + )}
- - +
- - {/* Navigation */} -