Skip to content

Relative time renders "0s" for just-now (should read "now") #39

Description

@aasis21

Problem

SessionDrawer.fmtRelative() returns ${s}s for any age < 60s, so a session that just updated shows "· 0s". That reads as broken.

Suggested fix

Return "now" (or "just now") for < ~5s and round sensibly otherwise.

Where

mobile/src/components/SessionDrawer.tsx (fmtRelative, lines ~13–22).


Filed from a UI research sweep of the Helm mobile app (landing + live demo session) using Playwright + full source review, cross-referenced against Claude, ChatGPT, GitHub Copilot Chat, and Codex/Claude Code UIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions