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

[MM-387] Add a global welcome message field #131

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

ayusht2810
Copy link
Contributor

@ayusht2810 ayusht2810 commented Apr 17, 2024

Summary

  • Added a global welcome message field
  • Updated Readme with the addition of new field

Screenshot

image

Checklist

  • Completed dev testing
  • make test Ran test cases and ensured they are passing
  • make check-style Ran style check and ensured both webapp and server pass the checks

Ticket Link

Fixes #36

What to test?

  • Add a new field GlobalWelcomeMessage in the welcome bot config
  • Create a new user and log in the Mattermost server from the new user
  • Check for the global message present in the welcome bot DM
  • Some edge cases to test: Add only GlobalWelcomeMessage in the config, add both TeamName and GlobalWelcomeMessage in the config

server/welcomebot.go Outdated Show resolved Hide resolved
server/hooks.go Outdated Show resolved Hide resolved
Copy link
Contributor

@mickmister mickmister left a comment

Choose a reason for hiding this comment

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

Overall logic LGTM, just a few suggestions

server/message_template.go Outdated Show resolved Hide resolved
server/welcomebot.go Outdated Show resolved Hide resolved
server/welcomebot.go Outdated Show resolved Hide resolved
server/hooks.go Outdated Show resolved Hide resolved
server/hooks.go Outdated Show resolved Hide resolved
@mickmister mickmister added the 3: QA Review Requires review by a QA tester label Jul 4, 2024
@ayusht2810
Copy link
Contributor Author

@mickmister Fixed the review fixes. Please re-review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow messages for *all* teams
3 participants