Skip to content

Conversation

@dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented Nov 14, 2023

Description

Similar to #817, We've done a lot of work on Preferences. To prevent a 300-plus page PR I'm pushing certain changes into main which doesn't affect the user.

This PR is the notifications page in Preferences.

Changes

  • Adding Notification page with wrapper (Wrapper is the same as Connect Services PR.)
  • Adding Notification Skeleton
  • We do two graphQL queries, one to fetch the user's notifications preferences and the other to get the order the notifications should appear.

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

@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-821.d3dytjb8adxkk5.amplifyapp.com

@dr-bizz
Copy link
Contributor Author

dr-bizz commented Nov 14, 2023

This PR is dependant on this PR https://github.com/CruGlobal/mpdx_api/pull/2677

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.

I was only able to look at the code so far. I'll try running it locally later today.

@canac
Copy link
Contributor

canac commented Nov 16, 2023

It works great when I run it locally! The skeleton table while loading is a nice touch.

@dr-bizz dr-bizz requested a review from canac November 20, 2023 21:45
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.

A couple more tweaks and this should be good to go!

@dr-bizz dr-bizz requested a review from canac November 30, 2023 15:31
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.

Approving, pending two minor tweaks.

@dr-bizz dr-bizz added the On Staging Will be merged to the staging branch by Github Actions label Dec 15, 2023
…ions and removed fetching constants and now fetching notification types
@dr-bizz dr-bizz merged commit 0485396 into main Jan 11, 2024
@dr-bizz dr-bizz deleted the preferences-notifications branch January 11, 2024 21:27
canac added a commit that referenced this pull request Jan 12, 2024
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.

3 participants