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

Community - display post comments #1614

Closed
B0pol opened this issue Dec 27, 2020 · 3 comments · Fixed by #4010
Closed

Community - display post comments #1614

B0pol opened this issue Dec 27, 2020 · 3 comments · Fixed by #4010
Labels
enhancement Improvement of an existing feature type:client-side The user interface of invidious

Comments

@B0pol
Copy link
Contributor

B0pol commented Dec 27, 2020

Example: https://www.youtube.com/post/UgwmeTG6n1iDK6NNupJ4AaABCQ

On youtube you can click on the image or the comment button to access comments

@B0pol B0pol changed the title Community - display comments on click Community - display post comments Dec 27, 2020
@TheFrenchGhosty TheFrenchGhosty added enhancement Improvement of an existing feature priority:low type:client-side The user interface of invidious labels Dec 28, 2020
@github-actions
Copy link

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.

@github-actions github-actions bot added the stale label Jul 30, 2022
@B0pol
Copy link
Contributor Author

B0pol commented Jul 31, 2022

still relevant and applicable

@github-actions github-actions bot removed the stale label Jul 31, 2022
@AHOHNMYC
Copy link
Contributor

We have community.js for loading comments, but it is doesn't work, because server side doesn't create blocks for loading responses.
Whole community page designed as comments page authored by channel. Comments (which in fact are replies to main comment) have to be displayed by this code:

if comments["continuation"]?
html << <<-END_HTML
<div class="pure-g">
<div class="pure-u-1">
<p>
<a href="javascript:void(0)" data-continuation="#{comments["continuation"]}"
data-onclick="get_youtube_replies" data-load-more #{"data-load-replies" if is_replies}>#{translate(locale, "Load more")}</a>
</p>
</div>
</div>
END_HTML
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of an existing feature type:client-side The user interface of invidious
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants