A modern UI application for tracking Capital Markets Systems of Record (SORs) and their activities with SLA monitoring. Built with React, Vite, React Flow, and ShadCN UI.
- 📋 Sidebar Navigation: List of all Capital Markets SORs on the left
- 📊 Interactive Flow View: Visual activity flow using React Flow when a SOR is selected
- 🎨 Color-coded Activity Statuses:
- Not Started: Gray
- In Progress: Blue
- Done (SLA Met): Green
- Done (SLA Missed): Red
- ✅ SLA Tracking: Automatic SLA breach detection based on completion time
- 🟢 SOR Completion Status: SORs are highlighted green when all activities are complete
- 📱 Responsive Design: Modern UI with ShadCN components
-
Left Sidebar: Lists all Capital Markets SORs with:
- SOR name and status
- Activity progress indicator (progress bars)
- Completion badge for completed SORs
- Click to select and view details
-
Main Content Area: Shows selected SOR's:
- Activity flow diagram (React Flow)
- Detailed activity cards with SLA information
- Status legend
Each SOR has 4 sequential activities:
- Trade Data Collection
- Position Reconciliation
- PNL Calculation
- PNL Reporting
Activities are dependent on the previous one (sequential workflow).
- Not Started: Gray color
- In Progress: Blue color
- Done (SLA Met): Green color
- Done (SLA Missed): Red color
- SORs are highlighted green in the sidebar when all activities are completed
- Selected SOR is highlighted blue
- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:5173 in your browser (Vite uses port 5173 by default)
src/App.tsx- Main dashboard component with sidebar and detail viewsrc/main.tsx- Application entry pointsrc/components/SORSidebar.tsx- Left sidebar component listing all SORssrc/components/SORDetailView.tsx- Main content area showing selected SOR detailssrc/components/ActivityFlow.tsx- React Flow visualization componentsrc/types/index.ts- TypeScript type definitionssrc/lib/activity-utils.ts- Utility functions for activity status and SLA calculationssrc/data/mock-data.ts- Sample Capital Markets SOR data (5 SORs)
- React 18 - UI library
- Vite - Build tool and dev server
- React Flow - Flow diagram visualization
- ShadCN UI - UI component library
- Tailwind CSS - Styling
- TypeScript - Type safety