mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
Fix SlackBot Page Bugs (#3354)
This commit is contained in:
@@ -276,13 +276,7 @@ export const SlackChannelConfigCreationForm = ({
|
|||||||
|
|
||||||
{showAdvancedOptions && (
|
{showAdvancedOptions && (
|
||||||
<div className="mt-4">
|
<div className="mt-4">
|
||||||
<BooleanFormField
|
<div className="w-64 mb-4">
|
||||||
name="show_continue_in_web_ui"
|
|
||||||
removeIndent
|
|
||||||
label="Show Continue in Web UI button"
|
|
||||||
tooltip="If set, will show a button at the bottom of the response that allows the user to continue the conversation in the Danswer Web UI"
|
|
||||||
/>
|
|
||||||
<div className="w-64 mb-4 mt-4">
|
|
||||||
<SelectorFormField
|
<SelectorFormField
|
||||||
name="response_type"
|
name="response_type"
|
||||||
label="Answer Type"
|
label="Answer Type"
|
||||||
@@ -294,6 +288,12 @@ export const SlackChannelConfigCreationForm = ({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<BooleanFormField
|
||||||
|
name="show_continue_in_web_ui"
|
||||||
|
removeIndent
|
||||||
|
label="Show Continue in Web UI button"
|
||||||
|
tooltip="If set, will show a button at the bottom of the response that allows the user to continue the conversation in the Danswer Web UI"
|
||||||
|
/>
|
||||||
<div className="flex flex-col space-y-3 mt-2">
|
<div className="flex flex-col space-y-3 mt-2">
|
||||||
<BooleanFormField
|
<BooleanFormField
|
||||||
name="still_need_help_enabled"
|
name="still_need_help_enabled"
|
||||||
@@ -325,8 +325,8 @@ export const SlackChannelConfigCreationForm = ({
|
|||||||
<BooleanFormField
|
<BooleanFormField
|
||||||
name="answer_validity_check_enabled"
|
name="answer_validity_check_enabled"
|
||||||
removeIndent
|
removeIndent
|
||||||
label="Hide Non-Answers"
|
label="Only respond if citations found"
|
||||||
tooltip="If set, will only answer questions that the model determines it can answer"
|
tooltip="If set, will only answer questions where the model successfully produces citations"
|
||||||
/>
|
/>
|
||||||
<BooleanFormField
|
<BooleanFormField
|
||||||
name="questionmark_prefilter_enabled"
|
name="questionmark_prefilter_enabled"
|
||||||
|
@@ -109,7 +109,7 @@ export function ToolTipDetails({
|
|||||||
return (
|
return (
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger>
|
<TooltipTrigger type="button">
|
||||||
<FiInfo size={12} />
|
<FiInfo size={12} />
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent side="top" align="center">
|
<TooltipContent side="top" align="center">
|
||||||
|
Reference in New Issue
Block a user