Skip to content

Commit

Permalink
Add a note about active testmerges to report issue (tgstation#22581)
Browse files Browse the repository at this point in the history
* Add a note about active testmerges to report issue

* To the threads not the tracker

* tgalert

* Message reformatting
  • Loading branch information
Cyberboss authored and optimumtact committed Jan 1, 2017
1 parent 1e68a28 commit cd89a79
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,15 @@
set desc = "Report an issue"
set hidden = 1
if(config.githuburl)
if(alert("This will open the Github issue reporter in your browser. Are you sure?",,"Yes","No")=="No")
var/message = "This will open the Github issue reporter in your browser. Are you sure?"
var/first = TRUE
for(var/line in revdata.testmerge)
if(line)
if(first)
first = FALSE
message += ". The following experimental changes are active and are probably the cause of any new or sudden issues you may experience. If possible, please try to find a specific thread for your issue instead of posting to the general issue tracker:"
message += " <a href='[config.githuburl]/pull/[line]'>#[line]</a>"
if(tgalert(src, message, "Report Issue","Yes","No")=="No")
return
src << link("[config.githuburl]/issues/new")
else
Expand Down

0 comments on commit cd89a79

Please sign in to comment.