ArtalkJS / Artalk

🌌 Your Self-hosted Comment System. | 自托管评论系统
https://artalk.js.org
MIT License
1.67k stars 142 forks source link

feat(plugin/page_vote): add `page_vote` plugin #983

Closed Liumingxun closed 1 month ago

Liumingxun commented 1 month ago

I believe the "vote up/down page" button should be appended to a specified element. Style and update vote count still have some problem, but it's a work in progress.

Feel free to discuss with me and share your thoughts.

close #944

qwqcode commented 1 month ago

Thank you for your PR. You provided me with a design idea for this feature. I took some time to think and made some modifications based on your code, including:

I have performed some basic manual testing on the frontend.

If you have any additional insights or suggestions, I’d love to hear them! Feel free to discuss! 😉