Skip to content

Add Twitch predictions and improve live playback updates - #18

Merged
namecallfilter merged 10 commits into
masterfrom
feature/twitch-predictions
Sep 20, 2026
Merged

namecallfilter merged 10 commits into
masterfrom
feature/twitch-predictions

Conversation

@namecallfilter

@namecallfilter namecallfilter commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add live-chat predictions with live updates, outcome totals, recent results, terms acceptance, and validated Channel Points submissions. Pins and predictions share a compact newest-first switcher; results update automatically without a manual Refresh button.
  • Refresh followed streams and channel live status more frequently, show offline broadcast titles, and open the viewer’s channel from their profile.
  • Improve picture-in-picture eligibility, playback refreshes, and keyboard focus dismissal.

Testing

  • Added tests covering predictions, live-status refreshes, channel navigation, chat, and playback behavior.
  • Latest revision: all 727 Flutter tests pass and the debug APK builds. Android :app:testDebugUnitTest passed before these Dart-only updates. GraphQL code generation completed.
  • flutter analyze --no-pub reports only the existing valid_regexps info diagnostic in chat emoji detection; the same expression is present on the base branch.
  • scrcpy on Pixel: real simultaneous pin/prediction switching, newest-first order, collapsed pin links, live totals, pin expiry, automatic transition to Results, and removal of the waiting label/Refresh button verified. Earlier checks covered background/PiP/resume, network failure/recovery, chat/channel navigation, and predictive keyboard dismissal. No real prediction was submitted; temporary network changes were restored.
  • Documented read-only verification against Twitch’s deployed prediction interfaces; no real predictions or terms acceptance were submitted.

- Add prediction viewing and participation with eligibility checks
- Refresh live status and show offline channel titles
- Improve profile navigation, keyboard dismissal, and picture-in-picture handling
Comment thread lib/features/player/twitch_prediction_card.dart Outdated
Comment thread lib/features/player/twitch_chat_panel.dart Outdated
Comment thread lib/features/channel/channel_screen.dart
Comment thread lib/api/twitch_api.dart
Comment thread lib/features/following/following_store.dart Outdated
- Keep channel shortcuts in user details and soften username labels
- Clear focus after predictive keyboard dismissal on Android
Comment thread lib/features/player/twitch_chat_panel.dart
Comment thread lib/features/player/twitch_prediction_card.dart Outdated
Comment thread lib/features/player/twitch_prediction_card.dart Outdated
Comment thread lib/features/player/twitch_prediction_card.dart Outdated
- Auto-collapse pins with two or more lines after five seconds
- Remove pinner paints while preserving sender paints and profile links
- Show live polls with free and Channel Points voting
- Stack polls, predictions, and pins with a View All selector
- Refine prediction highlights, expiry, and result details
Comment thread lib/features/player/twitch_prediction_card.dart Outdated
- Validate drafts and limit emote suggestions and picker to usable Twitch emotes, preserving role exemptions.
- Show chat modes in composer hints and suppress redundant rejection notices.
- Add regression coverage for chat restrictions and ten-outcome predictions.
- Keep Android video playing muted during keyboard dictation.
- Refine pinned messages, reply connectors, and emote picker spacing.
- Expand polls by default and when their status changes.
@namecallfilter
namecallfilter merged commit ec84066 into master Sep 20, 2026
1 check passed
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