Skip to content

recentActivity's minutesAgo values are static literals, so the homepage's "Live on the platform" feed shows the exact same fake timestamps forever #201

Closed

Description

@chonilius

src/lib/mock-data.ts#recentActivity hardcodes each event's age as a fixed number:

export const recentActivity: ActivityEvent[] = [
  { id: "a1", handle: "devrel_ana", action: "was paid", ..., minutesAgo: 6 },
  { id: "a2", handle: "0xkoda", action: "claimed", ..., minutesAgo: 22 },
  ...
  { id: "a5", handle: "priyaeth", action: "was paid", ..., minutesAgo: 130 },
  { id: "a6", handle: "qa_marcus", action: "joined as a", ..., minutesAgo: 210 },
];

ActivityList.tsx#timeAgo renders these directly (${minutes}m ago, ${hours}h ago,
etc.) with no relation to real wall-clock time — minutesAgo is never computed from
Date.now() minus an actual event timestamp, it's a constant baked into the module.

src/app/page.tsx renders this list under the heading "Live on the platform" with a
pulsing Activity icon suggesting real-time freshness. In reality, whether the site was
deployed an hour ago or a year ago, every visitor sees the identical "devrel_ana was paid
... 6m ago" event forever — the "live" framing is contradicted by data that can never
advance. This is distinct from the broader hardcoded-charts issue: it's specifically
about a feed that visually promises freshness rendering static, non-advancing ages.

Suggested fix: either store a real ISO timestamp per event and derive minutesAgo at
render time via Date.now(), or relabel the section so it doesn't imply real-time
freshness the data can't back up.

Activity

  1. added
    bug
    very hard
    help wanted
    enhancement
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. VeronicDev commented on Aug 24, 2026

    @VeronicDev

    @VeronicDev has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Good evening maintainer I'd love to work on this. Please assign.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @VeronicDev to this issue.

  4. Opulencechuks commented on Aug 24, 2026

    @Opulencechuks
    Contributor

    @Opulencechuks has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I am confident that I can implement this issue having worked on something similar in the past

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Opulencechuks to this issue.

  5. Gonness-Codes commented on Aug 24, 2026

    @Gonness-Codes

    @Gonness-Codes has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello Maintainer, I’d love to take ownership of this issue and submit a high-quality pull request once completed.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Gonness-Codes to this issue.

  6. davidishere1 commented on Aug 24, 2026

    @davidishere1
    Contributor

    @davidishere1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I can work on this please

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @davidishere1 to this issue.

  7. aliyuHabibu commented on Aug 24, 2026

    @aliyuHabibu

    @aliyuHabibu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer please assign this issue to me. Thank you

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @aliyuHabibu to this issue.

  8. oscar24357 commented on Aug 24, 2026

    @oscar24357

    @oscar24357 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    hello boss, good evening, can you please assign this issue to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @oscar24357 to this issue.

  9. mmotunrayo commented on Aug 24, 2026

    @mmotunrayo

    @mmotunrayo has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @mmotunrayo to this issue.

  10. Adotse10066 commented on Aug 24, 2026

    @Adotse10066

    @Adotse10066 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer, I’d be happy to work on this issue. I have experience with similar implementations and can ensure the work is completed efficiently and to a high standard.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Adotse10066 to this issue.

  11. drips-wave commented on Aug 24, 2026

    @drips-wave

    Congratulations, @davidishere1! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @davidishere1: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  12. grantfox-oss commented on Aug 25, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!

    @davidishere1's PR #315 was approved and merged by @chonilius.

    🏆 @davidishere1: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (226 total points). Track your full progress on GrantFox.

    👏 Great work, @davidishere1! Keep contributing to MergeFi.

  13. added a commit that references this issue on Aug 25, 2026
    b9adbbb
  14. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @davidishere1 as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @davidishere1: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  15. removed
    Stellar Wave
    on Oct 15, 2026
  16. added
    Stellar Wave
    on Oct 15, 2026
  17. removed
    Stellar Wave
    on Oct 15, 2026
  18. added
    Stellar Wave
    on Oct 15, 2026
  19. removed
    Stellar Wave
    on Oct 15, 2026
  20. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavebugenhancementhelp wantedvery hard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions