Skip to content

Conversation

@ozrendev
Copy link
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #1721

Description

Adds a button that opens a new browser window with the current video live chat

Screenshots

2025-11-13_18-36-37

Testing

Go to a video that is listed as "Live"
Click on the "Popout chat" button
See that the current video live chat is opened in a new browser window

Additional context

h4 label was replaced with span because of margin was stretching button hover animation
the margin is now applied to the container, replicating the same size as before but the height is ~10px less now

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 13, 2025 17:43
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 13, 2025
efb4f5ff-1298-471a-8973-3d47447115dc

This comment was marked as off-topic.

Copy link
Member

Choose a reason for hiding this comment

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

Please remove the nesting, as it doesn't play well with Vue's scoped styles causing styles to "leak" into other components. In all the plain CSS files we've done it properly without nesting, the only reason that some SCSS files have nesting is because it is technical debt that we haven't cleaned up yet.

TODO for myself: Check if there is a stylelint rule we can use to enforce no-nesting with the linters.

Comment on lines +59 to +68
<button
class="popoutChatButton"
:title="$t('Video.Popout Live Chat')"
@click="popoutChat"
>
<FontAwesomeIcon
class="popoutChatIcon"
:icon="['fas', 'fa-arrow-up-right-from-square']"
/>
</button>
Copy link
Member

Choose a reason for hiding this comment

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

Please use a link instead of a button, as it is a link and using a button bypasses the external link handling setting.

Choose a reason for hiding this comment

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

Nesting seems to be resolved but this isnt yet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've been too busy to address this, but hopefully in a week or so can get to it. Just to confirm, it should be a regular <a> html link?

Choose a reason for hiding this comment

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

I've been too busy to address this, but hopefully in a week or so can get to it. Just to confirm, it should be a regular <a> html link?

@absidue

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: changes requested and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Nov 28, 2025
auto-merge was automatically disabled December 10, 2025 21:11

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 10, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add link to open live chat popup in browser

3 participants