# imidd912/mobile-fitness-schedule-app architecture

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

- Interactive diagram: https://gitdiagram.com/imidd912/mobile-fitness-schedule-app
- Repository: https://github.com/imidd912/mobile-fitness-schedule-app

## Overview

Gympler is a React Native weekly workout planner. Users choose a day, view its workout, and can open the add-exercise screen; the README also documents editing and deleting exercises and keeping workouts separate by day. The sampled Monday screen currently defines sample exercises but does not render them, and no persistence implementation is evidenced. The graph includes the documented management capabilities, while limiting code-level connections to relationships visible in the excerpts or README.

Main entry points: [`components/ui/collapsible.tsx`](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/ui/collapsible.tsx) (Collapsible panel), [`hooks/use-theme-color.ts`](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/hooks/use-theme-color.ts) (Theme colors), [`components/parallax-scroll-view.tsx`](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/parallax-scroll-view.tsx) (Parallax view), [`app/(tabs)/monday.tsx`](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/monday.tsx) (Daily workout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workouts["Workout planning"]
  node_home["Day selector<br/>[index.tsx]"]
  node_daily["Daily workout<br/>[monday.tsx]"]
  node_exercise_form["Add exercise<br/>[addExercise.tsx]"]
  node_exercise_management["Exercise editing"]
end

subgraph group_navigation["App navigation"]
  node_tab_routes["Tab routing<br/>[_layout.tsx]"]
  node_app_routes["App routing<br/>[_layout.tsx]"]
  node_explore["Explore screen<br/>[explore.tsx]"]
  node_modal["Modal screen<br/>[modal.tsx]"]
end

subgraph group_presentation["Shared presentation"]
  node_themed_text["Themed text<br/>[themed-text.tsx]"]
  node_themed_view["Themed view<br/>[themed-view.tsx]"]
  node_theme_color["Theme colors<br/>[use-theme-color.ts]"]
  node_color_scheme["Color scheme"]
  node_theme_defs["Theme definitions<br/>[theme.ts]"]
  node_icons["Platform icons<br/>[icon-symbol.tsx]"]
  node_collapsible["Collapsible panel<br/>[collapsible.tsx]"]
  node_parallax["Parallax view"]
end

node_user(("Fitness user"))

node_user -->|"chooses day"| node_home
node_home -->|"routes Monday"| node_daily
node_daily -->|"opens form"| node_exercise_form
node_user -->|"manages exercises"| node_exercise_management
node_exercise_management -->|"keeps days separate"| node_daily
node_themed_text -->|"gets text color"| node_theme_color
node_themed_view -->|"gets background"| node_theme_color
node_theme_color -->|"reads scheme"| node_color_scheme
node_theme_color -->|"reads palette"| node_theme_defs
node_collapsible -->|"renders title"| node_themed_text
node_collapsible -->|"renders content"| node_themed_view
node_collapsible -->|"renders icon"| node_icons
node_collapsible -->|"reads scheme"| node_color_scheme
node_collapsible -->|"reads icons colors"| node_theme_defs
node_parallax -->|"renders content"| node_themed_view
node_parallax -->|"reads scheme"| node_color_scheme
node_parallax -->|"gets background"| node_theme_color

click node_home "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/index.tsx"
click node_daily "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/monday.tsx"
click node_exercise_form "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/addExercise.tsx"
click node_exercise_management "https://github.com/imidd912/mobile-fitness-schedule-app/tree/main/app/(tabs)"
click node_tab_routes "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/_layout.tsx"
click node_app_routes "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/_layout.tsx"
click node_explore "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/explore.tsx"
click node_modal "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/modal.tsx"
click node_themed_text "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/themed-text.tsx"
click node_themed_view "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/themed-view.tsx"
click node_theme_color "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/hooks/use-theme-color.ts"
click node_color_scheme "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/hooks/use-color-scheme.ts"
click node_theme_defs "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/constants/theme.ts"
click node_icons "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/ui/icon-symbol.tsx"
click node_collapsible "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/ui/collapsible.tsx"
click node_parallax "https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/parallax-scroll-view.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_home,node_daily,node_exercise_form,node_exercise_management,node_user toneBlue
class node_tab_routes,node_app_routes,node_explore,node_modal toneAmber
class node_themed_text,node_themed_view,node_theme_color,node_color_scheme,node_theme_defs,node_icons,node_collapsible,node_parallax toneMint
```

## Components

### Workout planning

- [Day selector](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/index.tsx): `app/(tabs)/index.tsx`
- [Daily workout](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/monday.tsx): `app/(tabs)/monday.tsx`
- [Add exercise](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/addExercise.tsx): `app/(tabs)/addExercise.tsx`
- [Exercise editing](https://github.com/imidd912/mobile-fitness-schedule-app/tree/main/app/(tabs)): `app/(tabs)`

### App navigation

- [Tab routing](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/_layout.tsx): `app/(tabs)/_layout.tsx`
- [App routing](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/_layout.tsx): `app/_layout.tsx`
- [Explore screen](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/(tabs)/explore.tsx): `app/(tabs)/explore.tsx`
- [Modal screen](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/app/modal.tsx): `app/modal.tsx`

### Shared presentation

- [Themed text](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/themed-text.tsx): `components/themed-text.tsx`
- [Themed view](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/themed-view.tsx): `components/themed-view.tsx`
- [Theme colors](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/hooks/use-theme-color.ts): `hooks/use-theme-color.ts`
- [Color scheme](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/hooks/use-color-scheme.ts): `hooks/use-color-scheme.ts`
- [Theme definitions](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/constants/theme.ts): `constants/theme.ts`
- [Platform icons](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/ui/icon-symbol.tsx): `components/ui/icon-symbol.tsx`
- [Collapsible panel](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/ui/collapsible.tsx): `components/ui/collapsible.tsx`
- [Parallax view](https://github.com/imidd912/mobile-fitness-schedule-app/blob/main/components/parallax-scroll-view.tsx): `components/parallax-scroll-view.tsx`

### Other components

- **Fitness user**

## Connections

- Fitness user → Day selector: chooses day (evidence: `README.md`)
- Day selector → Daily workout: routes Monday (evidence: `app/(tabs)/index.tsx`)
- Daily workout → Add exercise: opens form (evidence: `app/(tabs)/monday.tsx`)
- Fitness user → Exercise editing: manages exercises (evidence: `README.md`)
- Exercise editing → Daily workout: keeps days separate (evidence: `README.md`)
- Themed text → Theme colors: gets text color (evidence: `components/themed-text.tsx`)
- Themed view → Theme colors: gets background (evidence: `components/themed-view.tsx`)
- Theme colors → Color scheme: reads scheme (evidence: `hooks/use-theme-color.ts`)
- Theme colors → Theme definitions: reads palette (evidence: `hooks/use-theme-color.ts`)
- Collapsible panel → Themed text: renders title (evidence: `components/ui/collapsible.tsx`)
- Collapsible panel → Themed view: renders content (evidence: `components/ui/collapsible.tsx`)
- Collapsible panel → Platform icons: renders icon (evidence: `components/ui/collapsible.tsx`)
- Collapsible panel → Color scheme: reads scheme (evidence: `components/ui/collapsible.tsx`)
- Collapsible panel → Theme definitions: reads icons colors (evidence: `components/ui/collapsible.tsx`)
- Parallax view → Themed view: renders content (evidence: `components/parallax-scroll-view.tsx`)
- Parallax view → Color scheme: reads scheme (evidence: `components/parallax-scroll-view.tsx`)
- Parallax view → Theme colors: gets background (evidence: `components/parallax-scroll-view.tsx`)
