WIP: feat: Add badge earned info to user profile badges API response #160
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "typosaurus/157-add-badge-earned-info-to-user-profile-badges-api-response"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Unfinished
This pull request is incomplete.
What was built
Summary
The user profile badges API response is missing information about how each badge was earned. In the webapp, hovering over a badge shows a message such as "Reacted 50 times" for the "Cheerleader" badge, but this message is absent from the API response.
Example current API response:
Steps to Reproduce
Not provided.
Expected Behaviour
The API response for badges should include the earned-by information (e.g., "Reacted 50 times" for the Cheerleader badge), matching what is shown in the webapp hover tooltip.
Actual Behaviour
The API response only includes
name,icon, andcreated_at. The message describing how the badge was earned is missing.Environment
Not provided.
Reported by Lensflare via DevPlace.
Acceptance criteria
Run
Cost: 0.1534 USD · Nodes: 17 · Verification: make test
Closes #157
Checkout
From your project repository, check out a new branch and test the changes.