internetarchive/openlibrary

Update "Trending Now" cards to display patron Follow Card (if reading log public)

Open

#10,241 创建于 2024年12月31日

在 GitHub 查看
 (24 评论) (0 反应) (1 负责人)Python (4,626 star) (1,172 fork)batch import
Fellowship OpportunityGood First IssueLead: @jimchampModule: FollowingNeeds: Design FeedbackNeeds: ResponsePriority: 3Type: Feature Request

描述

Overview

We'd like to update the Now view, i.e. https://openlibrary.org/trending/now should be updated so instead of saying "someone" marked book as [state] it instead shows their avatar and username as a link, perhaps with a button next to it to follow them, similar to #9415.

Context

  • This builds off #6014 (see what files are involved), where we implemented a Trending page to show what books are being logged Now, this Month, etc.

Designs

Before:

After? perhaps something closer to:

Instructions

Before asking to be assigned, you can help by proposing a 🎨 design for this feature or asking any clarifying questions you may have. Thank you! ❤️

Also, if you're a new contributor, please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Justification

The trending page is interesting but misses an opportunity enable patrons to discover deeper insights by exploring other books the patron may recommend, or by allowing them to be followed.

This may be a good first step in making our Follow feature useful.

Research

Are there any precedents or findings from other projects or studies that support this feature? (link or screenshot if possible)

Goodreads does something similar

Breakdown

Requirements Checklist

  • Designs should be consistent with how patron avatars appear elsewhere on the site, use existing css where possible (e.g. the My Books feed page!) see #8607 + #9415
  • Designs should contain avatar, username (as link) and a small blue button to "Follow" the patron -- you might take inspiration from https://openlibrary.org/people/mekBot/books/feed
  • Patron privacy must be respected -- only show patron if their reading log setting is public.

Related files

贡献者指南