Skip to content

Conversation

@vas3a
Copy link
Collaborator

@vas3a vas3a commented Sep 16, 2022

https://topcoder.atlassian.net/browse/TCA-445

Learn Landing Progress Block for Multiple Courses

  • update the progress block to show slides for latest active courses

image

image

@vas3a vas3a self-assigned this Sep 16, 2022
@vas3a vas3a changed the title Tca 440 certificate progress Tca 445 Landing Progress slider Sep 16, 2022
@vas3a
Copy link
Collaborator Author

vas3a commented Sep 16, 2022

@brooketopcoder @testflyjets I named the branch for this ticket 440 instead of 445 by mistake. let me know if I need to rename it first. thanks!

Copy link
Contributor

@brooketopcoder brooketopcoder 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!

const recentlyUpdatedCertifications: Array<LearnUserCertificationProgress> = orderBy([
...myCompletedCertifications,
...myInProgressCertifications,
], 'updatedAt', 'desc').slice(0, USER_PROGRESS_MAX_SLIDES_COUNT)
Copy link
Contributor

Choose a reason for hiding this comment

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

good call! this is a much better way to get the most recent item.

@vas3a vas3a merged commit 6233f09 into dev Sep 16, 2022
@vas3a vas3a deleted the TCA-440_certificate-progress branch September 16, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants