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

MPDX-8181 - Showing excluded contacts message when adding contacts that are excluded #1046

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented Sep 10, 2024

Description

In this PR, I add a message to the add Contact modal to inform the user that they are adding excluded contacts.

In the old MPDX, they close the modal and open the add excluded modal, but since I allow multiple contacts to be added and I think it's better UX, I have added an info alert that shows when an excluded contact is selected.
I also list out the excluded contact names.

I have added tests for this new functionality.

This PR is related to task MPDX-8181 not 1880. My mistake.

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 canac September 10, 2024 14:36
Copy link
Contributor

github-actions bot commented Sep 10, 2024

Bundle sizes [mpdx-react]

Compared against 6589899

No significant changes found

@canac canac changed the title MPDX-8180 - Showing excluded contacts message when adding contacts that are excluded MPDX-8181 - Showing excluded contacts message when adding contacts that are excluded Sep 10, 2024
Copy link
Contributor

@canac canac left a comment

Choose a reason for hiding this comment

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

This is nearly done! I think the padding under the alert is the most important change.

@dr-bizz dr-bizz requested a review from canac September 10, 2024 18:32
Copy link
Contributor

@canac canac left a comment

Choose a reason for hiding this comment

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

Looks great!

@dr-bizz dr-bizz merged commit 3258164 into main Sep 10, 2024
18 checks passed
@dr-bizz dr-bizz deleted the MPDX-8180 branch September 10, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants