Skip to content

Allow sharing bonus points/notifications

Wouldn't it be nice if when bonus points are added in the contributor platform there were announcements?

We could post in the #thanks channel on Discord @mentioning the users if they're there

We could have a feed of sorts on the homepage or a listing somewhere

Implementation plan

Phase 1:

Post a thank you in #thanks on the GitLab community discord each time a user:

  • receives reward credits
  • receives bonus points

Use the "webhook" technique: we could take some inspiration from https://gitlab.com/gitlab-org/developer-relations/contributor-success/toolbox/-/blob/main/lib/discord_helper.rb although we shouldn't need the complexity of splitting the messages up as they won't be long

The message could be as simple as:

Thank you and congratulations to who just receives X <reward credits/contribution points> for .

Similar to the toolbox we can tag/mention a user if they have a discord_id in the contributor platform. Something like:

  def build_leader_ident(target, user, username)
    if !user['discord'].empty?
      "<@#{user['discord']}> (`@#{username}`)"
    else
      "#{user['name']} (`@#{username}`)"
    end
  end

/cc @gitlab-org/developer-relations/contributor-success

Edited by Lee Tickett