- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.2k
Put an edit file button on pull request files to allow a quick operation #29697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            30 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      bf1e779
              
                Put an edit file button on pull request files to allow a quick operation
              
              
                lunny 470f893
              
                Remove unnecessary test code
              
              
                lunny 4298a7a
              
                Return back to the viewed file of pull request files tab after edit t…
              
              
                lunny c49b896
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny f9db1ed
              
                Some improvements
              
              
                lunny ec6ab8d
              
                Update pull request head sync to fix the redirecto problem and do som…
              
              
                lunny 2d75787
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny 06fb88b
              
                Use redirect to
              
              
                lunny 21a8260
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny a9ce74b
              
                Fix test
              
              
                lunny 87f9389
              
                Fix test
              
              
                lunny 7cf364e
              
                Fix bug
              
              
                lunny efcb8e2
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny 22130ef
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny afe9aaf
              
                Follow wxiaoguang's suggestion
              
              
                lunny 6a0064b
              
                Update routers/web/repo/editor.go
              
              
                lunny 9c89597
              
                Fix lint error and Use util.PathEscapeSegments instead of url.PathEscape
              
              
                lunny c0dabd9
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny 4bd286e
              
                Add indents and add editor mode
              
              
                lunny 3f616b6
              
                Remove unused code
              
              
                lunny de2c535
              
                Change cancel button link of editor page when edit from pull request …
              
              
                lunny 00e41d9
              
                Apply suggestions from code review
              
              
                lunny b0efe00
              
                Add comment for the error handling when writting the pull head file w…
              
              
                lunny 5f15e70
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                silverwind 9c1c4a5
              
                Update routers/web/repo/editor.go
              
              
                wxiaoguang 00954b2
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                lunny e597548
              
                fix merge conflicts
              
              
                lunny 5656851
              
                Merge branch 'lunny/edit_on_pr' of github.com:lunny/gitea into lunny/…
              
              
                lunny 6907cdf
              
                Update tests/integration/pull_compare_test.go
              
              
                silverwind 7cbbeeb
              
                Merge branch 'main' into lunny/edit_on_pr
              
              
                GiteaBot File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.