Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change(notification): simplify (?) the formatting of the reminder #27

Merged
merged 2 commits into from
Nov 1, 2017

Conversation

shanebonham
Copy link
Collaborator

I thought this might clean things up a bit, sort of in response to #22

before

image

after

image

[
%("#{pull_request.title}" needs a #{needed_review_type} from),
%(• <#{pull_request.html_url}|#{pull_request.title}> needs a *#{needed_review_type}* from),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me likey! I think the PR number would be helpful in there still. Maybe at the end?

change(notification): simplify (?) the formatting of the reminder #27 like github does?

change(notification): simplify (?) the formatting of the reminder [#27] for more differentiation?

@@ -4,7 +4,7 @@ require 'json'
CONFIG = JSON.parse(ENV['CONFIG'])
SLACK_TOKEN = ENV['SLACK_TOKEN']
SLACK_BOT_NAME = 'reviewbot'
SLACK_BOT_ICON = ':smile_cat:'
SLACK_BOT_ICON = ':robot_face:'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like what you've done here. But I absolutely cannot have this go to production. We need a full basecamp discussion about the correct emoji for this bot

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

@danielma danielma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @geolessel's suggestion about including the issue number is good.

Thanks for putting this together

Gemfile Outdated
@@ -1,9 +1,15 @@
# frozen_string_literal: true
source 'https://rubygems.org'

gem 'awesome_print'
ruby '2.3.0'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're doing this, should we remove the .ruby-version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¯\_(ツ)_/¯ i want to say that .ruby-version still informs rbenv on which version to use for local development. But maybe that doesn't matter? Except actually it might because there is stuff that's only available in 2.3+? Except maybe the right answer is to just check for positivity the old fashioned way?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with any of those. I'm just gonna drop .positive? in master

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, master no longer uses positive?

@shanebonham shanebonham force-pushed the sb/notification-format branch 2 times, most recently from acfc316 to 836ae6e Compare November 1, 2017 23:05
@shanebonham shanebonham force-pushed the sb/notification-format branch from 836ae6e to 2726162 Compare November 1, 2017 23:28
@shanebonham
Copy link
Collaborator Author

@danielma am I supposed to be able to merge this? I don't see a merge button.

@shanebonham
Copy link
Collaborator Author

Oh. I had to accept the invitation first.

@shanebonham shanebonham merged commit bbbee94 into danielma:master Nov 1, 2017
@shanebonham shanebonham deleted the sb/notification-format branch November 1, 2017 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants