Skip to content

Commit cc7b9eb

Browse files
GiteaBot6543
andauthored
Document REACTION_MAX_USER_NUM setting option (#27954) (#27959)
Backport #27954 by @6543 as title --- *Sponsored by Kithara Software GmbH* Co-authored-by: 6543 <[email protected]>
1 parent 7aafe5e commit cc7b9eb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

custom/conf/app.example.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,9 @@ LEVEL = Info
12191219
;; For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png
12201220
;REACTIONS = +1, -1, laugh, hooray, confused, heart, rocket, eyes
12211221
;;
1222+
;; Change the number of users that are displayed in reactions tooltip (triggered by mouse hover).
1223+
;REACTION_MAX_USER_NUM = 10
1224+
;;
12221225
;; Additional Emojis not defined in the utf8 standard
12231226
;; By default we support gitea (:gitea:), to add more copy them to public/assets/img/emoji/emoji_name.png and add it to this config.
12241227
;; Dont mistake it for Reactions.

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
223223
- `REACTIONS`: All available reactions users can choose on issues/prs and comments
224224
Values can be emoji alias (:smile:) or a unicode emoji.
225225
For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png
226+
- `REACTION_MAX_USER_NUM`: **10**: Change the number of users that are displayed in reactions tooltip (triggered by mouse hover).
226227
- `CUSTOM_EMOJIS`: **gitea, codeberg, gitlab, git, github, gogs**: Additional Emojis not defined in the utf8 standard.
227228
By default, we support Gitea (:gitea:), to add more copy them to public/assets/img/emoji/emoji_name.png and
228229
add it to this config.

0 commit comments

Comments
 (0)