forgejo/release-notes
Litchi Pi dc7f5d6b84 feat(ui): create a comment aggregator to reduce noise in issues (#6523)
Closes: https://codeberg.org/forgejo/forgejo/issues/6042
Continuation of: https://codeberg.org/forgejo/forgejo/pulls/6284
Replaces: https://codeberg.org/forgejo/forgejo/pulls/6285
Context: https://codeberg.org/forgejo/forgejo/pulls/6284#issuecomment-2518599

Create a new type of comment: `CommentTypeAggregator`

Replaces the grouping of labels and review request in a single place: the comment aggregator

The whole list of comments is "scanned", if they can get aggregated (diff of time < 60secs, same poster, open / close issue, add / del labels, add /del review req), they are added to the aggregator.
Once needed, the list of all the aggregated comments are replaced with a single aggregated comment containing all the data required.

In templates, have a specific HTML rendering part for the comment aggregator, reuse the same rendering as with the other types of comments.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6523
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Litchi Pi <litchi.pi@proton.me>
Co-committed-by: Litchi Pi <litchi.pi@proton.me>
2025-03-05 17:24:51 +00:00
..
3139.md
3285.md
3307.md
3334.md
3337.md
3363.md
3383.md
3414.md
3430.md
3434.md
3442.md
3642.md
3654.md
3723.md
3724.md
3729.md
3752.md
3791.md
3808.md
3811.md
3830.md
3836.md
3838.md
3847.md
3870.md
3886.md
3917.md
3922.md
3934.md
3985.md
3989.md
4026.md
4027.md
4072.md
4083.md
4095.md
4125.md
4134.md
4136.md
4139.md
4143.md
4145.md
4160.md
4189.md
4201.md
4212.md
4218.md
4222.md
4240.md
4253.md
4262.md
4266.md
4291.md
4367.md
4375.md
4400.md
4427.md
4429.md
4439.md
4487.md
4506.md
4547.md
4595.md
4605.md
4607.md
4635.md
4684.md
4716.md
4724.md
4801.md
4819.md
4907.md
4924.md
4941.md
4998.md
5065.md
5090.md
5109.md
5120.md
5149.md
5195.md
5205.md
5325.md
5372.md
5416.md
5459.md
5477.md
5515.md
5543.md
5601.md
5621.md
5677.md
5714.md
5718.md
5719.md
5751.md
5778.md
5789.md
5974.md
5988.md
5997.md
6062.md
6110.md
6200.md
6271.md
6351.md
6445.md
6471.md
6523.md feat(ui): create a comment aggregator to reduce noise in issues (#6523) 2025-03-05 17:24:51 +00:00
6639.md
6763.md