How mtgazer/gymflow works
GymFlow is a local desktop gym-management application. The owner opens the dashboard or member list from the sidebar; member workflows search records and launch add, edit, renew, or delete interactions, while dashboard views summarize membership and subscription activity. SQLite stores members, plans, and subscriptions. The graph preserves the documented revenue and subscription capabilities within the dashboard and data layer. Some database methods and UI modules were only partially sampled; edges are limited to visible calls or README-documented behavior.
Main entry points: members.py Member list and search · app.py Application shell · database.py Gym data operations · dashboard.py Statistics and activity
Components 13
Desktop shell
- Application shell
app.py - Sidebar navigation
ui/sidebar.py
Member management
- Member list and search
ui/members.py - Add member
ui/dialogs/add_member.py - Edit member
ui/dialogs/edit_member.py - Renew membership
ui/dialogs/renew_member.py - Delete confirmation
ui/dialogs/delete_member.py
Dashboard and presentation
- Statistics and activity
ui/dashboard.py - Reusable UI cards
ui/components.py - Application configuration
config.py
Local data
- Gym data operations
database.py - SQLite database
gym.db
Other components
- Gym owner
Connections 23
- Gym owner → Application shell: opens
README.md - Application shell → Sidebar navigation: creates
app.py - Application shell → Statistics and activity: creates
app.py - Application shell → Member list and search: creates
app.py - Sidebar navigation → Application shell: selects page
ui/sidebar.py - Member list and search → Add member: opens
ui/members.py - Member list and search → Edit member: opens
ui/members.py - Member list and search → Renew membership: opens
ui/members.py - Member list and search → Delete confirmation: opens
ui/members.py - Delete confirmation → Member list and search: confirms callback
ui/dialogs/delete_member.py - Member list and search → Gym data operations: queries and deletes
ui/members.py - Add member → Gym data operations: creates records
ui/dialogs/add_member.py - Edit member → Gym data operations: loads and updates
ui/dialogs/edit_member.py - Renew membership → Gym data operations: loads and subscribes
ui/dialogs/renew_member.py - Member list and search → Reusable UI cards: renders cards
ui/members.py - Member list and search → Statistics and activity: refreshes
ui/members.py - Statistics and activity → Gym data operations: reads metrics
ui/dashboard.py - Statistics and activity → Reusable UI cards: renders cards
ui/dashboard.py - Gym data operations → SQLite database: reads and writes
database.py - Application shell → Application configuration: reads settings
app.py - Sidebar navigation → Reusable UI cards: uses buttons
ui/sidebar.py - Member list and search → Application configuration: uses styling
ui/members.py - Statistics and activity → Application configuration: uses styling
ui/dashboard.py