Skip to content

Conversation

@PikachuEXE
Copy link
Collaborator

@PikachuEXE PikachuEXE commented Nov 3, 2025

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

#8094

Description

After vue 3 upgrade the reply link text is broken and this PR fixes it
Also updated "more replies" link text (pluralization
image

Screenshots

Lazy

Testing

For with owner reply link text see https://youtu.be/_l4ARG1Ti5k
For without owner reply see https://youtu.be/7kkVoKfG0dA
For "more replies" link text - no idea

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

The existing one is a rather old implementation (from 5 years ago with fixes in more recent years) https://github.com/FreeTubeApp/FreeTube/blame/96f60d8d998e282d670a48a90a3ad1a61cba226e/src/renderer/components/watch-video-comments/watch-video-comments.vue

@PikachuEXE PikachuEXE requested a review from absidue November 3, 2025 06:25
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 3, 2025 06:25
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 3, 2025
Copy link
Member

Choose a reason for hiding this comment

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

Isnt really working as expected. Other replies arent showing up anymore

Before
hIlwteeJ0z

After
VirtualBoxVM_tc7F5TzM11

@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 3, 2025
@PikachuEXE
Copy link
Collaborator Author

Fixed, the else should be outside the if

@PikachuEXE PikachuEXE added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Nov 4, 2025
…late

Also add/update type definition for comment objects
@PikachuEXE
Copy link
Collaborator Author

Now using a function to output link text, so early return can be used
Also added & updated comment typedef

Comment on lines +1015 to +1016
View 1 reply from {channelName}: View 1 reply from {channelName}
View {replyCount} replies from {channelName} and others: View {replyCount} replies from {channelName} and others
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should I merge these 2 too?

Copy link
Member

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc Nov 8, 2025

Choose a reason for hiding this comment

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

Sure only if you want but you dont have to imo

@efb4f5ff-1298-471a-8973-3d47447115dc

A bit related. Our About page is also using these exact structures. Is it possible to address that in a followup?

@FreeTubeBot FreeTubeBot merged commit b01f851 into FreeTubeApp:development Nov 8, 2025
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 8, 2025
@PikachuEXE PikachuEXE deleted the fix/comment-link-text branch November 10, 2025 05:13
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.

5 participants