Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

upgrade version of amplify to v5 #449

Closed
wants to merge 11 commits into from
Closed

upgrade version of amplify to v5 #449

wants to merge 11 commits into from

Conversation

katiegoines
Copy link
Contributor

@katiegoines katiegoines commented Jun 25, 2024

Issue #, if available:
Stepping the learn site up to aws-amplify v5

staging: https://amplify-upgrade.dm6i4p3zktlna.amplifyapp.com/learn

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@katiegoines katiegoines requested review from a team as code owners June 25, 2024 16:10
.gitignore Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Copy link

@404ghosting 404ghosting left a comment

Choose a reason for hiding this comment

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

Blocking since there is no staging link

Copy link

@404ghosting 404ghosting left a comment

Choose a reason for hiding this comment

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

Please add description of your changes in your pr

@katiegoines katiegoines changed the title upgrade version of amplify upgrade version of amplify to v5 Jun 27, 2024
@jacoblogan
Copy link
Contributor

Not sure if this staging site is up to date https://amplify-upgrade.dm6i4p3zktlna.amplifyapp.com/ but it looks like we might be losing some styling or theming with the upgrade
Screenshot 2024-06-27 at 4 21 32 PM

@404ghosting
Copy link

No courses found!!

@@ -79,7 +79,7 @@ export function CardLayout({
borderRadius="8px"
padding="0px 0px 0px 0px"
overflow="hidden"
src={course?.image}
src={course?.image.substring(6)}
Copy link
Member

Choose a reason for hiding this comment

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

Is the src we need always going to be at image.substring(6)? Did the upgrade do something to the strings?

Comment on lines +160 to +166
for (const contributorCourse of contributorCourses) {
const id = await contributorCourse.id;
const contributor = await contributorCourse.contributor;

const course = await contributorCourse.course;
resolvedCourses.push({id, contributor:contributor, course: course});
}
Copy link
Member

Choose a reason for hiding this comment

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

I'm a little confused by this loop, why do we have it? It looks like it's just accessing the properties from contributorCourses and just making a new object array to filter? Is there a reason we need to await the properties too?

Copy link
Member

Choose a reason for hiding this comment

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

Was this updated by Amplify? Would you happen to know why it has the Eager and Lazy word in front of the type names?

@reesscot reesscot closed this Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants