[PR #1688] [MERGED] Show commit status icon in commits table #15997

Closed
opened 2025-11-02 11:59:53 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1688
Author: @lafriks
Created: 5/6/2017
Status: Merged
Merged: 5/7/2017
Merged by: @appleboy

Base: masterHead: status_display_commit_log


📝 Commits (8)

  • 3ff1f20 Show commit status icon in commits table
  • 8bd7ffe Add comments
  • d066ec8 Fix icons
  • d066d05 Few more places where commit table is displayed
  • f1a4bd4 Change integration test to use goquery for parsing html
  • 2cbf059 Add integration tests for commit table and status icons
  • 77092f9 Fix status to return lates status correctly on all databases
  • 05b845f Rewrote lates commit status selects

📊 Changes

24 files changed (+4185 additions, -87 deletions)

View changed files

📝 integrations/html_helper.go (+7 -83)
integrations/repo_commits_test.go (+94 -0)
📝 models/status.go (+54 -4)
📝 routers/repo/commit.go (+4 -0)
📝 routers/repo/pull.go (+4 -0)
📝 templates/repo/commits_table.tmpl (+15 -0)
vendor/github.com/PuerkitoBio/goquery/LICENSE (+12 -0)
vendor/github.com/PuerkitoBio/goquery/README.md (+126 -0)
vendor/github.com/PuerkitoBio/goquery/array.go (+103 -0)
vendor/github.com/PuerkitoBio/goquery/doc.go (+123 -0)
vendor/github.com/PuerkitoBio/goquery/expand.go (+46 -0)
vendor/github.com/PuerkitoBio/goquery/filter.go (+163 -0)
vendor/github.com/PuerkitoBio/goquery/iteration.go (+39 -0)
vendor/github.com/PuerkitoBio/goquery/manipulation.go (+573 -0)
vendor/github.com/PuerkitoBio/goquery/property.go (+275 -0)
vendor/github.com/PuerkitoBio/goquery/query.go (+53 -0)
vendor/github.com/PuerkitoBio/goquery/traversal.go (+698 -0)
vendor/github.com/PuerkitoBio/goquery/type.go (+135 -0)
vendor/github.com/PuerkitoBio/goquery/utilities.go (+161 -0)
vendor/github.com/andybalholm/cascadia/LICENSE (+24 -0)

...and 4 more files

📄 Description

This would be the first step to display status icons in commit table

Screenshot:

attels


🔄 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/1688 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 5/6/2017 **Status:** ✅ Merged **Merged:** 5/7/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `status_display_commit_log` --- ### 📝 Commits (8) - [`3ff1f20`](https://github.com/go-gitea/gitea/commit/3ff1f20eaafb782d57ada0afba33e558b13ce3e5) Show commit status icon in commits table - [`8bd7ffe`](https://github.com/go-gitea/gitea/commit/8bd7ffe771484d01890cf7e92d76991e2d7a4879) Add comments - [`d066ec8`](https://github.com/go-gitea/gitea/commit/d066ec8f63afde40dcab112440ec100f82ab87a0) Fix icons - [`d066d05`](https://github.com/go-gitea/gitea/commit/d066d05512646f4d13d0da3aeae4219e823e5b5c) Few more places where commit table is displayed - [`f1a4bd4`](https://github.com/go-gitea/gitea/commit/f1a4bd449b058cfa28fb4af0add2a7d9435a199e) Change integration test to use goquery for parsing html - [`2cbf059`](https://github.com/go-gitea/gitea/commit/2cbf059c9856e83d43b4e04c373b92208010bbb5) Add integration tests for commit table and status icons - [`77092f9`](https://github.com/go-gitea/gitea/commit/77092f9c61d17be01c490ffa7c1aa0684f2a6e14) Fix status to return lates status correctly on all databases - [`05b845f`](https://github.com/go-gitea/gitea/commit/05b845f755f8ea92d5ca2b9302496ce30d20e75b) Rewrote lates commit status selects ### 📊 Changes **24 files changed** (+4185 additions, -87 deletions) <details> <summary>View changed files</summary> 📝 `integrations/html_helper.go` (+7 -83) ➕ `integrations/repo_commits_test.go` (+94 -0) 📝 `models/status.go` (+54 -4) 📝 `routers/repo/commit.go` (+4 -0) 📝 `routers/repo/pull.go` (+4 -0) 📝 `templates/repo/commits_table.tmpl` (+15 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/LICENSE` (+12 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/README.md` (+126 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/array.go` (+103 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/doc.go` (+123 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/expand.go` (+46 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/filter.go` (+163 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/iteration.go` (+39 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/manipulation.go` (+573 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/property.go` (+275 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/query.go` (+53 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/traversal.go` (+698 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/type.go` (+135 -0) ➕ `vendor/github.com/PuerkitoBio/goquery/utilities.go` (+161 -0) ➕ `vendor/github.com/andybalholm/cascadia/LICENSE` (+24 -0) _...and 4 more files_ </details> ### 📄 Description This would be the first step to display status icons in commit table ### Screenshot: ![attels](https://cloud.githubusercontent.com/assets/165205/25768653/858898a6-3210-11e7-8551-1ba5581753a9.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 11:59:53 -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#15997