Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten latest prebuild timestamp on projects cards for better space usage #5398

Open
gtsiolis opened this issue Aug 26, 2021 · 1 comment
Open
Labels
component: dashboard feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. meta: never-stale This issue can never become stale team: webapp Issue belongs to the WebApp team type: improvement Improves an existing feature or existing code user experience

Comments

@gtsiolis
Copy link
Contributor

Problem to solve

Project cards currently link to the latest prebuild but using a verbose mode for surfacing the timestamp like 23 minutes ago. This can cause elements to overflow when branch name is long or viewing on a smaller viewport.

Cc @laushinka @jankeromnes because of the relevant discussion (internal) from yesterday's livestream.

Proposal

For better space usage we could shorten the timestamp information like the following. See relevant comment from #5098.

BEFORE AFTER
19 hours ago 19h
23 minutes ago 23m
5 days ago 5d

See also moment/moment#2781 linked from the relevant discussion (internal). Cc @laushinka

@gtsiolis gtsiolis added user experience component: dashboard type: improvement Improves an existing feature or existing code feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. labels Aug 26, 2021
@stale
Copy link

stale bot commented Nov 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Nov 24, 2021
@gtsiolis gtsiolis added the meta: never-stale This issue can never become stale label Nov 25, 2021
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Nov 25, 2021
@gtsiolis gtsiolis added meta: stale This issue/PR is stale and will be closed soon team: webapp Issue belongs to the WebApp team labels Nov 25, 2021
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. meta: never-stale This issue can never become stale team: webapp Issue belongs to the WebApp team type: improvement Improves an existing feature or existing code user experience
Projects
Status: No status
Status: Low hanging fruits 🍒
Development

No branches or pull requests

1 participant