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

Add page ratings #219

Closed
JoelMarcey opened this issue Nov 9, 2017 · 6 comments
Closed

Add page ratings #219

JoelMarcey opened this issue Nov 9, 2017 · 6 comments
Labels
difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin.

Comments

@JoelMarcey
Copy link
Contributor

Stars? Something to get info on how a page is doing.

@JoelMarcey JoelMarcey added the feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. label Nov 9, 2017
@ForbesLindesay
Copy link
Contributor

I'd think a better option would be a way of providing feedback on pages. Some combination of a link to edit the page on GitHub/crowdin and maybe some kind of comments system (although that creates the nightmare of out of date comments/moderation/etc.).

@Glavin001
Copy link
Contributor

@ForbesLindesay : I've seen https://disqus.com/ before, would this work for a comments system? Any others you would recommend?

Glavin001 added a commit to Unibeautify/website that referenced this issue May 19, 2018
@Glavin001
Copy link
Contributor

This is what I did to add Disqus to every docs page: Unibeautify/website@a25dc13
Hope it helps someone else!

@endiliey endiliey added good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. labels Jun 2, 2018
@endiliey
Copy link
Contributor

Let's not bloat the siteConfig.js for now and stick to v2 roadmap to let user extends the layout itself / whether they want to add page rating or not

@dandv
Copy link
Contributor

dandv commented Mar 20, 2023

@Glavin001: is that still the recommended way to add Disqus, 5 years later?

I found this feature request for a commenting system, but no clear recommendation of what to do in the meantime.

Someone blogged about how to add Disqus, and @slorber got involved in the Disqus comments there. Looks like the solution in the blog post there is the best interim?

@slorber
Copy link
Collaborator

slorber commented Mar 22, 2023

It's not only an interim solution: we recommend swizzling for any UI customization that requires dom structure changes.

The swizzling system is generic enough to solve many use cases, not just comments/ratings. We can't document officially all these possible customizations. At best we can create recipes for some of them but it would be impossible to be exhaustive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin.
Projects
None yet
Development

No branches or pull requests

6 participants