From 1a7a63e840f34f432b5242af2b14e2a862b910a7 Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 2 Feb 2020 10:00:20 -0500 Subject: [PATCH 1/7] Rename channel to community --- handlers/join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/join.go b/handlers/join.go index 8436ebb..8d4664f 100644 --- a/handlers/join.go +++ b/handlers/join.go @@ -24,7 +24,7 @@ func welcomeMessage(channels []Channel) string { welcomeChannels += fmt.Sprintf("- #%s -> %s\n", c.Name, c.Description) } - return `Welcome to the Gophers Slack channel. + return `Welcome to the Gophers Slack community. This Slack is meant to connect gophers from all over the world in a central place. There is also a forum: https://forum.golangbridge.org, you might want to check it out as well. We have a few rules that you can see here: http://coc.golangbridge.org. From 919c8ca6186cf5dba4726746317aea618b053986 Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 2 Feb 2020 10:02:17 -0500 Subject: [PATCH 2/7] Move channels below suggestions --- handlers/join.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/join.go b/handlers/join.go index 8d4664f..1193f89 100644 --- a/handlers/join.go +++ b/handlers/join.go @@ -29,6 +29,8 @@ This Slack is meant to connect gophers from all over the world in a central plac There is also a forum: https://forum.golangbridge.org, you might want to check it out as well. We have a few rules that you can see here: http://coc.golangbridge.org. +To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you. + Here's a list of a few channels you could join: ` + welcomeChannels + ` @@ -36,8 +38,6 @@ If you want more suggestions, type "recommended channels". There are quite a few other channels, depending on your interests or location (we have city / country wide channels). Just click on the channel list and search for anything that crosses your mind. -To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you. - If you are new to Go and want a copy of the Go In Action book, https://www.manning.com/books/go-in-action, please send an email to @wkennedy at bill@ardanlabs.com If you are interested in a free copy of the Go Web Programming book by Sau Sheong Chang, @sausheong, please send him an email at sausheong@gmail.com From af51803aa8c72ea9f161ce98b755548a587e81d1 Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 2 Feb 2020 10:09:07 -0500 Subject: [PATCH 3/7] Addition of Slack thread accessibility message --- handlers/join.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/handlers/join.go b/handlers/join.go index 1193f89..ce60afd 100644 --- a/handlers/join.go +++ b/handlers/join.go @@ -25,12 +25,17 @@ func welcomeMessage(channels []Channel) string { } return `Welcome to the Gophers Slack community. + +*Please read this message; it contains helpful suggestions for interacting within the community.* + This Slack is meant to connect gophers from all over the world in a central place. There is also a forum: https://forum.golangbridge.org, you might want to check it out as well. We have a few rules that you can see here: http://coc.golangbridge.org. To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you. +Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel. + Here's a list of a few channels you could join: ` + welcomeChannels + ` From 1c8bd5d88e275fdd7dcc5b04be19a45d484229d4 Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 2 Feb 2020 10:10:11 -0500 Subject: [PATCH 4/7] Addition of "threads" trigger --- gopher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gopher.go b/gopher.go index 7027a24..c38550e 100644 --- a/gopher.go +++ b/gopher.go @@ -164,6 +164,7 @@ func main() { handlers.RecommendedChannels("recommended channels", recommendedChannels), handlers.NewbieResources("newbie resources"), handlers.SearchForLibrary("library for"), + handlers.ReactWhenContains("threads", "Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel."), handlers.XKCD("xkcd:", map[string]int{ "standards": 927, From 941171d3c9c442e60f042ebb00d331e25d0d4325 Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 9 Feb 2020 04:54:42 -0500 Subject: [PATCH 5/7] RespondTo, not ReactWhenContains --- gopher.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gopher.go b/gopher.go index c38550e..f1add52 100644 --- a/gopher.go +++ b/gopher.go @@ -164,7 +164,7 @@ func main() { handlers.RecommendedChannels("recommended channels", recommendedChannels), handlers.NewbieResources("newbie resources"), handlers.SearchForLibrary("library for"), - handlers.ReactWhenContains("threads", "Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel."), + handlers.XKCD("xkcd:", map[string]int{ "standards": 927, @@ -258,6 +258,7 @@ func main() { `- `, }, "\n"), ), + handlers.RespondTo([]string{"threads"}, "Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel."), handlers.RespondTo([]string{"help"}, strings.Join([]string{ `Here's a list of supported commands`, From 17450a097d6f4c2e90e8f6b2d2302c8bcde10d1d Mon Sep 17 00:00:00 2001 From: Anthony Atkinson Date: Sun, 1 Mar 2020 22:49:33 -0500 Subject: [PATCH 6/7] Update handlers/join.go Co-Authored-By: Tim Heckman --- handlers/join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/join.go b/handlers/join.go index ce60afd..90c5066 100644 --- a/handlers/join.go +++ b/handlers/join.go @@ -34,7 +34,7 @@ We have a few rules that you can see here: http://coc.golangbridge.org. To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you. -Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel. +Out of respect for those who rely on screen readers to use Slack, we ask that you please refrain from using threads due to accessibility concerns. It's challenging for those users to discover and contribute to active threads in channels, because doing so relies on scrolling up through channel history and visually identifying a threaded conversation. Instead, please post your replies within the channel. Here's a list of a few channels you could join: ` + welcomeChannels + ` From e3f2d558c62897503dcdc7fb7eef133ef6c51fb5 Mon Sep 17 00:00:00 2001 From: Anthony Atkinson Date: Sun, 1 Mar 2020 22:50:49 -0500 Subject: [PATCH 7/7] Update wording --- gopher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopher.go b/gopher.go index f1add52..e57ff08 100644 --- a/gopher.go +++ b/gopher.go @@ -258,7 +258,7 @@ func main() { `- `, }, "\n"), ), - handlers.RespondTo([]string{"threads"}, "Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel."), + handlers.RespondTo([]string{"threads"}, "Out of respect for those who rely on screen readers to use Slack, we ask that you please refrain from using threads due to accessibility concerns. It's challenging for those users to discover and contribute to active threads in channels, because doing so relies on scrolling up through channel history and visually identifying a threaded conversation. Instead, please post your replies within the channel."), handlers.RespondTo([]string{"help"}, strings.Join([]string{ `Here's a list of supported commands`,