Skip to content

feat: add issue age display with opened/updated X ago labels#22

Open
AliMahmoudDev wants to merge 1 commit into
Dasmat13:mainfrom
AliMahmoudDev:feat/issue-age-display
Open

feat: add issue age display with opened/updated X ago labels#22
AliMahmoudDev wants to merge 1 commit into
Dasmat13:mainfrom
AliMahmoudDev:feat/issue-age-display

Conversation

@AliMahmoudDev

Copy link
Copy Markdown

Summary

Closes #13

Issue cards previously showed a bare relative timestamp (e.g. 3 days ago) with no label indicating what it referred to. The updated_at timestamp from GitHub was also ignored entirely.

Changes

  • Store updatedAt from the GitHub API response in each issue object
  • Add opened prefix to the creation timestamp for clarity: opened 3 days ago
  • Show updated X ago in a subtler style when the issue has been updated more than 1 hour after creation (avoids noise for trivial or automatic updates)
  • Style the updated timestamp slightly smaller and muted (card-meta-updated class)

Before

3 days ago

After

opened 3 days ago  |  updated 2 hours ago

Closes Dasmat13#13

Previously, issue cards showed a bare relative timestamp (e.g.
'3 days ago') with no label indicating what it referred to.
The 'updated at' timestamp from GitHub was also ignored entirely.

Changes:
- Store updatedAt from the GitHub API response in each issue object
- Add 'opened' prefix to the creation timestamp for clarity
- Show 'updated X ago' in a subtler style when the issue has been
  updated more than 1 hour after creation (avoids noise for
  trivial updates)
- Style the updated timestamp slightly smaller and muted
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

@AliMahmoudDev is attempting to deploy a commit to the dasmat13's projects Team on Vercel.

A member of the Team first needs to authorize 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.

Add issue age display (e.g., 'opened 3 days ago')

1 participant