Skip to content

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

@mekarpeles

Description

@mekarpeles

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

Metadata

Metadata

Assignees

Labels

Good First IssueEasy issue. Good for newcomers. [managed]Lead: @cdriniIssues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Priority: 3Issues that we can consider at our leisure. [managed]Theme: Book PageIssues related to the redesign of the books pageType: Feature RequestIssue describes a feature or enhancement we'd like to implement. [managed]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions