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

Added slack username and removed irc nickname from user profile #2172

Merged
merged 4 commits into from
Aug 24, 2021

Conversation

RajeshPaul38
Copy link
Contributor

@RajeshPaul38 RajeshPaul38 commented Aug 23, 2021

Description

  • Removed irc_nickname from users table, user edit profile and view profile
  • Added slack_username in users table, user edit profile and view profile
  • Added db migrate step before running unit tests (spec)

Issues Resolved

#2150 #2173

Check List

@RajeshPaul38 RajeshPaul38 requested a review from a team August 23, 2021 14:54
@RajeshPaul38 RajeshPaul38 requested review from a team as code owners August 23, 2021 14:54
Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
@RajeshPaul38 RajeshPaul38 force-pushed the rajeshpaul38/add-slack-and-remove-irc-from-users branch from 9c52622 to 269e0ee Compare August 23, 2021 14:54
@RajeshPaul38 RajeshPaul38 linked an issue Aug 23, 2021 that may be closed by this pull request
<%= f.text_field :irc_nickname, placeholder: 'IRC Nickname', title: 'irc nickname' %>
<div class="slackusername-field">
<%= f.label :slack_username, "Slack Username" %>
<%= f.text_field :slack_username, placeholder: 'Slack Userkname', title: 'slack username' %>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there's a typo in username here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah let me change this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

resolved now

RajeshPaul38 and others added 2 commits August 24, 2021 02:38
Co-authored-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
@RajeshPaul38 RajeshPaul38 force-pushed the rajeshpaul38/add-slack-and-remove-irc-from-users branch from 7401472 to c852e38 Compare August 23, 2021 21:18
@RajeshPaul38
Copy link
Contributor Author

Feature screenshots:

Screenshot 2021-08-24 at 2 51 14 AM

Screenshot 2021-08-24 at 2 51 37 AM

@tas50
Copy link
Contributor

tas50 commented Aug 23, 2021

Any idea how we can get unit tests to run when we have DB migrations? @saghoshprogress @RajeshPaul38

@RajeshPaul38
Copy link
Contributor Author

ok @tas50 let us check on this. let's keep this PR on hold for now so that we can check if the solution works and unit test is unblocked.

Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
@RajeshPaul38 RajeshPaul38 force-pushed the rajeshpaul38/add-slack-and-remove-irc-from-users branch from 8d40aaa to 78084aa Compare August 24, 2021 12:26
@RajeshPaul38
Copy link
Contributor Author

@tas50 I've added the step to do db:migrate in test env before running the specs. Now all checks are green. It's unblocked for merging. Pls take the next step.
CC @saghoshprogress

@RajeshPaul38 RajeshPaul38 changed the title Added slack username and removed irc nickname from user profile Added slack username and removed irc nickname from user profile; Added db migrate step before running unit tests (spec); Aug 24, 2021
@tas50 tas50 changed the title Added slack username and removed irc nickname from user profile; Added db migrate step before running unit tests (spec); Added slack username and removed irc nickname from user profile Aug 24, 2021
@tas50 tas50 merged commit c04379d into master Aug 24, 2021
@tas50 tas50 deleted the rajeshpaul38/add-slack-and-remove-irc-from-users branch August 24, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants