gitea/routers/private
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
..
tests/repos
actions.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
default_branch.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
hook_post_receive.go Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
hook_pre_receive.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_proc_receive.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_verification.go
hook_verification_test.go
internal.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
internal_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
mail.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go
manager.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_process.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_unix.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_windows.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
restore_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
serv.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
ssh_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00