From d9c35b3ecec338133a0523ef665993c1227382f5 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Thu, 24 Aug 2017 15:52:43 -0500 Subject: [PATCH] rename gamebook to lesson --- ui/analyse/src/study/chapterNewForm.ts | 2 +- ui/analyse/src/study/gamebook/gamebookPlayView.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/analyse/src/study/chapterNewForm.ts b/ui/analyse/src/study/chapterNewForm.ts index 8c7b35a3aa..40b5e08ebf 100644 --- a/ui/analyse/src/study/chapterNewForm.ts +++ b/ui/analyse/src/study/chapterNewForm.ts @@ -13,7 +13,7 @@ export const modeChoices = [ ['normal', "Normal analysis"], ['practice', "Practice with computer"], ['conceal', "Hide next moves"], - ['gamebook', "Gamebook: interactive lesson [BETA]"] + ['gamebook', "Interactive lesson"] ]; export function fieldValue(e: Event, id: string) { diff --git a/ui/analyse/src/study/gamebook/gamebookPlayView.ts b/ui/analyse/src/study/gamebook/gamebookPlayView.ts index 188ade886b..ff73f3c22a 100644 --- a/ui/analyse/src/study/gamebook/gamebookPlayView.ts +++ b/ui/analyse/src/study/gamebook/gamebookPlayView.ts @@ -8,7 +8,7 @@ import { State } from './gamebookPlayCtrl'; const defaultComments = { play: 'What would you play in this position?', bad: 'That\'s not the right move.', - end: 'Congratulations! You completed this gamebook.' + end: 'Congratulations! You completed this lesson.' }; export function render(ctrl: GamebookPlayCtrl): VNode { @@ -29,8 +29,7 @@ export function render(ctrl: GamebookPlayCtrl): VNode { attrs: { width: 120, height: 120, - src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg'), - title: 'Click to choose your teacher' + src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg') } }) ])