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

Allow substitution based on poster's privileges #125

Open
tms13 opened this issue Aug 26, 2016 · 5 comments
Open

Allow substitution based on poster's privileges #125

tms13 opened this issue Aug 26, 2016 · 5 comments

Comments

@tms13
Copy link

tms13 commented Aug 26, 2016

I have a stock comment for weak answers that should really be comments:

###[A] No code in answer
While this might be a valuable hint to solve the problem, an answer really needs to demonstrate the solution.  Please [edit] to provide example code to show what you mean.
Alternatively, consider writing this as a comment instead.

As this so often applies to new users, they may well not have the privileges to comment, so this message isn't exactly appropriate. I'd love to be able to have alternatives based on their privileges:

[can-comment?]{Alternatively, consider writing this as a comment instead.}

and/or

[!can-comment?]{When you have earned enough reputation, you will be able to comment on this post.}
@Benjol
Copy link
Owner

Benjol commented Aug 27, 2016

This seems a bit feature-creepy to me, you're welcome to fork and implement your own version.
Sorry if that seems like a cop-out.

@tms13
Copy link
Author

tms13 commented Oct 4, 2016

Fair point. I do like the similar feature in the review queues, where users who can't yet comment get a message to stick to questions that don't need clarification until they have sufficient privileges. I'm unlikely to find time to work on this, and it doesn't bother me too much, so I guess the idea will just languish until somebody else picks it up.

@501st-alpha1
Copy link

Would it be less feature-creepy (or otherwise better) if the condition applied to the entire comment? E.g.:

###[A] No code in answer (>50)
While this might be a valuable hint to solve the problem, an answer really needs to demonstrate the solution.  Please [edit] to provide example code to show what you mean.
Alternatively, consider writing this as a comment instead.

###[A] No code in answer (<50)
While this might be a valuable hint to solve the problem, an answer really needs to demonstrate the solution.  Please [edit] to provide example code to show what you mean.

@Benjol
Copy link
Owner

Benjol commented Nov 14, 2016

@501st-alpha1 that looks a bit better. I'll mull it over but must admit I'm a bit 'booked' at the moment so time not much free to work on it...

1 similar comment
@Benjol
Copy link
Owner

Benjol commented Nov 17, 2016

@501st-alpha1 that looks a bit better. I'll mull it over but must admit I'm a bit 'booked' at the moment so time not much free to work on it...

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

3 participants