-
Notifications
You must be signed in to change notification settings - Fork 41
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
[GH-65] #75
[GH-65] #75
Conversation
Hello @maisnamrajusingh, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM one question of the parsing
for _, tn := range teamNameSlice { | ||
teams[tn] = struct{}{} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does spaces need to also be trimmed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hanzei this won't be needed here.
@@ -57,7 +57,7 @@ func (p *Plugin) getSiteURL() string { | |||
return *config.ServiceSettings.SiteURL | |||
} | |||
|
|||
func (p *Plugin) newSampleMessageTemplate(teamName, userID string) (*MessageTemplate, error) { | |||
func (p *Plugin) newSampleMessageTemplate(teamID string, userID string) (*MessageTemplate, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hanzei Yes, doing just that. Will update you once done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These change still seem to come from #74 (comment). Once you dropped them from the file, I'n happy to approve it.
@maisnamrajusingh Please let me know when this is ready for a re-review |
yup it is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One non-blocking nitpick. Approving, but Ben's requests will need to be resolved before merging
Co-authored-by: Jason Frerich <[email protected]>
@maisnamrajusingh, you're good from my end. Thanks! |
@@ -57,7 +57,7 @@ func (p *Plugin) getSiteURL() string { | |||
return *config.ServiceSettings.SiteURL | |||
} | |||
|
|||
func (p *Plugin) newSampleMessageTemplate(teamName, userID string) (*MessageTemplate, error) { | |||
func (p *Plugin) newSampleMessageTemplate(teamID string, userID string) (*MessageTemplate, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These change still seem to come from #74 (comment). Once you dropped them from the file, I'n happy to approve it.
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
Summary
Resolves ticket no #65 Allows multiple teams to have the same message without repeating them
Ticket Link
Fixes #65