Skip to content

move "update at" information to save some vertical space, other tweaks#1565

Merged
Simek merged 3 commits intomainfrom
updated-date-tweaks
Apr 4, 2025
Merged

move "update at" information to save some vertical space, other tweaks#1565
Simek merged 3 commits intomainfrom
updated-date-tweaks

Conversation

@Simek
Copy link
Copy Markdown
Member

@Simek Simek commented Apr 1, 2025

📝 Why & how

Recently, the metadata column grow a bit, extending the height of many libraries boxes.

In this changeset I'm proposing moving the "update at" information to the top right corner of the library. The date will also appear now on the popular page tiles. To avoid repetition, I have converted the text label into tooltip on the icon and aria-label for accessibility on the node (just like we do with "Directory Score" meta information).

Additionally, I have used the warning theme to emphasize a bit the date for unmaintained packages.

✅ Checklist

  • Documented in this PR how you fixed or created the feature.

Preview

Images

Screenshot 2025-04-01 at 14 28 44

Screenshot 2025-04-01 at 14 29 11

Screenshot 2025-04-01 at 14 43 04

Screenshot 2025-04-01 at 14 38 29

@Simek Simek requested a review from brentvatne April 1, 2025 12:40
@Simek Simek added the deploy label Apr 1, 2025
Copy link
Copy Markdown
Contributor

@brentvatne brentvatne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much better!

@Simek Simek merged commit 9a911f4 into main Apr 4, 2025
2 checks passed
@Simek Simek deleted the updated-date-tweaks branch April 4, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants