-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use auto-updating, natively hoverable, localized time elements #23988
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
Merged
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
506d1b3
Use auto-updating, natively hoverable, localized time elements
yardenshoham baee7bd
Use shared templates
yardenshoham 630767a
Merge branch 'main' into time
yardenshoham c5ac2d2
Merge branch 'main' into time
yardenshoham fcb90d3
Merge branch 'main' into time
yardenshoham a58c19f
Merge branch 'main' into time
yardenshoham f9c0e98
Use `tense="path"` to avoid the unlocalized `on`
yardenshoham 687e973
Merge branch 'main' into time
yardenshoham 359706e
Remove test file
yardenshoham bdcc448
Merge branch 'main' into time
yardenshoham f35ad55
Merge branch 'main' into time
yardenshoham 4801743
Use a better format for javascript parsing
yardenshoham 5d282d1
Merge branch 'main' into time
yardenshoham 113aaf7
Fix tests
yardenshoham fc6b5c3
Drop tense=past to support future dates
yardenshoham f2838d9
Update comment
yardenshoham def9978
Localize `on`
yardenshoham 0c313f6
Undo unnecessary changes
yardenshoham 617435f
Merge branch 'main' into time
yardenshoham fc81d1b
Fix missed undo of find-and-replace
yardenshoham 29f385e
Merge branch 'main' into time
yardenshoham 4c238b2
Merge branch 'main' into time
yardenshoham 05d4c58
Merge branch 'main' into time
yardenshoham 85385cb
Merge branch 'main' into time
yardenshoham 217c36e
Merge branch 'main' into time
yardenshoham 89abdd3
Merge branch 'main' into time
yardenshoham 8c18c51
Merge branch 'main' into time
yardenshoham 8423fba
Merge branch 'main' into time
yardenshoham faee6f0
Use `RFC3339`
yardenshoham 49b26a4
Merge branch 'main' into time
yardenshoham 7aaee69
Allow interactive tooltips, disable the `title`
yardenshoham 98e89a0
Revert "Allow interactive tooltips, disable the `title`"
silverwind 1b34f56
add tooltip swap and add it to mutation observer
silverwind e72bdf7
tweak comment
silverwind 8976d33
filter for .time-since
silverwind da185ae
general title => tippy tooltip switching
wxiaoguang 80becbc
Merge branch 'main' into time
yardenshoham 722967b
send UTC only to browsers
silverwind 67b0aa9
Merge branch 'main' into time
yardenshoham d6e28d6
handle newly added tooltip element itself
wxiaoguang ec57cdd
Update web_src/js/modules/tippy.js
wxiaoguang db92c16
explain why the title attribute is kept
wxiaoguang 89b0f02
Update templates/admin/org/list.tmpl
yardenshoham 8969ba8
Update templates/package/shared/cleanup_rules/preview.tmpl
yardenshoham 617add3
Update templates/admin/user/list.tmpl
yardenshoham d651534
Update templates/admin/packages/list.tmpl
yardenshoham e03f316
Update templates/admin/user/list.tmpl
yardenshoham 17d883f
Update templates/admin/repo/list.tmpl
yardenshoham 12cecdf
Drop unnecessary `title` from process-row
yardenshoham fde6c38
Update modules/timeutil/timestamp.go
yardenshoham 3cd6cd8
Merge branch 'main' into time
yardenshoham 460fe71
Found more dates
yardenshoham b7064ed
Localize notice
yardenshoham e81c5cd
add on_date
silverwind 838b867
Merge branch 'main' into time
yardenshoham 113e2d5
take pending mutations when disconnect
wxiaoguang 7e27112
update comment, tweak interactiveBorder to prevent some double tooltips
silverwind 16cde5e
Merge branch 'main' into time
yardenshoham c706cab
Merge branch 'main' into time
yardenshoham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.