# jonasrosauro122-a11y/bhebe-working-system architecture

> Architecture diagram of the GitHub repository jonasrosauro122-a11y/bhebe-working-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jonasrosauro122-a11y/bhebe-working-system
- Repository: https://github.com/jonasrosauro122-a11y/bhebe-working-system

## Overview

Taskflow is a browser-based insurance task manager. Users manage policy-related tasks by filtering or searching, viewing them in a list or calendar, and creating, updating, completing, or deleting them; task state and preferences persist locally, with due-time notifications when supported. Separate views read claim photos and documents, and the app offers task export and theme controls. Several view implementations were not fully sampled, so their internal processing and integrations are not inferred here.

Main entry points: [`src/App.tsx`](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/App.tsx) (App coordinator), [`src/useTasks.ts`](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useTasks.ts) (Task state), [`src/components/TaskList.tsx`](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskList.tsx) (Task list), [`src/components/TaskCard.tsx`](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskCard.tsx) (Task card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application UI"]
  node_app["App coordinator<br/>[App.tsx]"]
  node_header["Header<br/>[Header.tsx]"]
  node_sidebar["Sidebar<br/>[Sidebar.tsx]"]
  node_stats["Task statistics<br/>[StatsBar.tsx]"]
  node_search["Task search<br/>[SearchBar.tsx]"]
  node_dialog["Confirm dialog<br/>[ConfirmDialog.tsx]"]
end

subgraph group_tasks["Task Management"]
  node_tasklist["Task list<br/>[TaskList.tsx]"]
  node_calendar["Calendar view<br/>[CalendarView.tsx]"]
  node_taskcard["Task card<br/>[TaskCard.tsx]"]
  node_taskform["Task form<br/>[TaskFormModal.tsx]"]
  node_taskstate["Task state<br/>[useTasks.ts]"]
  node_localstate[("Local persistence<br/>[useLocalStorage.ts]")]
  node_types["Task domain types<br/>[types.ts]"]
  node_dateutils["Date utilities<br/>[utils.ts]"]
  node_notifications["Due notifications"]
end

subgraph group_tools["Reading and Preferences"]
  node_claims["Claims photo reader<br/>[ClaimsView.tsx]"]
  node_reader["Document reader<br/>[ReaderView.tsx]"]
  node_theme["Theme preference<br/>[useTheme.ts]"]
end

node_user(("User"))

node_user -->|"uses"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders"| node_sidebar
node_app -->|"renders"| node_stats
node_app -->|"renders"| node_search
node_app -->|"renders"| node_tasklist
node_app -->|"renders"| node_calendar
node_app -->|"renders"| node_claims
node_app -->|"renders"| node_reader
node_app -->|"renders"| node_taskform
node_app -.->|"renders"| node_dialog
node_app -->|"uses state"| node_taskstate
node_app -->|"uses theme"| node_theme
node_tasklist -->|"renders"| node_taskcard
node_taskform -->|"submits changes"| node_app
node_app -->|"updates tasks"| node_taskstate
node_taskstate -->|"persists state"| node_localstate
node_taskstate -->|"calculates due state"| node_dateutils
node_taskstate -->|"sends alerts"| node_notifications
node_theme -->|"persists preference"| node_localstate
node_taskcard -->|"formats dates"| node_dateutils

click node_app "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/App.tsx"
click node_header "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/Header.tsx"
click node_sidebar "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/Sidebar.tsx"
click node_stats "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/StatsBar.tsx"
click node_search "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/SearchBar.tsx"
click node_dialog "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ConfirmDialog.tsx"
click node_tasklist "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskList.tsx"
click node_calendar "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/CalendarView.tsx"
click node_taskcard "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskCard.tsx"
click node_taskform "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskFormModal.tsx"
click node_taskstate "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useTasks.ts"
click node_localstate "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useLocalStorage.ts"
click node_types "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/types.ts"
click node_dateutils "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/utils.ts"
click node_notifications "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useNotifications.ts"
click node_claims "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ClaimsView.tsx"
click node_reader "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ReaderView.tsx"
click node_theme "https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useTheme.ts"

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_app,node_header,node_sidebar,node_stats,node_search,node_dialog,node_user toneBlue
class node_tasklist,node_calendar,node_taskcard,node_taskform,node_taskstate,node_localstate,node_types,node_dateutils,node_notifications toneAmber
class node_claims,node_reader,node_theme toneMint
```

## Components

### Application UI

- [App coordinator](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/App.tsx): `src/App.tsx`
- [Header](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Sidebar](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/Sidebar.tsx): `src/components/Sidebar.tsx`
- [Task statistics](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/StatsBar.tsx): `src/components/StatsBar.tsx`
- [Task search](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/SearchBar.tsx): `src/components/SearchBar.tsx`
- [Confirm dialog](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ConfirmDialog.tsx): `src/components/ConfirmDialog.tsx`

### Task Management

- [Task list](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskList.tsx): `src/components/TaskList.tsx`
- [Calendar view](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/CalendarView.tsx): `src/components/CalendarView.tsx`
- [Task card](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskCard.tsx): `src/components/TaskCard.tsx`
- [Task form](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/TaskFormModal.tsx): `src/components/TaskFormModal.tsx`
- [Task state](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useTasks.ts): `src/useTasks.ts`
- [Local persistence](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useLocalStorage.ts): `src/useLocalStorage.ts`
- [Task domain types](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/types.ts): `src/types.ts`
- [Date utilities](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/utils.ts): `src/utils.ts`
- [Due notifications](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useNotifications.ts): `src/useNotifications.ts`

### Reading and Preferences

- [Claims photo reader](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ClaimsView.tsx): `src/components/ClaimsView.tsx`
- [Document reader](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/components/ReaderView.tsx): `src/components/ReaderView.tsx`
- [Theme preference](https://github.com/jonasrosauro122-a11y/bhebe-working-system/blob/main/src/useTheme.ts): `src/useTheme.ts`

### Other components

- **User**

## Connections

- User → App coordinator: uses (evidence: `src/App.tsx`)
- App coordinator → Header: renders (evidence: `src/App.tsx`)
- App coordinator → Sidebar: renders (evidence: `src/App.tsx`)
- App coordinator → Task statistics: renders (evidence: `src/App.tsx`)
- App coordinator → Task search: renders (evidence: `src/App.tsx`)
- App coordinator → Task list: renders (evidence: `src/App.tsx`)
- App coordinator → Calendar view: renders (evidence: `src/App.tsx`)
- App coordinator → Claims photo reader: renders (evidence: `src/App.tsx`)
- App coordinator → Document reader: renders (evidence: `src/App.tsx`)
- App coordinator → Task form: renders (evidence: `src/App.tsx`)
- App coordinator → Confirm dialog: renders (evidence: `src/App.tsx`)
- App coordinator → Task state: uses state (evidence: `src/App.tsx`)
- App coordinator → Theme preference: uses theme (evidence: `src/App.tsx`)
- Task list → Task card: renders (evidence: `src/components/TaskList.tsx`)
- Task form → App coordinator: submits changes (evidence: `src/App.tsx`)
- App coordinator → Task state: updates tasks (evidence: `src/App.tsx`)
- Task state → Local persistence: persists state (evidence: `src/useTasks.ts`)
- Task state → Date utilities: calculates due state (evidence: `src/useTasks.ts`)
- Task state → Due notifications: sends alerts (evidence: `src/useTasks.ts`)
- Theme preference → Local persistence: persists preference (evidence: `src/useTheme.ts`)
- Task card → Date utilities: formats dates (evidence: `src/components/TaskCard.tsx`)
