[PR #3171] [MERGED] Added progressbar for issues (#1146). #16814

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3171
Author: @modmew8
Created: 12/12/2017
Status: Merged
Merged: 1/3/2018
Merged by: @lunny

Base: masterHead: progressbarForIssues


📝 Commits (10+)

  • 904ee41 Added progressbar for issues (#1146).
  • d9f4e82 Updated the generated index.css.
  • 4ca3005 Merge pull request #1 from go-gitea/master
  • 5d78b7f Merge pull request #2 from modmew8/master
  • c220a27 Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.
  • 265636c Removed unnecessary blanks.
  • 7ce012b Formatted the files correctly, fmt-check terminates now without errors.
  • 74adf36 Merge branch 'master' of https://github.com/go-gitea/gitea into go-gitea-master
  • 890349e Merge branch 'go-gitea-master' into progressbarForIssues
  • 2fdeeb5 Merge pull request #4 from go-gitea/master

📊 Changes

5 files changed (+50 additions, -1 deletions)

View changed files

📝 models/issue.go (+25 -0)
📝 public/css/index.css (+1 -1)
📝 public/less/_repository.less (+14 -0)
📝 templates/repo/issue/list.tmpl (+5 -0)
📝 templates/user/dashboard/issues.tmpl (+5 -0)

📄 Description

Hi there,

my pull request adds the progressbar for issues as requested in issue #1146. It basically adds three variables to issue.go that hold the information, how many tasks exist, how many are done, and the percentage of the progress.

The values are updated upon creating a new issue and modifying the issues content. The content is parsed using regular expressions, collecting the amount of valid tasks and valid completed tasks.

progressbar

The style is github-alike.

I hope I made everything correct - this is the first pull request in my life :) (please be merciful).

Best regards
modmew8


🔄 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/3171 **Author:** [@modmew8](https://github.com/modmew8) **Created:** 12/12/2017 **Status:** ✅ Merged **Merged:** 1/3/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `progressbarForIssues` --- ### 📝 Commits (10+) - [`904ee41`](https://github.com/go-gitea/gitea/commit/904ee41d77b4771fc9d917f2b4e0ed1195d2785d) Added progressbar for issues (#1146). - [`d9f4e82`](https://github.com/go-gitea/gitea/commit/d9f4e8251ff84ac2e200a8a200436f9a85fbb26c) Updated the generated index.css. - [`4ca3005`](https://github.com/go-gitea/gitea/commit/4ca3005ced19edc75613a6e39242c1d7f5e54fff) Merge pull request #1 from go-gitea/master - [`5d78b7f`](https://github.com/go-gitea/gitea/commit/5d78b7f360633e642ce4dbf891070962396429d5) Merge pull request #2 from modmew8/master - [`c220a27`](https://github.com/go-gitea/gitea/commit/c220a272fed0c3e7fe03260ba70c51d7cd417448) Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues. - [`265636c`](https://github.com/go-gitea/gitea/commit/265636c402adaa2ef6e0f822867378dcc9f1b783) Removed unnecessary blanks. - [`7ce012b`](https://github.com/go-gitea/gitea/commit/7ce012babf423529e08619c754b8edc6d8233aa7) Formatted the files correctly, fmt-check terminates now without errors. - [`74adf36`](https://github.com/go-gitea/gitea/commit/74adf368cccf7e4ca23464a47637a6f1f9fcb482) Merge branch 'master' of https://github.com/go-gitea/gitea into go-gitea-master - [`890349e`](https://github.com/go-gitea/gitea/commit/890349eb44ebd1e6e5d7b756662453884b78d5bf) Merge branch 'go-gitea-master' into progressbarForIssues - [`2fdeeb5`](https://github.com/go-gitea/gitea/commit/2fdeeb5bcf4082df28f3c614fd1c401a91c1f721) Merge pull request #4 from go-gitea/master ### 📊 Changes **5 files changed** (+50 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/issue.go` (+25 -0) 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_repository.less` (+14 -0) 📝 `templates/repo/issue/list.tmpl` (+5 -0) 📝 `templates/user/dashboard/issues.tmpl` (+5 -0) </details> ### 📄 Description Hi there, my pull request adds the progressbar for issues as requested in issue #1146. It basically adds three variables to issue.go that hold the information, how many tasks exist, how many are done, and the percentage of the progress. The values are updated upon creating a new issue and modifying the issues content. The content is parsed using regular expressions, collecting the amount of valid tasks and valid completed tasks. ![progressbar](https://user-images.githubusercontent.com/6024058/33888266-d60d514c-df4c-11e7-83d9-85e7f0cd4316.png) The style is github-alike. I hope I made everything correct - this is the first pull request in my life :) (please be merciful). Best regards modmew8 --- <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:19:43 -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#16814