Skip to content

Commit

Permalink
Fix SlackBot Page Bugs (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Dec 5, 2024
1 parent 14772de commit c50cd20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,7 @@ export const SlackChannelConfigCreationForm = ({

{showAdvancedOptions && (
<div className="mt-4">
<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="w-64 mb-4 mt-4">
<div className="w-64 mb-4">
<SelectorFormField
name="response_type"
label="Answer Type"
Expand All @@ -294,6 +288,12 @@ export const SlackChannelConfigCreationForm = ({
/>
</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">
<BooleanFormField
name="still_need_help_enabled"
Expand Down Expand Up @@ -325,8 +325,8 @@ export const SlackChannelConfigCreationForm = ({
<BooleanFormField
name="answer_validity_check_enabled"
removeIndent
label="Hide Non-Answers"
tooltip="If set, will only answer questions that the model determines it can answer"
label="Only respond if citations found"
tooltip="If set, will only answer questions where the model successfully produces citations"
/>
<BooleanFormField
name="questionmark_prefilter_enabled"
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/admin/connectors/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function ToolTipDetails({
return (
<TooltipProvider>
<Tooltip>
<TooltipTrigger>
<TooltipTrigger type="button">
<FiInfo size={12} />
</TooltipTrigger>
<TooltipContent side="top" align="center">
Expand Down

0 comments on commit c50cd20

Please sign in to comment.