Open
Conversation
Add hormone tracking, body stats tracking, diet plan management, progress photos, and trainer profile management features. * **Hormone Tracking:** - Add `HormoneTrackerService` to manage hormone data. - Add `HormoneScheduleScreen` to view and edit hormone schedules. - Add `HormoneCard` widget to display hormone details. * **Body Stats Tracking:** - Add `BodyTrackingScreen` to display body stats and progress charts. - Add `BodyStats` model to define body stats data structure. - Add `BodyStatChart` widget to visualize body stats over time. - Add `BodyStatsService` to manage body stats data. * **Diet Plan Management:** - Add `DietPlanScreen` to view and edit diet plans. - Add `DietPlan` model to define diet plan data structure. - Add `DietCard` widget to display diet plan details. * **Progress Photos:** - Add `ProgressPhotosScreen` to upload and view progress photos. - Add `PhotoComparisonWidget` to compare before and after photos. * **Trainer Profile Management:** - Add `TrainerDashboardScreen` to view and manage clients. - Add `TrainerProfile` model to define trainer and client data structure. - Add `ClientCard` widget to display client details. * **Notification System:** - Add `NotificationService` to handle notifications for training sessions, meal plans, and hormone schedules. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/sakura-source/Werdany?shareId=XXXX-XXXX-XXXX-XXXX).
* **DashboardScreen** - Create a stateful widget `DashboardScreen` to display body stats, progress photos, and hormone dosages - Integrate `BodyStatsService` and `HormoneTrackerService` to load data - Use `ListView` and `Card` widgets for layout * **CustomButton** - Create a reusable `CustomButton` widget with consistent padding, margins, and colors * **CustomCard** - Create a reusable `CustomCard` widget with customizable padding, margins, and colors * **Global Theme** - Add a global theme to the app using Material Design principles
* **HormoneTrackerService**: Add methods for CRUD operations, authentication, error handling, and synchronization with the online database. * **HormoneScheduleScreen**: Integrate HormoneTrackerService, add UI elements for managing hormone schedules, and show notifications for upcoming schedules. * **Hormone**: Define a class with fields for name, dosage, schedule, and purpose, and implement JSON conversion methods. * **HormoneCard**: Add a widget to display hormone details. * **NotificationService**: Schedule notifications for hormone schedules.
* **HormoneTrackerService**: Add methods to collect, add, edit, and delete hormone data. Implement synchronization with an online database using HTTP requests. * **HormoneScheduleScreen**: Use `HormoneCard` widget to display hormone details. * **HormoneCard**: Create a reusable widget to showcase hormone details and allow editing. * **TrainerDashboardScreen**: Add messaging system and hormone management functionality. * **DashboardScreen**: Add navigation to various screens and display progress visualization. * **Models and Services**: Add `Hormone` model, `ApiService`, and `SyncService` for data synchronization.
* **BodyTrackingScreen**: Create stateful widget to display body stats and progress charts. Implement UI to add, edit, and delete body stats. Integrate `BodyStatsService` to manage body stats data. * **BodyStats**: Define class with fields for weight, muscle mass, and fat percentage. Implement methods to convert body stats data to and from JSON. * **BodyStatChart**: Create stateless widget to visualize body stats over time using `fl_chart`. Add methods to update the chart with new data. * **BodyStatsService**: Create class to manage body stats data. Implement methods to add, edit, and delete body stats. Add methods to retrieve body stats data from SQLite database. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/sakura-source/Werdany/pull/1?shareId=XXXX-XXXX-XXXX-XXXX).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Werdany'sBodybuilding Trainer App is designed to set a new standard for fitness management by integrating advanced tracking systems, personalized plans, and an engaging user experience. This app targets bodybuilders, trainers, and fitness enthusiasts, providing them with tools for effective progress tracking, hormone management, and goal-oriented training.
Core Features
Hormone Tracking System
• Dosage Management:
• Users can schedule, edit, and track hormone dosages directly within the app.
• Display current, past, and future dosages in an easy-to-read calendar view.
• Usage Timings & Alerts:
• Notifications ensure timely intake of hormones, with options for snooze or reschedule.
• Purpose Explanation:
• Each hormone has a dedicated section explaining its benefits, purposes, and role in bodybuilding.
Training & Nutrition Plans
• Personalized Training:
• Customized training schedules tailored to specific goals (e.g., hypertrophy, cutting, strength training).
• Plans are divided into phases with video demonstrations for each exercise.
• Nutrition Guidance:
• Meal plans customized for weight loss, muscle gain, or maintenance.
• Includes macronutrient breakdown and daily calorie goals.
Body Stats Monitoring
• Metrics Tracking:
• Monitor weight, body fat percentage, muscle mass, and hydration levels.
• Visual Progress:
• Graphs showing progress trends over weeks or months.
• Option to upload progress photos with before-and-after comparison tools.
Competition Prep (For Champions like Ahmed El-Wardany)
• Prep Planner:
• Countdown to competition day with motivational messages (e.g., “20 days to glory!”).
• Track weight targets and training phases.
• Posing Coach:
• Video tutorials and virtual mirrors for analyzing and improving posing techniques.
• Advanced Training Modules:
• Strength, hypertrophy, and cutting phases are meticulously detailed.
Trainee Management System (For Trainers)
• Trainee Profiles:
• Trainers can manage multiple trainee profiles with individual goals, plans, and progress reports.
• Direct Communication:
• Integrated chat for trainers to send motivational messages and feedback.
• Progress Reports:
• Weekly reports on workout adherence, weightlifting progression, and dietary compliance.
Knowledge Hub & Sponsorship Management
• Educational Library:
• Access to scientific articles, exercise guides, and nutrition tips.
• Sponsorship Manager:
• Manage sponsorship commitments, meetings, and photo shoots.
Technical Features
Organized for scalability and maintainability:
lib/
├── main.dart // Entry point
├── screens/ // App screens
│ ├── hormone_schedule_screen.dart
│ ├── training_screen.dart
│ ├── nutrition_screen.dart
│ ├── progress_photos_screen.dart
│ ├── settings_screen.dart
│ ├── onboarding_screen.dart
│ ├── trainer_dashboard_screen.dart
├── widgets/ // Reusable widgets
│ ├── hormone_card.dart
│ ├── progress_graph.dart
│ ├── photo_comparison_widget.dart
├── models/ // Data models
│ ├── hormone.dart
│ ├── body_stats.dart
│ ├── diet_plan.dart
│ ├── trainer_profile.dart
├── services/ // Backend logic
│ ├── hormone_tracker_service.dart
│ ├── notification_service.dart
│ ├── body_stats_service.dart
│ ├── ai_recommendation_service.dart
├── database/ // Database
│ ├── database_helper.dart
├── utils/ // Utility functions
│ ├── constants.dart
│ ├── helpers.dart
├── assets/ // App assets
│ ├── images/ // Image files
│ ├── icons/ // Icon files
│ ├── fonts/ // Custom fonts
Backend
• SQLite Database:
• Stores data locally for offline access.
• CRUD operations for hormones, training, and nutrition plans.
• RESTful APIs:
• Optional integration for cloud synchronization.
• Notification System:
• Uses flutter_local_notifications to send reminders and motivational alerts.
AI Integration
• AI-Powered Recommendations:
• Suggest optimized training routines, nutrition plans, and hormone schedules.
• Uses a combination of machine learning and rule-based logic.
Testing & Debugging
• Unit tests ensure database functionality and smooth user interactions.
• Performance profiling for seamless app usage on iOS and Android.
UI/UX Design
User Interfaces
• Champion’s UI:
• Luxurious gold-themed design with motivational text in the Kuwaiti dialect.
• Trainee’s UI:
• Simple, vibrant, and user-friendly interface with daily workout highlights.
Accessibility
• Supports light and dark modes.
• Multi-language support with localization for Arabic and English.
Visuals
• High-quality images and animations for engaging user experience.
• Progress tracking with visually appealing graphs and charts.
Key Deliverables
1. Fully functional Flutter app ready for deployment.
2. Hormone tracking system with notifications.
3. Personalized training and nutrition plans.
4. Progress tracking with photo comparison tools.
5. Trainee management system for trainers.
6. Luxurious UI tailored for bodybuilders and trainees.