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-8205 Style CSV #1063

Merged
merged 5 commits into from
Sep 13, 2024
Merged

MPDX-8205 Style CSV #1063

merged 5 commits into from
Sep 13, 2024

Conversation

caleballdrin
Copy link
Contributor

Description

https://jira.cru.org/secure/RapidBoard.jspa?rapidView=3&view=detail&selectedIssue=MPDX-8205&sprint=1259#

  • Add Card styling
  • Use standard buttons
  • Fix issue with not allowing data to import because it required full_name
  • Show header data correctly formatted

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

@caleballdrin caleballdrin self-assigned this Sep 13, 2024
@caleballdrin caleballdrin requested a review from canac September 13, 2024 01:34
@caleballdrin caleballdrin added the Preview Environment Add this label to create an Amplify Preview label Sep 13, 2024
Copy link
Contributor

Preview branch generated at https://MPDX-8205-style-csv.d3dytjb8adxkk5.amplifyapp.com

Copy link
Contributor

github-actions bot commented Sep 13, 2024

Bundle sizes [mpdx-react]

Compared against 0712f37

Dynamic import Size (gzipped) Diff
../src/components/Tool/Import/Csv/DynamicCsvHeaders.tsx -> ./CsvHeaders 42.28 KB +1.43 KB

@@ -182,7 +182,7 @@ export const useSupportedHeaders = () => {
};

export const useRequiredHeaders = () => {
const hardCodedRequiredHeaders = ['first_name', 'last_name', 'full_name'];
const hardCodedRequiredHeaders = ['first_name', 'last_name'];
Copy link
Contributor

@wrandall22 wrandall22 Sep 13, 2024

Choose a reason for hiding this comment

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

See equivalent logic here. I believe this change is a regression and not the right way to solve the problem you're trying to solve.

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.

It seems to work now!

@caleballdrin caleballdrin merged commit 78e6035 into main Sep 13, 2024
18 checks passed
@caleballdrin caleballdrin deleted the MPDX-8205-style-csv branch September 13, 2024 19:37
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.

3 participants