22import { library } from " @fortawesome/fontawesome-svg-core" ;
33import { faThumbsDown , faThumbsUp } from " @fortawesome/free-solid-svg-icons" ;
44import { FontAwesomeIcon } from " @fortawesome/vue-fontawesome" ;
5- import { BAlert , BButton , BSkeleton } from " bootstrap-vue" ;
5+ import { BAlert , BSkeleton } from " bootstrap-vue" ;
66import { ref } from " vue" ;
77
88import { GalaxyApi } from " @/api" ;
99import { useMarkdown } from " @/composables/markdown" ;
1010import { errorMessageAsString } from " @/utils/simple-error" ;
1111
12+ import GButton from " ./BaseComponents/GButton.vue" ;
1213import LoadingSpan from " ./LoadingSpan.vue" ;
1314
1415library .add (faThumbsUp , faThumbsDown );
@@ -89,10 +90,10 @@ async function sendFeedback(value: "up" | "down") {
8990 <BAlert v-if =" errorMessage" variant =" danger" show >
9091 {{ errorMessage }}
9192 </BAlert >
92- <BButton v-else-if =" !queryResponse" class =" w-100" variant = " info " :disabled =" busy" @click =" submitQuery" >
93+ <GButton v-else-if =" !queryResponse" class =" w-100" color = " blue " :disabled =" busy" @click =" submitQuery" >
9394 <span v-if =" !busy" > Let our Help Wizard Figure it out! </span >
9495 <LoadingSpan v-else message =" Thinking" />
95- </BButton >
96+ </GButton >
9697 <div :class =" props.view == 'wizard' && 'mt-4'" >
9798 <div v-if =" busy" >
9899 <BSkeleton animation =" wave" width =" 85%" />
@@ -105,20 +106,20 @@ async function sendFeedback(value: "up" | "down") {
105106 <div v-if =" queryResponse" class =" feedback-buttons mt-2" >
106107 <hr class =" w-100" />
107108 <h4 >Was this answer helpful?</h4 >
108- <BButton
109- variant = " success "
109+ <GButton
110+ color = " green "
110111 :disabled =" feedback !== null"
111112 :class =" { submitted: feedback === 'up' }"
112113 @click =" sendFeedback('up')" >
113114 <FontAwesomeIcon :icon =" faThumbsUp" fixed-width />
114- </BButton >
115- <BButton
116- variant = " danger "
115+ </GButton >
116+ <GButton
117+ color = " red "
117118 :disabled =" feedback !== null"
118119 :class =" { submitted: feedback === 'down' }"
119120 @click =" sendFeedback('down')" >
120121 <FontAwesomeIcon :icon =" faThumbsDown" fixed-width />
121- </BButton >
122+ </GButton >
122123 <i v-if =" !feedback" >This feedback helps us improve our responses.</i >
123124 <i v-else >Thank you for your feedback!</i >
124125 </div >
0 commit comments