Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yarden Shoham
b7b5834831
Use auto-updating, natively hoverable, localized time elements (#23988)
- Added [GitHub's `relative-time` element](https://github.com/github/relative-time-element)
- Converted all formatted timestamps to use this element
- No more flashes of unstyled content around time elements
- These elements are localized using the `lang` property of the HTML file
- Relative (e.g. the activities in the dashboard) and duration (e.g.
server uptime in the admin page) time elements are auto-updated to keep
up with the current time without refreshing the page
- Code that is not needed anymore such as `formatting.js` and parts of `since.go` have been deleted
Replaces #21440
Follows #22861
## Screenshots
### Localized
![image](https://user-images.githubusercontent.com/20454870/230775041-f0af4fda-8f6b-46d3-b8e3-d340c791a50c.png)
![image](https://user-images.githubusercontent.com/20454870/230673393-931415a9-5729-4ac3-9a89-c0fb5fbeeeb7.png)
### Tooltips
#### Native for dates
![image](https://user-images.githubusercontent.com/20454870/230797525-1fa0a854-83e3-484c-9da5-9425ab6528a3.png)
#### Interactive for relative
![image](https://user-images.githubusercontent.com/115237/230796860-51e1d640-c820-4a34-ba2e-39087020626a.png)
### Auto-update
![rec](https://user-images.githubusercontent.com/20454870/230672159-37480d8f-435a-43e9-a2b0-44073351c805.gif)
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
|
2 years ago |
.. |
admin
|
Use auto-updating, natively hoverable, localized time elements (#23988)
|
2 years ago |
comp
|
Replace tribute with text-expander-element for textarea (#23985)
|
2 years ago |
captcha.js
|
Add new captcha: cloudflare turnstile (#22369)
|
2 years ago |
citation.js
|
Fix switched citation format (#23250)
|
2 years ago |
clipboard.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
codeeditor.js
|
Allow new file and edit file preview if it has editable extension (#23624)
|
2 years ago |
colorpicker.js
|
JS refactors (#22227)
|
2 years ago |
common-global.js
|
Fix dropdown direction behavior (#23806)
|
2 years ago |
common-organization.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
contextpopup.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
copycontent.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
dropzone.js
|
JS refactors (#22227)
|
2 years ago |
emoji.js
|
JS refactors (#22227)
|
2 years ago |
eventsource.sharedworker.js
|
Fix the JS error "EventSource is not defined" caused by some non-standard browsers (#20584)
|
2 years ago |
file-fold.js
|
Scroll collapsed file into view (#23702)
|
2 years ago |
heatmap.js
|
JS refactors (#22227)
|
2 years ago |
imagediff.js
|
Fix various ImageDiff/SVG bugs (#23312)
|
2 years ago |
install.js
|
Fix various bugs for "install" page (#23194)
|
2 years ago |
notification.js
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
org-team.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
pull-view-file.js
|
Expand/Collapse all changed files (#23639)
|
2 years ago |
repo-branch.js
|
Add apply-patch, basic revert and cherry-pick functionality (#17902)
|
3 years ago |
repo-code.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
repo-code.test.js
|
Ignore line anchor links with leading zeroes (#21728)
|
2 years ago |
repo-commit.js
|
Fix hidden commit status on multiple checks (#22889)
|
2 years ago |
repo-common.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-diff-filetree.js
|
JS refactors (#22227)
|
2 years ago |
repo-diff.js
|
Expand/Collapse all changed files (#23639)
|
2 years ago |
repo-editor.js
|
Editor preview support for external renderers (#23333)
|
2 years ago |
repo-findfile.js
|
Refactor branch/tag selector to Vue SFC (#23421)
|
2 years ago |
repo-findfile.test.js
|
Refactor branch/tag selector to Vue SFC (#23421)
|
2 years ago |
repo-graph.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-home.js
|
Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626)
|
2 years ago |
repo-issue-content.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-issue-list.js
|
Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890)
|
2 years ago |
repo-issue-pr-form.js
|
JS refactors (#22227)
|
2 years ago |
repo-issue.js
|
Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890)
|
2 years ago |
repo-legacy.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
repo-migrate.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-migration.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-projects.js
|
Sync the class change of Edit Column Button to JS code (#23400)
|
2 years ago |
repo-release.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
repo-settings.js
|
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861)
|
2 years ago |
repo-template.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-unicode-escape.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-wiki.js
|
Improve markdown editor: width, height, preferred (#23895)
|
2 years ago |
serviceworker.js
|
JS refactors (#22227)
|
2 years ago |
sshkey-helper.js
|
Use explicit jQuery import, remove unused eslint globals (#18435)
|
3 years ago |
stopwatch.js
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
tablesort.js
|
JS refactors (#22227)
|
2 years ago |
tribute.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
user-auth-webauthn.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
user-auth.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
user-settings.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |