From cc7b9eb085a58968999b33f4fe60e12de8366fe5 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 8 Nov 2023 08:54:48 +0800 Subject: [PATCH] Document REACTION_MAX_USER_NUM setting option (#27954) (#27959) Backport #27954 by @6543 as title --- *Sponsored by Kithara Software GmbH* Co-authored-by: 6543 --- custom/conf/app.example.ini | 3 +++ docs/content/administration/config-cheat-sheet.en-us.md | 1 + 2 files changed, 4 insertions(+) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 4e2af7bbc0..fe7b22965c 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1219,6 +1219,9 @@ LEVEL = Info ;; For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png ;REACTIONS = +1, -1, laugh, hooray, confused, heart, rocket, eyes ;; +;; Change the number of users that are displayed in reactions tooltip (triggered by mouse hover). +;REACTION_MAX_USER_NUM = 10 +;; ;; Additional Emojis not defined in the utf8 standard ;; 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. ;; Dont mistake it for Reactions. diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md index f0a61851c2..e373713fff 100644 --- a/docs/content/administration/config-cheat-sheet.en-us.md +++ b/docs/content/administration/config-cheat-sheet.en-us.md @@ -223,6 +223,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `REACTIONS`: All available reactions users can choose on issues/prs and comments Values can be emoji alias (:smile:) or a unicode emoji. For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png +- `REACTION_MAX_USER_NUM`: **10**: Change the number of users that are displayed in reactions tooltip (triggered by mouse hover). - `CUSTOM_EMOJIS`: **gitea, codeberg, gitlab, git, github, gogs**: Additional Emojis not defined in the utf8 standard. 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.