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-8340] Fix appeal mass selection logic #1117

Merged
merged 5 commits into from
Oct 7, 2024
Merged

Conversation

canac
Copy link
Contributor

@canac canac commented Oct 4, 2024

Description

There were various mass-selection bugs, especially in appeals flows view. This PR makes the mass selection logic much more robust and ensures that the total count and checkbox state is perfectly in sync with the selected ids.

MPDX-8340

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

canac added 5 commits October 4, 2024 15:27
Remove extra redundante state and input and calculate the total and
state based on the input ids and selected ids.
@canac canac added the Preview Environment Add this label to create an Amplify Preview label Oct 4, 2024
@canac canac requested a review from dr-bizz October 4, 2024 20:35
@canac canac self-assigned this Oct 4, 2024
Copy link
Contributor

github-actions bot commented Oct 4, 2024

Preview branch generated at https://8340-appeals-select-contacts.d3dytjb8adxkk5.amplifyapp.com

Copy link
Contributor

github-actions bot commented Oct 4, 2024

Bundle sizes [mpdx-react]

Compared against 94a3ffc

No significant changes found

Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

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

Looking really good. I left a comment, but it's working well.

@canac canac requested a review from dr-bizz October 7, 2024 17:44
@dr-bizz
Copy link
Contributor

dr-bizz commented Oct 7, 2024

Great work!

@canac canac merged commit d4b2075 into main Oct 7, 2024
19 checks passed
@canac canac deleted the 8340-appeals-select-contacts branch October 7, 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