You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697)
Resolve #23848

This PR put an edit file button on pull request files to allow a quick
edit for a file. After the edit finished, it will return back to the
viewed file position on pull request files tab.

It also use a branch view file link instead of commit link when it's a
non-commit pull request files view.

<img width="1532" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/3637ca4c-89d5-4621-847b-79702a44f617">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
11 months ago
..
api Remove repetitive words (#30091) 11 months ago
common Refactor URL detection (#29960) 11 months ago
install Move context from modules to services (#29440) 12 months ago
private Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
init.go Move some asymkey functions to service layer (#28894) 11 months ago