0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 23:42:46 +01:00
gitea/modules/contexttest
wxiaoguang a4859dcfea
Improve user experience for outdated comments (#29050)
Try to improve #28949

1. Make `ctx.Data["ShowOutdatedComments"] = true` by default: it brings
consistent user experience, and sometimes the "outdated (source
changed)" comments are still valuable.
2. Show a friendly message if the comment won't show, then the end users
won't fell that "the comment disappears" (it is the special case when
`ShowOutdatedComments = false`)
2024-02-08 01:50:48 +00:00
..
context_tests.go Improve user experience for outdated comments (#29050) 2024-02-08 01:50:48 +00:00