Skip to content

Add a same-tab option to the Videos widget - #1049

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

Add a same-tab option to the Videos widget#1049
Nameless-Monster-Nerd wants to merge 1 commit into
glanceapp:mainfrom
Nameless-Monster-Nerd:codex/add-videos-same-tab

Conversation

@Nameless-Monster-Nerd

Copy link
Copy Markdown

Fixes #1010.

The Videos widget now supports same-tab: true. The setting applies to video and channel links in all three styles: horizontal-cards, grid-cards, and vertical-list. The default remains unchanged, so links still open in a new tab unless configured otherwise.

Tests:

  • go test ./internal/glance -run TestVideosWidgetSameTab -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.

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.

Add a "same-tab" property to the "Videos" widget.

1 participant