internetarchive/openlibrary

Add trending score to the Book Page (if > threshold)

Open

#11.072 aperta il 24 lug 2025

Vedi su GitHub
 (11 commenti) (0 reazioni) (1 assegnatario)Python (1172 fork)batch import
Good First IssueLead: @cdriniNeeds: Assignee Check-inNeeds: ResponseNeeds: Review AssigneePriority: 3Theme: Book PageType: Feature Request

Metriche repository

Star
 (4626 star)
Metriche merge PR
 (Merge medio 6g 2h) (126 PR mergiate in 30 g)

Descrizione

Feature Request

Problem / Opportunity

We recently added trending scores to our solr search engine. This means, when we arrive on the book page, we should have trending score available to us.

Proposal

If the trending score for the book on the book page is > some threshold e.g. 5, then render the trending badge macro.

https://github.com/internetarchive/openlibrary/blob/master/openlibrary/macros/TrendingBadge.html

Please propose a design if you'd like to work on this issue :)

Breakdown

Related files

Refer to this map of common Endpoints: *

Requirements Checklist

Checklist of requirements that need to be satisfied in order for this issue to be closed:

  • [ ]

Stakeholders

Instructions for Contributors

Guida contributor