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

feat: add most popular courses statistics #257

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

wielopolski
Copy link
Collaborator

Jira issue(s)

416

Overview

This PR adds response for teacher statistics and first batch of statistics related to most popular courses for teacher.

@wielopolski wielopolski added the review me 👀 PR is ready to be reviewed label Nov 28, 2024
@wielopolski wielopolski self-assigned this Nov 28, 2024
@wielopolski wielopolski marked this pull request as ready for review November 28, 2024 03:41
@@ -131,6 +133,19 @@ export class StatisticsRepository {
return result;
}

async getMostFivePopularCourses(userId: string) {
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: Consider renaming getMostFivsPopularCourses to getFiveMostPopularCourses.
(Logical order)

Suggested change
async getMostFivePopularCourses(userId: string) {
async getFiveMostPopularCourses(userId: string) {

@piotr-pajak piotr-pajak added new feedback 🎈 New feedback for PR requested and removed review me 👀 PR is ready to be reviewed labels Nov 28, 2024
@wielopolski wielopolski added review me 👀 PR is ready to be reviewed and removed new feedback 🎈 New feedback for PR requested labels Nov 28, 2024
Copy link
Member

@piotr-pajak piotr-pajak left a comment

Choose a reason for hiding this comment

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

Bombastic 💣

@wielopolski wielopolski merged commit 121a8fc into main Nov 28, 2024
6 checks passed
@wielopolski wielopolski deleted the mw_feat_416_most_popular_courses_statistics branch November 28, 2024 13:45
@wielopolski wielopolski added merge me 💚 PR is ready to be merged and removed review me 👀 PR is ready to be reviewed labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me 💚 PR is ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants