gitea/services
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
..
actions Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-22 13:53:52 +01:00
agit
asymkey Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
attachment
auth Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
automerge
context Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
contexttest
convert Performance improvements for pull request list page (#29900) 2024-03-21 14:13:08 +01:00
cron
doctor Fix gitea doctor will remove repo-avatar files when execute command `storage-archives` (#30094) 2024-03-26 08:24:13 +00:00
externalaccount
feed
forms Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00
gitdiff
indexer
issue Fix Add/Remove WIP on pull request title failure (#29999) 2024-03-25 15:51:23 +08:00
lfs
mailer Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-13 10:34:58 +00:00
markup
migrations Fix duplicate migrated milestones (#30102) 2024-03-26 10:20:26 +00:00
mirror Use repo object format name instead of detecting from git repository (#29702) 2024-03-10 22:30:36 +01:00
notify
org
packages
pull Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
release Use repo object format name instead of detecting from git repository (#29702) 2024-03-10 22:30:36 +01:00
repository Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-22 13:53:52 +01:00
secrets
task
uinotification
user
webhook Fix possible data race on tests (#30093) 2024-03-26 14:08:30 +00:00
wiki