0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 19:04:34 +01:00
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>
2024-03-27 02:34:10 +00:00
..
api Remove repetitive words (#30091) 2024-03-26 15:48:53 +08:00
common Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
install Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
init.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00