Skip to content

chore: upgrade packages and fix analyzer warnings - #25

Open
Devasy wants to merge 3 commits into
mainfrom
jules-upgrade-packages-300904665365782246
Open

chore: upgrade packages and fix analyzer warnings#25
Devasy wants to merge 3 commits into
mainfrom
jules-upgrade-packages-300904665365782246

Conversation

@Devasy

@Devasy Devasy commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Upgraded major packages and resolved flutter analyzer warnings, ignoring info-level notices as requested.


PR created automatically by Jules for task 300904665365782246 started by @Devasy23

- Upgraded packages in pubspec.yaml to their latest major versions.
- Replaced deprecated `withOpacity(...)` with `.withValues(alpha: ...)`.
- Fixed unused variable warnings in analytics, home, and workout flow screens.
- Fixed `use_build_context_synchronously` warnings across multiple files.
- Migrated deprecated `Share` methods to `SharePlus.instance.share`.
- Adjusted widget tests to properly handle offscreen widgets.

Co-authored-by: Devasy23 <110348311+Devasy23@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Devasy has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 50 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 20 minutes and 50 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3f0cddc9-e2d3-49dc-8054-6e36dfb6134e

📥 Commits

Reviewing files that changed from the base of the PR and between f7c5b8c and 7397950.

📒 Files selected for processing (36)
  • .github/skills/flutter-expert/SKILL.md
  • .github/workflows/release.yml
  • .github/workflows/test.yml
  • 12week_plan.html
  • CLAUDE.md
  • README.md
  • docs/example_12_week_program.json
  • workout-logger/lib/main.dart
  • workout-logger/lib/models/models.dart
  • workout-logger/lib/screens/add_custom_exercise_screen.dart
  • workout-logger/lib/screens/analytics_screen.dart
  • workout-logger/lib/screens/edit_workout_session_screen.dart
  • workout-logger/lib/screens/exercise_library_screen.dart
  • workout-logger/lib/screens/history_screen.dart
  • workout-logger/lib/screens/home_screen.dart
  • workout-logger/lib/screens/profile_screen.dart
  • workout-logger/lib/screens/programs/import_program_screen.dart
  • workout-logger/lib/screens/programs/program_designer_screen.dart
  • workout-logger/lib/screens/programs/program_detail_screen.dart
  • workout-logger/lib/screens/programs/programs_screen.dart
  • workout-logger/lib/screens/routines_screen.dart
  • workout-logger/lib/screens/settings_screen.dart
  • workout-logger/lib/screens/workout_flow_screen.dart
  • workout-logger/lib/services/interfaces/storage_service_interface.dart
  • workout-logger/lib/services/managers/managers.dart
  • workout-logger/lib/services/managers/program_manager.dart
  • workout-logger/lib/services/settings_provider.dart
  • workout-logger/lib/services/storage_service.dart
  • workout-logger/lib/services/workout_provider.dart
  • workout-logger/lib/theme/app_theme.dart
  • workout-logger/pubspec.yaml
  • workout-logger/test/add_custom_exercise_screen_test.dart
  • workout-logger/test/exercise_library_screen_test.dart
  • workout-logger/test/program_manager_test.dart
  • workout-logger/test/test_utils/mock_storage_service.dart
  • workout-logger/test/workout_provider_test.dart

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Devasy

Devasy commented Apr 16, 2026

Copy link
Copy Markdown
Owner Author

@jules can you please fix this?

- Updated widget tests in `exercise_library_screen_test.dart` to use `.first` for `TextField` to resolve matching ambiguity caused by Flutter upgrades.
- Ensured tests correctly simulate visibility and tapping for offscreen components using `ensureVisible()` and `warnIfMissed: false` where necessary.

Co-authored-by: Devasy23 <110348311+Devasy23@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant