Benjol / SE-AutoReviewComments

AutoReviewComments - Pro-forma comments for SE
http://stackapps.com/q/2116
98 stars 39 forks source link

Default welcome message references incorrect variable for site name #156

Closed samliew closed 5 years ago

samliew commented 5 years ago

Fresh install of AutoReviewComments userscript uses the wrong site name.

Welcome to Where Developers Learn, Share, & Build Careers!

capture

samliew commented 5 years ago

I think this is due to the script using the window title, and the format has changed recently?

capture

capture2

samliew commented 5 years ago

I recommend using the existing global variable for this instead

var sitename = StackExchange.options.site.name;

oliversalzburg commented 5 years ago

If you submit a pull request, I'd merge it, but I try not to contribute to Stack Overflow anymore in any way myself. Not sure about the other maintainers :)

Benjol commented 5 years ago

I'm still here, though not very involved either.

On Thu, 20 Sep 2018 at 12:02, Oliver Salzburg notifications@github.com wrote:

If you submit a pull request, I'd merge it, but I try not to contribute to Stack Overflow anymore in any way myself. Not sure about the other maintainers :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Benjol/SE-AutoReviewComments/issues/156#issuecomment-423122978, or mute the thread https://github.com/notifications/unsubscribe-auth/AARPAvYgUNCK64LIQwfH0hDFcIpbVkuaks5uc2evgaJpZM4WxMe7 .

samliew commented 5 years ago

@oliversalzburg how do I get the src built into dist? Is there CI set up or should I also make a manual PR for the dist version of the userscript?

Benjol commented 5 years ago

@samliew does this page in the wiki answer your question? https://github.com/Benjol/SE-AutoReviewComments/wiki/Building Or are you asking about getting that back here in the Releases in github?

samliew commented 5 years ago

Yes, the latter. Correcting the source isn't good enough as by itself isn't installable by the userscript manager.

oliversalzburg commented 5 years ago

@samliew I rebuilt the dist files and pushed them up. Is that sufficient?

samliew commented 5 years ago

Sweet! Thanks, that will do fine