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 - Show invalid date in person modal with error to fix #962

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented Jun 19, 2024

Description

This pull request follows the pull request at #961. In this pull request, we ensure that the Person Modal displays an error for invalid dates in order to prompt the user to make the necessary corrections.

Without this update, the input fields will remain empty and retain the incorrect values. This change will ensure that the invalid values are corrected.

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

Copy link
Contributor

github-actions bot commented Jun 19, 2024

Bundle sizes [mpdx-react]

Compared against 31f7a54

No significant changes found

@dr-bizz dr-bizz added the Preview Environment Add this label to create an Amplify Preview label Jun 19, 2024
Copy link
Contributor

Base automatically changed from blank-page-on-bad-data to main June 19, 2024 18:46
@dr-bizz dr-bizz requested review from canac, wrandall22 and caleballdrin and removed request for canac and caleballdrin June 19, 2024 19:33
Copy link
Contributor

@wrandall22 wrandall22 left a comment

Choose a reason for hiding this comment

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

A few comments. I wish the invalid date handling could be in the component, but not seeing an easy way to do that.

@dr-bizz dr-bizz requested a review from wrandall22 June 20, 2024 16:26
@dr-bizz dr-bizz requested a review from wrandall22 June 20, 2024 18:02
@dr-bizz dr-bizz force-pushed the person-modal-show-invalid-date branch from 602a139 to 360fac1 Compare June 20, 2024 18:50
@dr-bizz dr-bizz enabled auto-merge June 20, 2024 18:51
@dr-bizz dr-bizz merged commit eb907de into main Jun 20, 2024
18 checks passed
@dr-bizz dr-bizz deleted the person-modal-show-invalid-date branch June 20, 2024 18:55
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