Repository navigation
Twitch: mark GTA streams red, warn before they load, option to remove - #3
Merged
Merged
Conversation
New "Twitch" section on the settings page with two modes, saved as twitchMode: - warn (default): mark GTA streams red and warn before opening one - hide: remove GTA streams completely (the previous behaviour) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
In the default "warn" mode GTA streams are no longer silently removed:
- Stream cards, sidebar channels and category cards in any GTA category
get a red frame, red tint and a "GTA" badge.
- Clicking a red stream shows a warning before the stream is opened
("Go back" stays on the list, "Watch anyway" opens it).
- Opening a GTA stream directly (link, new tab, streamer switching to GTA)
shows the warning in front of the paused, muted player.
- "Watch anyway" is remembered per channel for the tab, and the stream
keeps a red frame around the page while it is a GTA stream.
The "hide" mode keeps the old behaviour (remove cards, block the page).
Tests cover both modes and the settings page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JwxKLiPRub6p8CfggHK7nR
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.
Requested by Adrian · project thread
Summary
Twitch GTA streams are now marked red and warned about by default, and a new setting lets you remove them completely instead (the previous behaviour).
Default: "Mark red and warn"
(Screenshots are from the test fixtures, not the real Twitch layout.)
Setting: "Remove completely"
Settings page → Twitch → "Remove completely": GTA streams disappear from lists and GTA stream pages are blocked, as in 1.2.0.
Commits
twitchMode:warndefault,hide).Tests
npm testpasses locally, including new checks: default mode, cards marked red but not hidden, click → warning before navigation, "Go back" / "Watch anyway", direct visit warning + red frame, non-GTA stream untouched, settings radio saved. Selectors are tested against fixtures, not live Twitch.Generated by Claude Code