Skip to content

feat: show relative time on bounty list items#268

Open
mvanhorn wants to merge 1 commit into
algora-io:mainfrom
mvanhorn:fix/175-show-relative-time-on-bounty-list-items
Open

feat: show relative time on bounty list items#268
mvanhorn wants to merge 1 commit into
algora-io:mainfrom
mvanhorn:fix/175-show-relative-time-on-bounty-list-items

Conversation

@mvanhorn
Copy link
Copy Markdown

Summary

The relative_time util landed recently but the bounty list component (lib/algora_web/components/bounties.ex) didn't wire it up. Adds the call site so each bounty card shows "3 hours ago" / "yesterday" alongside the amount.

Why this matters

#175 asks for time context on the bounty list. The util to render it already exists; this PR is just the wiring.

Changes

  • lib/algora_web/components/bounties.ex - render relative_time(@bounty.inserted_at) in a secondary span next to the amount.

Fixes #175

The relative_time util was added in a recent commit but the bounty list
template didn't wire it up. Adds a span next to each bounty's amount.

Fixes algora-io#175
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature Request: Show Time Information on Bounties

2 participants