Lichess4545 / heltour

Chess tournament management software for the Lichess4545 league
https://www.lichess4545.com/
MIT License
46 stars 38 forks source link

"contact on slack" stopped working #530

Open glbert-does opened 6 months ago

glbert-does commented 6 months ago

"contact on slack", on player pages, e.g. https://www.lichess4545.com/team4545/player/glbert/ stopped working. it will just open #general, not a dm.

currently we use the format https://lichess4545.slack.com/messages/[user_id]/ here: https://github.com/Lichess4545/heltour/blob/1d5fd89ae12e2e27cfa278c5cbaf0aa47325f030/heltour/tournament/templates/tournament/player_profile.html#L47 as far as i can tell, instead using the format https://app.slack.com/client/[team_id]/[user_id] would work. edit: it doesn't work. instead, https://slack.com/app_redirect?team=[team_id]&channel=[user_id] sort of works, but maybe there is a better solution.

marked this as "good first issue" for now, because i assume that it is. but i might be wrong.