]> source.dussan.org Git - gitea.git/commit
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only...
authorzeripath <art27@cantab.net>
Sun, 8 Nov 2020 17:21:54 +0000 (17:21 +0000)
committerGitHub <noreply@github.com>
Sun, 8 Nov 2020 17:21:54 +0000 (12:21 -0500)
commitc05a8abc762f868e67dd131d34f45218a0fb95ab
tree9aa0909c736933adc895ef830941dca85206ee07
parentd4e0b286558a68c96b0001a0676099c06067511b
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766)

* Multiple GitGraph improvements.

Add backend support for excluding PRs, selecting branches and files.

Fix #10327

Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Only show refs in dropdown we display on the graph

Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>
* use flexbox for ui header

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Move Hide Pull Request button to the dropdown

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add SHA and user pictures

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix test

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix test 2

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fixes

* async

* more tweaks

* use tabs in tmpl

Signed-off-by: Andrew Thornton <art27@cantab.net>
* remove commented thing

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix linting

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update web_src/js/features/gitgraph.js

Co-authored-by: silverwind <me@silverwind.io>
* graph tweaks

* more tweaks

* add title

Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix loading indicator z-index and position

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
21 files changed:
modules/context/pagination.go
modules/context/repo.go
modules/git/commit.go
modules/git/ref.go
modules/git/repo.go
modules/git/repo_commit.go
modules/gitgraph/graph.go
modules/gitgraph/graph_models.go
modules/gitgraph/graph_test.go
modules/templates/helper.go
options/locale/locale_en-US.ini
routers/repo/commit.go
templates/repo/graph.tmpl
templates/repo/graph/commits.tmpl [new file with mode: 0644]
templates/repo/graph/div.tmpl [new file with mode: 0644]
templates/repo/graph/svgcontainer.tmpl [new file with mode: 0644]
web_src/js/features/gitgraph.js
web_src/less/_base.less
web_src/less/_repository.less
web_src/less/features/gitgraph.less
web_src/less/themes/theme-arc-green.less