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(hot-tracks): try list of recent posts sorted by number of reposts #720

Conversation

adrienjoly
Copy link
Member

@adrienjoly adrienjoly commented Sep 7, 2023

Contributes #718.

What does this PR do / solve?

The current ranking algorithm of hot tracks is complicated and possibly buggy.

Overview of changes

Just show the latest 20 posts that have been reposted at least once.

@adrienjoly
Copy link
Member Author

Before this PR

image

@adrienjoly adrienjoly marked this pull request as ready for review September 7, 2023 17:21
@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.48% 66.67%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (82206c5) 5080 3055 60.14%
Head commit (d513561) 5107 (+27) 3047 (-8) 59.66% (-0.48%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#720) 6 4 66.67%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@adrienjoly adrienjoly merged commit 7b870c3 into main Sep 7, 2023
18 of 19 checks passed
@adrienjoly adrienjoly deleted the feat(hot-tracks)/try-list-of-recent-posts-sorted-by-number-of-reposts branch September 7, 2023 17:25
@adrienjoly
Copy link
Member Author

After this PR

image

adrienjoly pushed a commit that referenced this pull request Sep 7, 2023
# [1.56.0](v1.55.65...v1.56.0) (2023-09-07)

### Features

* **hot-tracks:** try list of recent posts sorted by number of reposts ([#720](#720)) ([7b870c3](7b870c3)), closes [#718](#718)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant