feat: add issue age display with opened/updated X ago labels#22
Open
AliMahmoudDev wants to merge 1 commit into
Open
feat: add issue age display with opened/updated X ago labels#22AliMahmoudDev wants to merge 1 commit into
AliMahmoudDev wants to merge 1 commit into
Conversation
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
|
@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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #13
Issue cards previously showed a bare relative timestamp (e.g.
3 days ago) with no label indicating what it referred to. Theupdated_attimestamp from GitHub was also ignored entirely.Changes
updatedAtfrom the GitHub API response in each issue objectopenedprefix to the creation timestamp for clarity:opened 3 days agoupdated X agoin a subtler style when the issue has been updated more than 1 hour after creation (avoids noise for trivial or automatic updates)card-meta-updatedclass)Before
After