# Panel (discussion)
User discussion across all process steps
# Description
# Files
User can upload and delete files within their own comments
# Nesting
Comments can be nested in two levels
# Notifications
New discussion comments automatically notify all step readers about newly created comment. Users can be mentioned in discussion comments via @user.name
.
Mentioned users are immediately added among current step readers and receive a notification with information about their mention.
They will also be notified about every new comment along with rest of the readers.
# Screenshots
# Config
discussion:
config:
# Optional | Type: bool | Default: false
# Enable/disable writing comments
readonly: false
# Optional | Type: bool | Default: true
# Whether emoji reactions should be enabled
emoji: true
# Optional | Type: string | Default: ASC
# Sort comments from oldest (ASC) or from newest (DESC)
sort: "ASC"
# Notification
notification:
# Optional | Type: string | Default: all
# Default notification level selected in UI
#
### Examples
### - all
### - mentions
### - thread
### - nobody
level: "nobody"
# Optional | Type: string | Default: New comment in discussion: {$_process->templateProcess->name}
# Change notification subject
#
### Note
### There is available discussion variable: {$_discussion->comment} and {$_discussion->author}.
###
### Default subject "New comment in discussion: {$_process->templateProcess->name}" is localized according to application language.
subject: "New message in process #{$_process->id} from {$_discussion->author->fullname}"
# Optional | Type: string | Default: null
# Notification detail
#
### Note
### There is available discussion variable: {$_discussion->comment} and {$_discussion->author}.
###
### Notification detail is appended to discussion message.
detail: null
# Sender information
from:
# Required | Type: string | Default: null
# From email
email: "example@floweye.app"
# Required | Type: string | Default: null
# From name
name: "Floweye"
# Resize attached files
resize:
# Required | Type: int | Default: null
# Maximal image width
#
### Note
### By default is unlimited
width: 640
# Required | Type: int | Default: null
# Maximal image height
#
### Note
### By default is unlimited
height: 320
# Optional | Type: int | Default: 85
# Image quality
quality: 85
# Optional | Type: bool | Default: false
# Sharpen image after resize
sharpen: false
# Mentioned users
mentions:
# Optional | Type: string | Default: step
# Add mentioned users as readers of current step, all steps in current process or do not add them at all
#
### Examples
### - step
### - process
### - none
reader: "none"
# Panel UI
ui:
# Optional | Type: string | Default: null
# Displayed when discussion is empty.
#
### Note
### By default is `No comments in discussion`
placeholder: null
# Optional | Type: string | Default: null
# Panel title
title: "Panel title"
# Optional | Type: string | Default: null
# Panel description
description: "Panel description"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
← dbd_debt_result email →