mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Show outdated comments in files changed tab (#24936)
If enabled show a clickable label in the comment. A click on the label opens the Conversation tab with the comment focussed - there you're able to view the old diff (or original diff the comment was created on). **Screenshots**   When resolved and outdated:  Option to enable/disable this (stored in user settings - default is disabled):   fixes #24913 --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		| @@ -761,7 +761,7 @@ func ViewPullFiles(ctx *context.Context) { | ||||
| 		"numberOfViewedFiles": diff.NumViewedFiles, | ||||
| 	} | ||||
|  | ||||
| 	if err = diff.LoadComments(ctx, issue, ctx.Doer); err != nil { | ||||
| 	if err = diff.LoadComments(ctx, issue, ctx.Doer, ctx.Data["ShowOutdatedComments"].(bool)); err != nil { | ||||
| 		ctx.ServerError("LoadComments", err) | ||||
| 		return | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user