@@ -201,7 +201,8 @@ impl Ui {
201201
202202 if !started {
203203 let action =
204- inquire:: Select :: new ( "Action:" , vec ! [ "Start chapter" , "Exit" ] ) . prompt_skippable ( ) ?;
204+ inquire:: Select :: new ( "Action:" , vec ! [ "Start chapter" , "Give feedback" , "Exit" ] )
205+ . prompt_skippable ( ) ?;
205206
206207 match action {
207208 Some ( "Start chapter" ) => {
@@ -222,6 +223,11 @@ impl Ui {
222223 )
223224 }
224225
226+ Some ( "Give feedback" ) => println ! (
227+ "We would appreciate any feedback about the tool. Please leave it here: {}" ,
228+ self . emph( FEEDBACK_FORM )
229+ ) ,
230+
225231 Some ( "Exit" ) | None => return Ok ( ( ) ) ,
226232
227233 _ => unreachable ! ( ) ,
@@ -240,6 +246,7 @@ impl Ui {
240246 vec ! [
241247 "View reference solution" ,
242248 "Add reference solution to PR" ,
249+ "Give feedback" ,
243250 "Exit" ,
244251 ] ,
245252 )
@@ -256,6 +263,11 @@ impl Ui {
256263 )
257264 }
258265
266+ Some ( "Give feedback" ) => println ! (
267+ "We would appreciate any feedback about the tool. Please leave it here: {}" ,
268+ self . emph( FEEDBACK_FORM )
269+ ) ,
270+
259271 Some ( "Exit" ) | None => return Ok ( ( ) ) ,
260272
261273 _ => unreachable ! ( ) ,
@@ -278,15 +290,21 @@ impl Ui {
278290 "One thing"
279291 } ;
280292 println ! ( "You have completed the quest! {num_things} before you leave." ) ;
281- println ! (
282- "- If you have any feedback about your experience, please tell us here: {FEEDBACK_FORM}"
283- ) ;
293+
284294 if let Some ( final_url) = & quest. config . final_url {
285- println ! ( "- Please take this quiz which reviews the material in this quest: {final_url}" ) ;
295+ println ! (
296+ "- Please take this quiz which reviews the material in this quest: {}" ,
297+ self . emph( final_url)
298+ ) ;
286299 println ! (
287300 " Taking the quiz helps us evaluate the efficacy of RepoQuest and this quest in particular!"
288301 )
289302 }
303+
304+ println ! (
305+ "- If you have any feedback about your experience, please tell us here: {}" ,
306+ self . emph( FEEDBACK_FORM )
307+ ) ;
290308 }
291309 }
292310
0 commit comments