# gobikrishnanmahalingam/onesrm architecture

> Architecture diagram of the GitHub repository gobikrishnanmahalingam/onesrm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gobikrishnanmahalingam/onesrm
- Repository: https://github.com/gobikrishnanmahalingam/onesrm

## Overview

OneSRM is a React employee-portal prototype. An employee opens the dashboard, browses or filters its app directory, and can select portal shortcuts; the sampled UI shows several selections producing local toast messages rather than confirmed integrations. The dashboard also presents news, HR and benefits content, assigned work, IT self-service, and an assistant interface. These are features of a single sampled dashboard module, not independently verified services. The README describes only the starter template, so product capabilities are inferred from the dashboard excerpts; unsampled behavior and backend connections are not established.

Main entry points: [`One-S/src/dashboard.tsx`](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx) (Portal dashboard), [`One-S/src/main.tsx`](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/main.tsx) (React app mount)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_react_app["React app mount<br/>[main.tsx]"]
end

subgraph group_employee["Employee portal"]
  node_portal_dashboard["Portal dashboard<br/>[dashboard.tsx]"]
  node_app_directory["App directory<br/>[dashboard.tsx]"]
  node_news_info["News and info<br/>[dashboard.tsx]"]
  node_work_items["Work items<br/>[dashboard.tsx]"]
  node_hr_benefits["HR and benefits<br/>[dashboard.tsx]"]
  node_profile["User profile<br/>[dashboard.tsx]"]
end

subgraph group_assistance["Employee support"]
  node_assistant_ui["Assistant interface<br/>[dashboard.tsx]"]
  node_it_support["IT self-service<br/>[dashboard.tsx]"]
  node_toast_feedback["Toast feedback<br/>[dashboard.tsx]"]
end

node_employee_actor(("Employee"))

node_employee_actor -->|"opens portal"| node_react_app
node_react_app -->|"renders"| node_portal_dashboard
node_portal_dashboard -->|"renders"| node_app_directory
node_portal_dashboard -->|"renders"| node_news_info
node_portal_dashboard -->|"renders"| node_work_items
node_portal_dashboard -->|"renders"| node_hr_benefits
node_portal_dashboard -->|"shows"| node_profile
node_portal_dashboard -->|"renders"| node_assistant_ui
node_portal_dashboard -->|"renders"| node_it_support
node_app_directory -->|"shows launch feedback"| node_toast_feedback
node_assistant_ui -->|"shows action feedback"| node_toast_feedback

click node_react_app "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/main.tsx"
click node_portal_dashboard "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_app_directory "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_news_info "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_work_items "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_hr_benefits "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_profile "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_assistant_ui "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_it_support "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"
click node_toast_feedback "https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_react_app toneBlue
class node_portal_dashboard,node_app_directory,node_news_info,node_work_items,node_hr_benefits,node_profile toneAmber
class node_assistant_ui,node_it_support,node_toast_feedback toneMint
class node_employee_actor toneIndigo
```

## Components

### Application entry

- [React app mount](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/main.tsx): `One-S/src/main.tsx`

### Employee portal

- [Portal dashboard](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [App directory](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [News and info](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [Work items](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [HR and benefits](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [User profile](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`

### Employee support

- [Assistant interface](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [IT self-service](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`
- [Toast feedback](https://github.com/gobikrishnanmahalingam/onesrm/blob/main/One-S/src/dashboard.tsx): `One-S/src/dashboard.tsx`

### Other components

- **Employee**

## Connections

- Employee → React app mount: opens portal (evidence: `One-S/src/main.tsx`)
- React app mount → Portal dashboard: renders (evidence: `One-S/src/main.tsx`)
- Portal dashboard → App directory: renders (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → News and info: renders (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → Work items: renders (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → HR and benefits: renders (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → User profile: shows (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → Assistant interface: renders (evidence: `One-S/src/dashboard.tsx`)
- Portal dashboard → IT self-service: renders (evidence: `One-S/src/dashboard.tsx`)
- App directory → Toast feedback: shows launch feedback (evidence: `One-S/src/dashboard.tsx`)
- Assistant interface → Toast feedback: shows action feedback (evidence: `One-S/src/dashboard.tsx`)
