Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate title of playlist in queue window #4134

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

Benjababe
Copy link
Contributor

@Benjababe Benjababe commented Oct 11, 2023

Truncate title of playlist in queue window

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Closes #4131

Description

All the css related to height or y offsets in watch-video-playlist works nicely if the title fits in 1 line. Decided to truncate it like how YouTube does it:
image

Screenshots

Full title can be shown on hover:
Untitled

short.mp4
long.mp4

Testing

Tried several playlists:

and resized the window a couple of times seeing if it breaks anything

Desktop

  • OS: Windows 10
  • OS Version: 22H2
  • FreeTube version:

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 11, 2023
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 11, 2023 06:21
PikachuEXE
PikachuEXE previously approved these changes Oct 11, 2023
auto-merge was automatically disabled October 11, 2023 12:26

Head branch was pushed to by a user without write access

Copy link
Member

Choose a reason for hiding this comment

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

LGTM, Thanks @Benjababe !

@FreeTubeBot FreeTubeBot merged commit 7805763 into FreeTubeApp:development Oct 14, 2023
10 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 14, 2023
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Oct 17, 2023
* development:
  Bump webpack from 5.88.2 to 5.89.0 (FreeTubeApp#4168)
  Fix playlists not showing up on artist topic channels with the local API (FreeTubeApp#4129)
  Bump undici from 5.19.1 to 5.26.3 (FreeTubeApp#4173)
  Bump marked from 9.1.0 to 9.1.2 (FreeTubeApp#4171)
  Bump sass from 1.69.0 to 1.69.3 (FreeTubeApp#4169)
  Bump the eslint group with 2 updates (FreeTubeApp#4166)
  Bump the babel group with 2 updates (FreeTubeApp#4165)
  Truncate title of playlist in queue window (FreeTubeApp#4134)
  Wrap channel tabs as soon as there isn't enough screen space (FreeTubeApp#4139)
  Keep download folder path when changing to 'ask for download path' and back (FreeTubeApp#4101)
  Add external player support for Baka, Celluloid & Haruna (FreeTubeApp#4067)
  Fix error when clicking on the current quality in the DASH quality selector (FreeTubeApp#4130)
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.

[Bug]: Video details go outside playlist queue view
5 participants