Skip to content

fix(tv): guard fullscreen back handling#1062

Merged
ucguy4u merged 4 commits into
mainfrom
codex/release-v0.0.5
Jul 22, 2026
Merged

fix(tv): guard fullscreen back handling#1062
ucguy4u merged 4 commits into
mainfrom
codex/release-v0.0.5

Conversation

@ucguy4u

@ucguy4u ucguy4u commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the v0.0.5 release prep merge. This PR adds the remaining IPTV fullscreen Back handling and stabilizes focused widget tests against the current player settings/drawer UI.

Changes

  • Add route/back handling for fullscreen IPTV playback on mobile and embedded TV screen bodies.
  • Update IPTV drawer/app-bar tests to invoke stable UI callbacks instead of brittle hit-test coordinates.
  • Update player background-mode tests for the current Player settings → Listen only action.
  • Add the missing PiP preference hook to the backgrounding coordinator spy.

Testing

  • cd packages/feature_iptv && flutter analyze lib test --no-fatal-infos --no-fatal-warnings
  • cd packages/feature_iptv && flutter test test/iptv/presentation/screens/iptv_screen_test.dart test/iptv/presentation/tv/iptv_tv_screen_test.dart test/iptv/iptv_cast_ui_test.dart test/iptv/iptv_cast_notifier_test.dart test/presentation/widgets/video_player_widget_background_modes_test.dart --reporter=compact
  • cd packages/platform_player && flutter analyze lib/src/services/flutter_chrome_cast_controller.dart test/flutter_chrome_cast_controller_test.dart --no-fatal-infos --no-fatal-warnings
  • cd packages/platform_player && flutter test test/flutter_chrome_cast_controller_test.dart --reporter=compact
  • cd app && flutter analyze lib/core/app/tv_router.dart lib/main_tv.dart test/core/app/tv_router_test.dart test/main_tv_debug_playlist_test.dart --no-fatal-infos --no-fatal-warnings
  • cd app && flutter test test/core/app/tv_router_test.dart test/main_tv_debug_playlist_test.dart --reporter=compact
  • git diff --check

uday chauhan added 3 commits July 22, 2026 21:10
- add fullscreen route/back handling for IPTV screen variants

- stabilize drawer, app-bar, and player settings widget tests against current UI

- update background-mode test spy for the PiP preference contract

Keeps the v0.0.5 release gate aligned with the current player controls.
@github-actions

Copy link
Copy Markdown
Contributor

Plugin Module Size Gate

Policy: modules over 3 MB must be delivered as plugins; plugin modules over 5 MB must document cache management.

Module Size Type Status
packages/feature_iptv 1.17 MB bundled WARN: 1-3 MB requires PR size justification

@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR Quick Check Summary

Check Status Description
PR Validation ✅ success Title format, docs, bundled model guardrail
Code Quality ✅ success Analyze, formatting
Core Tests ✅ success Core package unit tests

💡 Note: Full app tests, coverage reports, and security scans run on merge to main.

View Details

@ucguy4u
ucguy4u merged commit f21eca3 into main Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR Quick Check Summary

Check Status Description
PR Validation ✅ success Title format, docs, bundled model guardrail
Code Quality ✅ success Analyze, formatting
Core Tests ✅ success Core package unit tests

💡 Note: Full app tests, coverage reports, and security scans run on merge to main.

View Details

@sonarqubecloud

Copy link
Copy Markdown

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