Navigation Menu

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

[feature request] Add an option to not show comment form, only link to issue with comments #355

Open
selivan opened this issue Jul 13, 2020 · 5 comments

Comments

@selivan
Copy link

selivan commented Jul 13, 2020

I don't want to force my users to authorize some application on their account. Just providing the link to the issue with comments would be enough.

Could you please add an option to hide the comment form? And may be show "Add comment" link to the issue instead.

@WeixuanZ
Copy link

WeixuanZ commented Aug 1, 2020

I could be wrong, but I think the problem is with opening new issues if no-one has commented before. In order to do so, a token (requested by utterances-oauth from GitHub) is required for authentication by design, and such token is only set when you login and authorise the GitHub App.

@selivan
Copy link
Author

selivan commented Aug 1, 2020

@WeixuanZ
in that case the button should be replaced with message: issue for comments named "name" doe not exist, please create. For some users, me for example, this is preferrable: I don't mind creating an issue, but I am concerned that some of my visitors will not leave the comment, because it requires to allow access to your github account for some third-party application.

@szpak
Copy link

szpak commented Aug 1, 2020

I also didn't want to force my reader to authorize an app to post everywhere using their own account. As a workaround, on my blog I added text below the comment form Don't want to use the Utterance bot? Comments can be also placed [directly on GitHub](link).. It's not perfect, as I need to remember about creating an issue on GitHub manually and to commentIssueId as a parameter on every blog post in Hugo. In addition people might miss that text and authorize anyway, but some reader liked it (as a workaround).

@asmeurer
Copy link

Is it possible to get the link to the issue in Javascript, so I can put some boilerplate text like @szpak's version on my page automatically?

Another idea would be to leave a default first comment on every post with a message like this. This would also have the advantage of creating the comments page, which otherwise wouldn't be done until the first person comments. Any idea how hard it would be to do that automatically?

@kleuter
Copy link

kleuter commented Jun 25, 2021

I would also love to put a link to the issue (if it exists).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants