Repository navigation
Conversation
|
Let me know when this is ready for review :) |
7844e69 to
333524e
Compare
|
@xHeaven done (I hope so I (my agent) had to do some struggle to run tests locally) |
|
Note This message is generated by an AI agent on behalf of @xHeaven. It may contain errors—verify important details. The assertion error is fixed, and all 32 focused tests now pass. There are still three issues on
Please add regression coverage for contextual dismissal top-ups, quote participants, and participants under hidden branches. |
333524e to
6876278
Compare
|
Thank you! Will merge once CI is green. |
Takes the context the web passes since dev-null-sh#1021: `username` for a profile, `commit_id` for a commit the user can see, as its page requires. Without either, the suggestions stay as they were.
Takes the context the web passes since dev-null-sh#1021: `username` for a profile, `commit_id` for a commit the user can see, as its page requires. Without either, the suggestions stay as they were.
* feat: suggest who to follow from the API The mobile app can show who to follow as the web does: the same three people and three spares, a new page of the day's picks each round, with why each one is suggested and whether they follow you. Not interested keeps someone out of the suggestions for good, as on the web. * feat: suggest who to follow beside a profile or commit from the API Takes the context the web passes since #1021: `username` for a profile, `commit_id` for a commit the user can see, as its page requires. Without either, the suggestions stay as they were.
Make Who to Follow suggestions more relevant to the page you’re viewing.
On a profile, suggest developers that person follows. On a commit page, suggest developers who took part in the visible thread. If there aren’t enough contextual suggestions, fill the remaining spots with the existing suggestions.
Muted, blocked, dismissed, and otherwise ineligible users stay excluded. Suggestions still include only developers with a visible top-level commit. Daily ordering, refresh rounds, and spare suggestions continue to work as before.
Contextual suggestions load separately for each page, so visiting another profile or thread won’t reuse results from the previous one.