mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
Add better message in Slack management UI
This commit is contained in:
@@ -104,7 +104,18 @@ export const SlackBotCreationForm = ({
|
||||
name="channel_names"
|
||||
label="Channel Names:"
|
||||
values={values}
|
||||
subtext="The names of the Slack channels you want DanswerBot to assist in. For example, '#ask-danswer'."
|
||||
subtext={
|
||||
<div>
|
||||
The names of the Slack channels you want this
|
||||
configuration to apply to. For example,
|
||||
'#ask-danswer'.
|
||||
<br />
|
||||
<br />
|
||||
<i>NOTE</i>: you still need to add DanswerBot to the
|
||||
channel(s) in Slack itself. Setting this config will not
|
||||
auto-add the bot to the channel.
|
||||
</div>
|
||||
}
|
||||
/>
|
||||
<div className="border-t border-gray-700 py-2" />
|
||||
<BooleanFormField
|
||||
|
@@ -89,9 +89,9 @@ export const BooleanFormField = ({
|
||||
|
||||
interface TextArrayFieldProps<T extends Yup.AnyObject> {
|
||||
name: string;
|
||||
label: string;
|
||||
label: string | JSX.Element;
|
||||
values: T;
|
||||
subtext?: string;
|
||||
subtext?: string | JSX.Element;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user