[PR #3341] [MERGED] Shows total tracked time in issue and milestone list #16897

Closed
opened 2025-11-02 12:21:38 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3341
Author: @jonasfranz
Created: 1/9/2018
Status: Merged
Merged: 4/29/2018
Merged by: @lunny

Base: masterHead: 3003-timetracking


📝 Commits (10+)

  • 72c4296 Show total tracked time in issue and milestone list
  • 1c0201f Merge branch 'master' of https://github.com/go-gitea/gitea into 3003-timetracking
  • 1875038 Optimizing TotalTimes by using SumInt
  • b849f54 Merge branch 'master' into 3003-timetracking
  • fda4dd4 Fixing wrong total times for milestones caused by a missing JOIN
  • 983c1e1 Logging error instead of ignoring it
  • 707f3db Merge branch 'master' into 3003-timetracking
  • 26a1e02 Correcting spelling mistakes
  • 67be8bd Merge remote-tracking branch 'jonas/3003-timetracking' into 3003-timetracking
  • f1cfe62 Change error message to a short version

📊 Changes

15 files changed (+200 additions, -20 deletions)

View changed files

📝 models/issue.go (+27 -3)
📝 models/issue_list.go (+48 -0)
📝 models/issue_list_test.go (+8 -1)
📝 models/issue_milestone.go (+59 -3)
📝 models/issue_milestone_test.go (+11 -0)
📝 models/issue_stopwatch.go (+3 -2)
📝 models/issue_test.go (+8 -0)
📝 models/issue_tracked_time.go (+16 -7)
📝 modules/templates/helper.go (+3 -2)
📝 options/locale/locale_en-US.ini (+2 -1)
📝 routers/repo/issue.go (+6 -0)
📝 templates/repo/issue/list.tmpl (+4 -0)
📝 templates/repo/issue/milestones.tmpl (+1 -0)
📝 templates/repo/issue/view_content/sidebar.tmpl (+1 -1)
📝 templates/user/dashboard/issues.tmpl (+3 -0)

📄 Description

Fixes #3003 (partially)

  • Shows total tracked time in issue and milestone list
  • Shows total tracked time at issue detail page

Milestone List:
Milestone List

Issue List:
Issue List

Issue Detail Page:
Issue Page


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3341 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 1/9/2018 **Status:** ✅ Merged **Merged:** 4/29/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `3003-timetracking` --- ### 📝 Commits (10+) - [`72c4296`](https://github.com/go-gitea/gitea/commit/72c42968fa87e37750ed041ae4f6a97b2757e079) Show total tracked time in issue and milestone list - [`1c0201f`](https://github.com/go-gitea/gitea/commit/1c0201f20bd6d0af657cba2356a937b72c364f36) Merge branch 'master' of https://github.com/go-gitea/gitea into 3003-timetracking - [`1875038`](https://github.com/go-gitea/gitea/commit/187503832073280c4c994753778e1d69c307a000) Optimizing TotalTimes by using SumInt - [`b849f54`](https://github.com/go-gitea/gitea/commit/b849f540fcf9d6331758bf339e888efc22f098d2) Merge branch 'master' into 3003-timetracking - [`fda4dd4`](https://github.com/go-gitea/gitea/commit/fda4dd41a51c469f99a2ded70445f9f5421be514) Fixing wrong total times for milestones caused by a missing JOIN - [`983c1e1`](https://github.com/go-gitea/gitea/commit/983c1e1205d4409a2c76dc6d6c03479d68a0a14e) Logging error instead of ignoring it - [`707f3db`](https://github.com/go-gitea/gitea/commit/707f3dbef165784b1b6bc53d7661d0b8ea0fc029) Merge branch 'master' into 3003-timetracking - [`26a1e02`](https://github.com/go-gitea/gitea/commit/26a1e021fb8ad8b5a2fb25de1082a6716f5bcafb) Correcting spelling mistakes - [`67be8bd`](https://github.com/go-gitea/gitea/commit/67be8bd9039f215324995cc8e37f071d2d6e278a) Merge remote-tracking branch 'jonas/3003-timetracking' into 3003-timetracking - [`f1cfe62`](https://github.com/go-gitea/gitea/commit/f1cfe62fff582b3723eded052e186377f6a9fa90) Change error message to a short version ### 📊 Changes **15 files changed** (+200 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `models/issue.go` (+27 -3) 📝 `models/issue_list.go` (+48 -0) 📝 `models/issue_list_test.go` (+8 -1) 📝 `models/issue_milestone.go` (+59 -3) 📝 `models/issue_milestone_test.go` (+11 -0) 📝 `models/issue_stopwatch.go` (+3 -2) 📝 `models/issue_test.go` (+8 -0) 📝 `models/issue_tracked_time.go` (+16 -7) 📝 `modules/templates/helper.go` (+3 -2) 📝 `options/locale/locale_en-US.ini` (+2 -1) 📝 `routers/repo/issue.go` (+6 -0) 📝 `templates/repo/issue/list.tmpl` (+4 -0) 📝 `templates/repo/issue/milestones.tmpl` (+1 -0) 📝 `templates/repo/issue/view_content/sidebar.tmpl` (+1 -1) 📝 `templates/user/dashboard/issues.tmpl` (+3 -0) </details> ### 📄 Description Fixes #3003 (partially) * Shows total tracked time in issue and milestone list * Shows total tracked time at issue detail page Milestone List: ![Milestone List](https://user-images.githubusercontent.com/5757182/35766966-f8a08b1a-08e2-11e8-87ac-5a8db5357c98.png) Issue List: ![Issue List](https://user-images.githubusercontent.com/5757182/35766973-0967d188-08e3-11e8-94fe-7748817a7453.png) Issue Detail Page: ![Issue Page](https://user-images.githubusercontent.com/5757182/35766983-1495e496-08e3-11e8-8550-adc23a5014b0.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:21:38 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16897