-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Tweak: trending questions #427
Merged
Merged
Commits on Jul 18, 2024
-
feat: Improve trending questions feed by filtering out questions with…
… less than 2 likes
Configuration menu - View commit details
-
Copy full SHA for f426ab9 - Browse repository at this point
Copy the full SHA f426ab9View commit details -
refactor: improve trending questions feed sorting
The code changes in `TrendingQuestionsFeed.php` refactor the `builder` method to improve the sorting of trending questions. The formula for calculating the trending score has been updated to give more weight to likes. Additionally, the code removes the condition to filter out questions with less than 2 likes. This commit message follows the established convention of using the `refactor` prefix for refactoring changes and providing a clear and concise description of the changes made.
Configuration menu - View commit details
-
Copy full SHA for a6706ef - Browse repository at this point
Copy the full SHA a6706efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e2ef49 - Browse repository at this point
Copy the full SHA 3e2ef49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dde60f - Browse repository at this point
Copy the full SHA 0dde60fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51774a1 - Browse repository at this point
Copy the full SHA 51774a1View commit details -
refactor: improve trending questions feed sorting
Refactor the `TrendingQuestionsFeed` builder method to improve the sorting of trending questions. The formula for calculating the trending score has been updated to give more weight to likes. Additionally, the code removes the condition to filter out questions with less than 2 likes. This commit message follows the established convention of using the `refactor` prefix for refactoring changes and provides a clear and concise description of the changes made.
Configuration menu - View commit details
-
Copy full SHA for 2840957 - Browse repository at this point
Copy the full SHA 2840957View commit details -
Configuration menu - View commit details
-
Copy full SHA for 298aa1f - Browse repository at this point
Copy the full SHA 298aa1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83bf269 - Browse repository at this point
Copy the full SHA 83bf269View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.