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

Add time ago tooltips to show actual date/time #5848

Merged
merged 1 commit into from Dec 16, 2013

Conversation

dblessing
Copy link
Member

This implements the feature as requested in http://feedback.gitlab.com/forums/176466-general/suggestions/4910071-gitlab-should-show-yesterday-and-actual-dates-in

Each tooltip was visually inspected to make sure it looked good in its context. Most tooltips appear above the text. In a few cases it looked better to put the tooltip below the text.

Dashboard tooltip example:
dashboard

Examples where the tooltip appears below the text:
Project last activity - to avoid covering the project name
project_activity

Comments - the top tooltip would appear behind the previous comment
comments

Merge requests - to avoid covering merge request details "BRANCH > BRANCH" or "MERGED"
merge_request

Please let me know if you would like additional screenshots.

Clean up admin dashboad tooltips

Clean up admin dashboad tooltips

Clean up admin dashboad tooltips

Add helper method

change to use app helper

Modify tooltips to use new helper

Convert remaining times

Adjust one tooltip
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) when pulling fa817df on bke-drewb:feature/time_ago_tooltips into d476ac7 on gitlabhq:master.

@dosire
Copy link
Member

dosire commented Dec 15, 2013

Looks awesome, what do you think @randx ?

dzaporozhets added a commit that referenced this pull request Dec 16, 2013
Add time ago tooltips to show actual date/time
@dzaporozhets dzaporozhets merged commit 3f709e0 into gitlabhq:master Dec 16, 2013
@dzaporozhets
Copy link
Member

@dosire looks good
@bke-drewb thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants