Project

General

Profile

Feature #3664

Choose themes by default

Added by Ram Kordale 5 months ago. Updated 5 months ago.

Status:
Review
Priority:
High
Start date:
07/17/2024
Due date:
% Done:

100%

Estimated time:
0.60 h

Description

Currently, a line with themes support in k-12-support.txt looks as follows:
cbse; 6; mathematics; supported-themes=["Doraemon", "Chotta Bheem", "Shin Chan", "Pokemon", "Power Rangers", "Dragon ball z", "Motu Patlu", "Tom and Jerry", "Ninja Hattori", "Oggy and the Cockroaches", "Ben 10", "Kochikame"]

Please change it to:
cbse; 6; mathematics; supported-themes=[[chosen: ["Doraemon", "Chotta Bheem", "Shin Chan", "Pokemon"],[others: ["Power Rangers", "Dragon ball z", "Motu Patlu", "Tom and Jerry", "Ninja Hattori", "Oggy and the Cockroaches", "Ben 10", "Kochikame"]]

So, by default, when the user starts, the "chosen styles" are assumed to be chosen. If user clicks on 'Choose Your Themes", show these styles as chosen.

Replace "Welcome to RapidKen! Ready for a question? Please type (y/n)." with "Welcome to RapidKen! Want to learn Math from your favourite characters? We have chosen <comma separted themes> for you. If you want to change this, please click on the 'Choose Your Themes' button above the chat window.\n\n Ready for a question? Please type (y/n)."

Also available in: Atom PDF