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

HelpScout - 1154070 - Limit contact merge #947

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented May 17, 2024

Description

Limiting the number of contacts a user can merge together prevents an issue like this from happening again.

I've added a limit of eight contacts. I've also added tests to ensure the functionality works.

Checklist:

  • I have given my PR a title with the format "MPDX-(JIRA#) (summary sentence max 80 chars)"
  • I have applied the appropriate labels. (Add the label "On Staging" to get the branch automatically merged into staging.)
  • I have requested a review from another person on the project

@dr-bizz dr-bizz requested a review from caleballdrin May 17, 2024 18:36
@dr-bizz dr-bizz added the Preview Environment Add this label to create an Amplify Preview label May 17, 2024
Copy link
Contributor

Bundle sizes [mpdx-react]

Compared against b53eca5

No significant changes found

Copy link
Contributor

Preview branch generated at https://limit-contact-merge.d3dytjb8adxkk5.amplifyapp.com

@caleballdrin
Copy link
Contributor

It looks like the amplify preview is not working for some reason.

@dr-bizz
Copy link
Contributor Author

dr-bizz commented May 20, 2024

The PR Preview doesn't work due to the issue on staging with constants

@dr-bizz
Copy link
Contributor Author

dr-bizz commented May 20, 2024

@caleballdrin Can you review without the PR or pull it down locally?

Copy link
Contributor

@caleballdrin caleballdrin left a comment

Choose a reason for hiding this comment

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

I tested this locally and it stopped me from trying to merge more than 8 contacts. Looks great!

@dr-bizz dr-bizz merged commit 77129da into main May 20, 2024
19 checks passed
@dr-bizz dr-bizz deleted the limit-contact-merge branch May 20, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Preview Environment Add this label to create an Amplify Preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants