mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-21 14:12:42 +02:00
Add better message in Slack management UI
This commit is contained in:
@@ -104,7 +104,18 @@ export const SlackBotCreationForm = ({
|
|||||||
name="channel_names"
|
name="channel_names"
|
||||||
label="Channel Names:"
|
label="Channel Names:"
|
||||||
values={values}
|
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" />
|
<div className="border-t border-gray-700 py-2" />
|
||||||
<BooleanFormField
|
<BooleanFormField
|
||||||
|
@@ -89,9 +89,9 @@ export const BooleanFormField = ({
|
|||||||
|
|
||||||
interface TextArrayFieldProps<T extends Yup.AnyObject> {
|
interface TextArrayFieldProps<T extends Yup.AnyObject> {
|
||||||
name: string;
|
name: string;
|
||||||
label: string;
|
label: string | JSX.Element;
|
||||||
values: T;
|
values: T;
|
||||||
subtext?: string;
|
subtext?: string | JSX.Element;
|
||||||
type?: string;
|
type?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user