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

fix project update logic for detecting name changes correctly #580

Conversation

smarlaku820
Copy link
Contributor

@smarlaku820 smarlaku820 commented May 16, 2023

As highlighted in the below screenshot, when project metadata is updated it is triggering a rename_project slack notification.

Project Metadata Update:
Vulcan_Project_Meta_Update

Slack Notification Triggered:
Vulcan_Project_Rename_Notif

Fix -

  • Simplified the project update logic in the update action.
  • Introduced the project_name_changed? method to check if the project name has changed.

After this project_rename slack notification is not triggered if metadata is updated. And the flash messages are also updated accordingly.

Simplified the project update logic in the update action; Introduced the project_name_changed? method to check if the project name has changed.;
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-580 May 16, 2023 06:52 Inactive
@smarlaku820 smarlaku820 self-assigned this May 16, 2023
@smarlaku820 smarlaku820 added bug Something isn't working V3.0 ruby Pull requests that update Ruby code vmw technical labels May 16, 2023
Copy link
Contributor

@freddyfeelgood freddyfeelgood left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@vanessuniq vanessuniq merged commit 61b4a63 into master May 16, 2023
6 checks passed
@vanessuniq vanessuniq deleted the 579-bug-vulcan-project-metadata-update-triggers-project_rename-slack-notification branch May 16, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ruby Pull requests that update Ruby code technical V3.0 vmw
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Vulcan project metadata update triggers project_rename slack notification
3 participants