# dormamos64/totvs_next architecture

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

- Interactive diagram: https://gitdiagram.com/dormamos64/totvs_next
- Repository: https://github.com/dormamos64/totvs_next

## Overview

Sonar Frontend is a React interface for reviewing sales meetings and team performance. Users navigate an executive dashboard, browse recorded meetings, open an individual meeting audit, and view team metrics; a floating Copilot chat is also available. The product is implemented primarily in one large App.jsx file, so the feature nodes represent distinct responsibilities within that shared implementation, not separate modules. The excerpts show navigation and rendered UI, but do not establish backend services or data persistence.

Main entry points: [`sonar-frontend/src/App.jsx`](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx) (Application UI), [`sonar-frontend/src/main.jsx`](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/main.jsx) (React Entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_review["Meeting Review"]
  node_audio["Audio Repository<br/>[App.jsx]"]
  node_audit["Meeting Audit<br/>[App.jsx]"]
end

subgraph group_insights["Performance Insights"]
  node_dashboard["Executive Dashboard<br/>[App.jsx]"]
  node_team["Team Management<br/>[App.jsx]"]
end

subgraph group_assistant["Assistant"]
  node_copilot["Sonar Copilot<br/>[App.jsx]"]
end

node_user(("User"))
node_entry["React Entry<br/>[main.jsx]"]
node_app["Application UI<br/>[App.jsx]"]

node_entry -->|"renders"| node_app
node_user -->|"interacts"| node_app
node_app -->|"renders"| node_dashboard
node_app -->|"selects"| node_audio
node_app -->|"selects"| node_team
node_app -->|"opens"| node_audit
node_app -->|"toggles"| node_copilot

click node_entry "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/main.jsx"
click node_app "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"
click node_dashboard "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"
click node_audio "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"
click node_audit "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"
click node_team "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"
click node_copilot "https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx"

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_audio,node_audit,node_user,node_app toneBlue
class node_dashboard,node_team toneAmber
class node_copilot toneMint
class node_entry toneTeal
```

## Components

### Meeting Review

- [Audio Repository](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`
- [Meeting Audit](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`

### Performance Insights

- [Executive Dashboard](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`
- [Team Management](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`

### Assistant

- [Sonar Copilot](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`

### Other components

- **User**
- [React Entry](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/main.jsx): `sonar-frontend/src/main.jsx`
- [Application UI](https://github.com/dormamos64/totvs_next/blob/main/sonar-frontend/src/App.jsx): `sonar-frontend/src/App.jsx`

## Connections

- React Entry → Application UI: renders (evidence: `sonar-frontend/src/main.jsx`)
- User → Application UI: interacts (evidence: `sonar-frontend/src/App.jsx`)
- Application UI → Executive Dashboard: renders (evidence: `sonar-frontend/src/App.jsx`)
- Application UI → Audio Repository: selects (evidence: `sonar-frontend/src/App.jsx`)
- Application UI → Team Management: selects (evidence: `sonar-frontend/src/App.jsx`)
- Application UI → Meeting Audit: opens (evidence: `sonar-frontend/src/App.jsx`)
- Application UI → Sonar Copilot: toggles (evidence: `sonar-frontend/src/App.jsx`)
