Skip to content

Conversation

@caleballdrin
Copy link
Contributor

@caleballdrin caleballdrin commented Jan 11, 2024

Description

Adding the Preferences page with Personal and Account accordions.
https://jira.cru.org/secure/RapidBoard.jspa?rapidView=3&view=detail&selectedIssue=MPDX-7076#

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 requested review from canac and dr-bizz January 11, 2024 00:51
@caleballdrin caleballdrin self-assigned this Jan 11, 2024
@caleballdrin caleballdrin added the On Staging Will be merged to the staging branch by Github Actions label Jan 11, 2024
@aws-amplify-us-east-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-853.d3dytjb8adxkk5.amplifyapp.com

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.

Great work! There's a few things that can be cleaned up. I stopped commenting for every console.log, so search the project to find the rest. My comment about generated test-ids applies to all components as well.

I have two commits in this branch: one that improves the type safety of working users and people and another that makes the collapsible email and phone number styles better. I didn't want to commit directly to your branch, but you can cherry pick them into your branch.

@caleballdrin caleballdrin requested a review from dr-bizz February 29, 2024 21:35
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.

I have left a few comments and recommendations.

We should create an index.page.ts at /settings which redirects to /settings/preferences

@caleballdrin caleballdrin requested review from canac and dr-bizz March 4, 2024 15:22
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.

The only issue I see is that MPDX Angular uses the lowercase locale en-us and MPDX React uses the uppercase locale en-US. It appears to be an API issue though because it is en-us in the REST constants list and en-US in the GraphQL constants list. I can ping Shelby and I'll include you, Caleb. We may want to hold off on merging until that gets resolved though.

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.

The code looks good
Can you merge this into staging, so Scott can preview this for QA?

canac and others added 2 commits March 6, 2024 09:19
Luxon puts a space between the time and AM in node
18.19.1 but uses a NARROW NO-BREAK SPACE (U+202F)
in node 18.13.0. The inconsistency between dev and
CI environments caused failing tests.
@caleballdrin caleballdrin requested review from canac and dr-bizz March 6, 2024 22:06
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 good! Was there anything in particular that you added that you wanted feedback on?

@caleballdrin
Copy link
Contributor Author

Looks good! Was there anything in particular that you added that you wanted feedback on?

Nope, I just wanted to confirm before pushing it to prod. Scott and Robin already did QA last week. Do you think I need to ask them to do QA again? It seems like most of the changes I made they wouldn't notice a difference.

@canac
Copy link
Contributor

canac commented Mar 6, 2024

@caleballdrin I'm not sure what Daniel thinks, but I think I'm good with merging. He and I have both been through it with a fine tooth comb multiple times, and Scott and Robin have looked over it too. I feel pretty confident that it works well, and if we do find an issue later on, we can always fix it then.

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.

🔥💯🔥💯 - Great job

@caleballdrin caleballdrin merged commit a248dfb into main Mar 7, 2024
@caleballdrin caleballdrin deleted the preferences branch March 7, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

On Staging Will be merged to the staging branch by Github Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants