loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add anchor to review types (#26894)

- The review type '22' is a general comment type that is attached to
single codecomments, reviews with multiple comments or to simple approve
and request changes comment. This comment can be used to create a link
towards this action on an pull request.
- Adds an anchor to the review comment type, so that when its getting
linked to it, it actually jumps towards that event.
- This also now fixes the behavior that after you created a review you
will be redirected to that review and because this is an general comment
type other mails will also be 'fixed' such as the approved or request
changes.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1248

(cherry picked from commit 1741a5f1fe6adc68bb5f87bdd1c5bdc5bfaa45c7)

---------

Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Caesar Schinas <caesar@caesarschinas.com>

authored by

Earl Warren
Gusted
Caesar Schinas
and committed by
GitHub
89c9a498 02d4e4d4

+2 -2
+2 -2
templates/repo/issue/view_content/comments.tmpl
··· 364 364 {{end}} 365 365 </div> 366 366 {{else if eq .Type 22}} 367 - <div class="timeline-item-group"> 367 + <div class="timeline-item-group" id="{{.HashTag}}"> 368 368 <div class="timeline-item event"> 369 369 {{if .OriginalAuthor}} 370 370 {{else}} ··· 403 403 </span> 404 404 </div> 405 405 {{if or .Content .Attachments}} 406 - <div class="timeline-item comment" id="{{.HashTag}}"> 406 + <div class="timeline-item comment"> 407 407 <div class="content comment-container"> 408 408 <div class="ui top attached header comment-header gt-df gt-ac gt-sb"> 409 409 <div class="comment-header-left gt-df gt-ac">