@@ -4,7 +4,7 @@ import { buildWelcomeMessage } from '../config/constants';
4
4
import { createMainMenuFlow } from './flows/main-menu-flow' ;
5
5
import { createQAFlow } from './flows/qa-flow' ;
6
6
import { createTicketFlow } from './flows/ticket-flow' ;
7
- import { createFeedbackFlow } from './flows/feedback-flow' ;
7
+ // import { createFeedbackFlow } from './flows/feedback-flow';
8
8
import { createSecurityFlow } from './flows/security-flow' ;
9
9
import { setCurrentFormContext } from './flow-context-utils' ;
10
10
@@ -18,8 +18,8 @@ function createBotFlow({
18
18
currentQueryId,
19
19
ticketForm = { } ,
20
20
setTicketForm = ( ) => { } ,
21
- feedbackForm = { } ,
22
- setFeedbackForm = ( ) => { } ,
21
+ // feedbackForm = {},
22
+ // setFeedbackForm = () => {},
23
23
formContext,
24
24
userInfo = { }
25
25
} ) {
@@ -31,11 +31,11 @@ function createBotFlow({
31
31
const mainMenuFlow = createMainMenuFlow ( {
32
32
welcome : buildWelcomeMessage ( true , welcomeMessage ) , // Always use logged-in style welcome
33
33
setTicketForm,
34
- setFeedbackForm
34
+ // setFeedbackForm
35
35
} ) ;
36
36
37
37
// Create Q&A flow (requires login)
38
- const qaFlow = isBotLoggedIn
38
+ const qaFlow = isBotLoggedIn
39
39
? createQAFlow ( {
40
40
fetchAndStreamResponse : handleQuery ,
41
41
sessionId,
@@ -63,11 +63,12 @@ function createBotFlow({
63
63
userInfo
64
64
} ) ;
65
65
66
- const feedbackFlow = createFeedbackFlow ( {
67
- feedbackForm,
68
- setFeedbackForm,
69
- userInfo
70
- } ) ;
66
+ // TODO: Add feedback flow back in
67
+ // const feedbackFlow = createFeedbackFlow({
68
+ // feedbackForm,
69
+ // setFeedbackForm,
70
+ // userInfo
71
+ // });
71
72
72
73
const securityFlow = createSecurityFlow ( {
73
74
ticketForm,
@@ -80,7 +81,7 @@ function createBotFlow({
80
81
...( mainMenuFlow || { } ) ,
81
82
...( qaFlow || { } ) ,
82
83
...( ticketFlow || { } ) ,
83
- ...( feedbackFlow || { } ) ,
84
+ // ...(feedbackFlow || {}), // TODO: add feedback flow back in
84
85
...( securityFlow || { } ) ,
85
86
// Add fallback loop for errors (only if logged in)
86
87
...( isBotLoggedIn && {
0 commit comments