Skip to content

fix: direct billboard playback, YouTube modal TV clickability, and default to Firebase Crashlytics - #858

Merged
ProdigyV21 merged 7 commits into
ProdigyV21:mainfrom
Himanth-reddy:small_changes
Nov 2, 2026
Merged

ProdigyV21 merged 7 commits into
ProdigyV21:mainfrom
Himanth-reddy:small_changes

Conversation

@Himanth-reddy

Copy link
Copy Markdown
Collaborator

Summary of Changes

This PR includes three focused improvements:

  1. Default Crash Reporting to Firebase Crashlytics:

    • Forward EXTRA_CRASH_PROVIDER from MainActivity to CrashReportActivity, defaulting to Firebase Crashlytics.
    • Update CrashReportActivity to default to Firebase Crashlytics unless explicitly specified as Sentry.
    • Update web crash report handlers (netlify-arvio-tv-site/report/index.html and web/app/report/page.tsx) to open the Firebase Crashlytics dashboard unless provider=sentry is passed.
    • Add/update automated tests in netlify-arvio-tv-site/scripts/crash-report.test.cjs.
  2. Direct Playback from Home Billboard & Autoplay Navigation:

    • Direct play from the home billboard banner.
    • Pop details screen on autoplay.
  3. YouTube Trailer Modal TV Clickability:

    • Ensure the 'Watch on YouTube' button in YouTubeTrailerModal is clickable and focusable via TV D-pad.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T15:18:03.643075Z 293a00a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added area: android Changes to the Android app or Gradle build area: web Changes to web or Netlify sites labels Nov 2, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 293a00a1b9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

var autoPlayPending by rememberSaveable(mediaType, mediaId) { mutableStateOf(autoPlay) }

LaunchedEffect(autoPlayPending, uiState.isLoading, uiState.item, kidsGatePending) {
if (autoPlayPending && !uiState.isLoading && uiState.item != null && !kidsGatePending) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for the TV play target before triggering autoplay

When a TV item is played from a billboard or card without nextEpisode (for example, a catalog item for a show with watch history), this condition can fire as soon as metadata loads. DetailsViewModel.loadDetails publishes isLoading = false before its asynchronous resume and episode-progress work fills playSeason and playEpisode; the Play handler then falls back to episode index 0 or S1E1, starting the wrong episode instead of resuming or choosing the next unwatched episode. Wait for the playback target to resolve before firing.

Useful? React with 👍 / 👎.

@ProdigyV21
ProdigyV21 merged commit b753a5e into ProdigyV21:main Nov 2, 2026
4 of 6 checks passed
@ProdigyV21

Copy link
Copy Markdown
Owner

Thanks Himanth! Merged with your original commits preserved.

I fixed a race where Home autoplay could start before resume history/episode progress resolved, which could select the wrong episode or lose the resume position. Autoplay now waits for the resolved target, still respects autoplay-off, and starts only once. I also updated outdated settings/filter mocks in the affected test fixtures without removing assertions.

Verified: Play compilation, Sideload APK/test build, all 2,917 JVM tests (3 existing skips), all 10 Details autoplay/remote-control tests on an Android TV emulator, crash-report tests, and web TypeScript. The Android CI job passed on the production-fix commit; the final test-fixture-only push triggered another run. The four web-suite failures also occur on main and are unrelated to this PR; I have not disabled those checks. Live YouTube/provider playback was not exercised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: android Changes to the Android app or Gradle build area: web Changes to web or Netlify sites

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants