]> source.dussan.org Git - gitea.git/commit
Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924)
authorBenno <blueworrybear@gmail.com>
Fri, 15 Nov 2019 02:52:59 +0000 (10:52 +0800)
committerLunny Xiao <xiaolunwen@gmail.com>
Fri, 15 Nov 2019 02:52:59 +0000 (10:52 +0800)
commit149a9df9e8e7e91c813232fb82e644b0d3369b09
treecfb677cde7578ad448a201224522c50b227a6097
parent42ada741e3360b14ede8772aa1a2dd3e83209033
Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924)

* update #8659 fold/unfold code diffs

* add fold button style

* update #8659 implement expand up/down codes (blob excerpt)

* fix golint errors

* fix expand direction

* remove debug message

* update css style for blob exceprt

* fix typo in comment

* update style sheet with less

* update expect diff (add SectionInfo)

* update #8942 accept suggested change (fix typo)

* close reader and check file type before get tail section

* adjust button position and check file type before insert fold button

* move index js to web_src

* merge index.js with master

* generate index.js

* update js coding style
16 files changed:
modules/git/blob.go
modules/repofiles/diff_test.go
public/css/index.css
public/js/index.js
public/js/index.js.map
routers/repo/commit.go
routers/repo/compare.go
routers/repo/pull.go
routers/routes/routes.go
services/gitdiff/gitdiff.go
templates/repo/diff/blob_excerpt.tmpl [new file with mode: 0644]
templates/repo/diff/box.tmpl
templates/repo/diff/section_unified.tmpl
web_src/js/index.js
web_src/less/_repository.less
web_src/less/_review.less