-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix comment toggle link text #8210
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
Fix comment toggle link text #8210
Conversation
efb4f5ff-1298-471a-8973-3d47447115dc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Fixed, the |
…late Also add/update type definition for comment objects
|
Now using a function to output link text, so early return can be used |
| View 1 reply from {channelName}: View 1 reply from {channelName} | ||
| View {replyCount} replies from {channelName} and others: View {replyCount} replies from {channelName} and others |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
|
A bit related. Our About page is also using these exact structures. Is it possible to address that in a followup? |


Pull Request Type
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
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
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