Skip to content

Add a same-tab option to Twitch Channels - #1051

Draft
Nameless-Monster-Nerd wants to merge 1 commit into
glanceapp:mainfrom
Nameless-Monster-Nerd:codex/add-twitch-same-tab
Draft

Add a same-tab option to Twitch Channels#1051
Nameless-Monster-Nerd wants to merge 1 commit into
glanceapp:mainfrom
Nameless-Monster-Nerd:codex/add-twitch-same-tab

Conversation

@Nameless-Monster-Nerd

Copy link
Copy Markdown

Fixes #975.

The Twitch Channels widget now supports same-tab: true. It applies to channel avatar and name links while leaving the widget title and category links opening in a new tab, as requested. The default behavior remains unchanged.

Tests:

  • go test ./internal/glance -run TestTwitchChannelsWidgetSameTab -count=1
  • go test ./internal/glance -count=1
  • go vet ./internal/glance
  • git diff --check

AI disclosure: I used Codex to help investigate, implement, and test this change. I reviewed the final diff and test results.

@AWildLeon

Copy link
Copy Markdown

please check before you open a PR. This is a duplicate of #976

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.

Open link in same tab in Twitch Channels widget

2 participants