Closed RehanSaeed closed 4 years ago
- Where can I find more information about how an issue in GitHub matches with comments on a particular page on my static site? It doesn't seem to be documented.
See docs for title
and issueId
: https://vssue.js.org/options/#title
- Is there any way I can override the user information in a comment, so I can provide an email address instead of a GitHub user? When I port my comments from WordPress, they will all show as if they were coming from me.
I don't fully understand what you want. I don't think it's possible to migrate your wordpress comments directly to Github issues, because (I guess) the comments are stored in your own database with your own user system.
- How do I secure my GitHub client secret if I am hosting using GitHub pages?
Serve your own proxy server, and store the client serect in your proxy server.
See https://vssue.js.org/options/#proxy
- FYI, Vssue is not showing up as a plugin in Gridsome.
Uh, yes. Didn't create a plugin for gridsome
I have an idea that would make it possible to add suport for third party user systems. If Vuess were to look for an XML comment at the beginning of a GitHub comment like so:
<!--{"name":"Muhammad Rehan Saeed", "avatar":"https://secure.gravatar.com/avatar/2b2f900e3ac0f5551dbde728d3bb4954?s=96&d=mm&r=g", "link": "https://rehansaeed.com"}-->
This is the rest of the GitHub comment.
Then the above JSON will not show up in the UI (because it's in an XML comment) but could be parsed by Vuess and then you could replace the avatar image and user name with the ones above. You could also change the link when clicking on the avatar or name to the one above.
In my example above, I'm using Gravatar. This would make porting from WordPress, Ghost, Disqus or any other third party comment system much simpler.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm trying to migrate my comments from WordPress and have some questions: