Project

General

Profile

Feature #3636

Update Profile kind when Extend 3634: Ask questions from content in file in bucket based on

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

Status:
Review
Priority:
High
Start date:
06/27/2024
Due date:
% Done:

100%

Estimated time:
0.70 h

Description

Set auth=true as parameter. This will require a Google login. From this, you will get the email id of the logged in user.

When user chooses a grade g and subject s, ticket 3634 gets file qna-cbse-g-s. Update the format of the file to the following:

#$Exercise: <exercise number such as 1.2.5.1>
#$Style: <style such as 'Pirate'>
<Bunch of QnA>
#$Exercise: <exercise number such as 1.2.5.1>
#$Style: <style such as 'Pirate'>
<Bunch of QnA>
#$Exercise: <exercise number such as 1.2.5.1>
#$Style: <style such as 'Pirate'>
<Bunch of QnA>
....

where <Bunch of QnA> has the same format
#$Question: <question>
#$Answer: <answer>
#$Question: <question>
#$Answer: <answer>
#$Question: <question>
#$Answer: <answer>
#$Question: <question>
#$Answer: <answer>
...

Whenever, user changes grade, subject, style or exercise changes as we go through the questions, store-ds the following: {
"kind": "profile",
"profile-key": "email-id",
"profile-other": "cbse#$%<grade>#$%<subject>#$%<style>#$%<exercise#>"
}

Example: {
"kind": "profile",
"profile-key": "",
"profile-other": "cbse#$%6#$%math#$%pirate#$%2.3"
}

Also available in: Atom PDF