]> source.dussan.org Git - gitea.git/commit
Display current stopwatch in navbar (#14122)
authorNorwin <noerw@users.noreply.github.com>
Thu, 21 Jan 2021 14:51:52 +0000 (14:51 +0000)
committerGitHub <noreply@github.com>
Thu, 21 Jan 2021 14:51:52 +0000 (15:51 +0100)
commitb5570d3e680570343c1552bfc972b19b161209cd
tree548fbcdb9a760b47c54ac931c0180d87d08029d5
parent56a89296050096df29d0a653019c194631cc6562
Display current stopwatch in navbar (#14122)

* add notification about running stopwatch to header

* serialize seconds, duration in stopwatches api

* ajax update stopwatch

i should get my testenv working locally...

* new variant: hover dialog

* noscript compatibility

* js: live-update stopwatch time

* js live update robustness
15 files changed:
integrations/api_issue_stopwatch_test.go
integrations/attachment_test.go
models/issue_stopwatch.go
modules/convert/issue.go
modules/structs/issue_stopwatch.go
options/locale/locale_en-US.ini
package-lock.json
package.json
routers/repo/issue_stopwatch.go
routers/routes/macaron.go
templates/base/head_navbar.tmpl
templates/repo/issue/new_form.tmpl
templates/swagger/v1_json.tmpl
web_src/js/features/stopwatch.js [new file with mode: 0644]
web_src/js/index.js