[PR #2108] [MERGED] Add branch overiew page #16233

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2108
Author: @Bwko
Created: 7/3/2017
Status: Merged
Merged: 10/26/2017
Merged by: @lunny

Base: masterHead: branch_overview


📝 Commits (4)

  • d5b6e23 Add branch overiew page
  • 3f6a600 fix changed method name on sub menu
  • b12abb5 remove unused code
  • 6f0c294 Merge branch 'master' into branch_overview

📊 Changes

21 files changed (+700 additions, -51 deletions)

View changed files

integrations/branches_test.go (+79 -0)
📝 models/branches.go (+107 -0)
models/branches_test.go (+89 -0)
📝 models/migrations/migrations.go (+2 -0)
models/migrations/v47.go (+29 -0)
📝 models/models.go (+1 -0)
📝 modules/cron/cron.go (+11 -0)
📝 modules/setting/setting.go (+17 -0)
📝 options/locale/locale_en-US.ini (+10 -0)
📝 public/css/index.css (+1 -1)
📝 public/js/index.js (+37 -22)
📝 public/less/_explore.less (+9 -2)
📝 public/less/_repository.less (+21 -0)
📝 routers/repo/branch.go (+167 -7)
📝 routers/repo/commit.go (+3 -0)
📝 routers/routes/routes.go (+8 -1)
templates/repo/branch/list.tmpl (+81 -0)
📝 templates/repo/commits.tmpl (+13 -12)
📝 templates/repo/header.tmpl (+0 -6)
📝 templates/repo/home.tmpl (+1 -0)

...and 1 more files

📄 Description

Todo:

Part 1:

  • Overview page
  • Delete branch
  • Undo delete
  • Add tests

Part 2: SHOULD be another PR

  • Rename branch
  • Create branch
  • Add notifications
  • Mark branch as deleted after merge delete

Preview:
Preview


🔄 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/2108 **Author:** [@Bwko](https://github.com/Bwko) **Created:** 7/3/2017 **Status:** ✅ Merged **Merged:** 10/26/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `branch_overview` --- ### 📝 Commits (4) - [`d5b6e23`](https://github.com/go-gitea/gitea/commit/d5b6e234bb61817e5d21a13069cac16df0ccbd8b) Add branch overiew page - [`3f6a600`](https://github.com/go-gitea/gitea/commit/3f6a60050b42e3806eb44869ec02ecfb4e1017bf) fix changed method name on sub menu - [`b12abb5`](https://github.com/go-gitea/gitea/commit/b12abb553914ba153b54c1ae77a7258c9b523aab) remove unused code - [`6f0c294`](https://github.com/go-gitea/gitea/commit/6f0c294cb876c3ff6d4aa012d89ecb9d60c655fc) Merge branch 'master' into branch_overview ### 📊 Changes **21 files changed** (+700 additions, -51 deletions) <details> <summary>View changed files</summary> ➕ `integrations/branches_test.go` (+79 -0) 📝 `models/branches.go` (+107 -0) ➕ `models/branches_test.go` (+89 -0) 📝 `models/migrations/migrations.go` (+2 -0) ➕ `models/migrations/v47.go` (+29 -0) 📝 `models/models.go` (+1 -0) 📝 `modules/cron/cron.go` (+11 -0) 📝 `modules/setting/setting.go` (+17 -0) 📝 `options/locale/locale_en-US.ini` (+10 -0) 📝 `public/css/index.css` (+1 -1) 📝 `public/js/index.js` (+37 -22) 📝 `public/less/_explore.less` (+9 -2) 📝 `public/less/_repository.less` (+21 -0) 📝 `routers/repo/branch.go` (+167 -7) 📝 `routers/repo/commit.go` (+3 -0) 📝 `routers/routes/routes.go` (+8 -1) ➕ `templates/repo/branch/list.tmpl` (+81 -0) 📝 `templates/repo/commits.tmpl` (+13 -12) 📝 `templates/repo/header.tmpl` (+0 -6) 📝 `templates/repo/home.tmpl` (+1 -0) _...and 1 more files_ </details> ### 📄 Description ### Todo: Part 1: - [x] Overview page - [x] Delete branch - [x] Undo delete - [x] Add tests ~Part 2:~ SHOULD be another PR - [ ] Rename branch - [ ] Create branch - [ ] Add notifications - [ ] Mark branch as deleted after merge delete **Preview:** ![Preview](https://user-images.githubusercontent.com/23573579/28490464-e67aa1b6-6eda-11e7-9f5b-94df6ca8544b.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:05:31 -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#16233