GSoC/2022/StatusReports/Samarthraj: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2022‎ | StatusReports
Line 17: Line 17:


==== Timeline ====
==== Timeline ====
===== Week 1 & 2 (13 June - 26 June) =====
===== Week 1 =====
I started working with 10's complement. In the first sub-activity, we have to place the 10's complement of the given number in the empty place. This sub-activity consists of 3 levels. In the first week, I added the all required components and added required attributes to them, such as color and border shape. and created a separate component, "NumberCard," so it could be used multiple times, and these cards were rendered in numberContainer (pink box left side) using ''ListModel'', and their size was found by "Core.fitItems." In the second week, I created another component, "AnswerContainer," as all the ''numberCards'' will appear inside the answer container. Completed the visual appearance of the activity.
I started working with 10's complement. In the first sub-activity, we have to place the 10's complement of the given number in the empty place. This sub-activity consists of 3 levels. In the first week, I added the all required components and added required attributes to them, such as color and border shape. and created a separate component, "NumberCard," so it could be used multiple times, and these cards were rendered in numberContainer (pink box left side) using ''ListModel'', and their size was found by "Core.fitItems."
 
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=8bb439a4af1f143619b60270b192276fae16f0bd/ MR till week 1]
 
===== Week 2 =====
In the second week, I created another component, "AnswerContainer," as all the ''numberCards'' will appear inside the answer container. Completed the visual appearance of the activity.
 
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=3b50d7069159312052302713ffc895318c422562/ MR till week 2]


Activity progress
Activity progress
[[File:27july.png|left]]
[[File:27july.png|left]]


===== Week 3 & 4 (27 June - 10 July) =====
===== Week 3 =====
I implemented the functioning of sub-activity 1. The user can replace the "question mark" with a number by first clicking on the number and then the question mark. Initially, the display for three answerContainer was hard-coded, so I improved them by using ListModel. Added the reload button. During this time I also initialized the sub-activity 2, Swapping 10's complements. There is a separate card and cardContainer. The cards are inside the container in horizontal ListView. I also Implemented the dataset up to 3 levels in sub-activity 1.
I implemented the functioning of sub-activity 1. The user can replace the "question mark" with a number by first clicking on the number and then the question mark. Initially, the display for three answerContainer was hard-coded, so I improved them by using ListModel. The addition of dataset was during this time. Dataset consisted of "numberValue" the values from which the user can select and "questionValue" the number to which user have to answer.
 
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=2f0577219dc1367f3f2a30716c390647a788a16b/ MR till week 3]
 
===== Week 4 =====
Added the reload button. During this time I also initialized the sub-activity 2, Swapping 10's complements. There is a separate card and cardContainer. The cards are inside the container in horizontal ListView. I also Implemented the dataset up to 3 levels in sub-activity 1.
 
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=d429731a1a16e024ecba088b9ee4fb08a1853a08/ MR till week 4]


Activity Progress
Activity Progress
[[File:27july2.png|left]]
[[File:27july2.png|left]]


===== Week 5 & 6 (11 July - 24 July) =====
===== Week 5 =====
Added level 1 and 2 to sub-activity 2. Level 1 contains 4 numbers and 5 numbers respectively to swap. The symbols and numbers inside the container are the same cards with different properties visually and only the number is clickable. And the selected number in enlarged a little bit as compared to others to provide the assurance of current selected card. Made the "okButton" working. The click on it will validate the answers.
Added levels 1 and 2 to sub-activity 2. Level 1 contains 4 numbers and 5 numbers respectively to swap. The symbols and numbers inside the container are the same cards with different properties visually and only the number is clickable. And initially, the border color was changed to provide the click feedback, my mentors suggested using another way to show "card selection" as the activity should be adaptable for colorblind people as well. Made the "okButton" working. The click on it will validate the answers. Added the function to swap the cards inside each row to arrange them in the correct order.
 
[https://invent.kde.org/education/gcompris/-/merge_requests/116/diffs?commit_id=1a57cf9f1bb7ac3483b844f57653842ce9f4f951#1b4a9d3af74b77cf1dfa43d9b51fd6ac40da27d3/ MR till week 5]
 
===== Week 6 =====


===== Week 7 & 8 (25 July - 7 August) =====
===== Week 7 & 8 (25 July - 7 August) =====

Revision as of 10:08, 8 September 2022

Adding new activities to GCompris

Tasks

I proposed to add the following activities: Proposal Link - here

     This activity is divided into three sub-activities.
        1. 10's complement
        2. Swapping 10's complements
        3. Splitting 10's complements
     Merge Request - link

Blog Posts

Timeline

Week 1

I started working with 10's complement. In the first sub-activity, we have to place the 10's complement of the given number in the empty place. This sub-activity consists of 3 levels. In the first week, I added the all required components and added required attributes to them, such as color and border shape. and created a separate component, "NumberCard," so it could be used multiple times, and these cards were rendered in numberContainer (pink box left side) using ListModel, and their size was found by "Core.fitItems."

MR till week 1

Week 2

In the second week, I created another component, "AnswerContainer," as all the numberCards will appear inside the answer container. Completed the visual appearance of the activity.

MR till week 2

Activity progress

Week 3

I implemented the functioning of sub-activity 1. The user can replace the "question mark" with a number by first clicking on the number and then the question mark. Initially, the display for three answerContainer was hard-coded, so I improved them by using ListModel. The addition of dataset was during this time. Dataset consisted of "numberValue" the values from which the user can select and "questionValue" the number to which user have to answer.

MR till week 3

Week 4

Added the reload button. During this time I also initialized the sub-activity 2, Swapping 10's complements. There is a separate card and cardContainer. The cards are inside the container in horizontal ListView. I also Implemented the dataset up to 3 levels in sub-activity 1.

MR till week 4

Activity Progress

Week 5

Added levels 1 and 2 to sub-activity 2. Level 1 contains 4 numbers and 5 numbers respectively to swap. The symbols and numbers inside the container are the same cards with different properties visually and only the number is clickable. And initially, the border color was changed to provide the click feedback, my mentors suggested using another way to show "card selection" as the activity should be adaptable for colorblind people as well. Made the "okButton" working. The click on it will validate the answers. Added the function to swap the cards inside each row to arrange them in the correct order.

MR till week 5

Week 6
Week 7 & 8 (25 July - 7 August)

By this time activity 1, had a basic structure and working functionality to it. After that, we added sublevels to every level. The user needs to successfully answer all the sublevels in order to proceed to the next level. And to help the user visualize how many sublevels are left, we added the sublevel counter. In sub-activity 2, added level 3, which has 3 pairs to form ten's complement. In total this level has 6 numbers and the user needs to swap the numbers in a row to make the first-second, third-forth, and fifth-sixth numbers tens's complement each other. In sub-activity 3, added level 2, and there are two equations to solve. And the values loading in the equations were also made random so the user gets a new random set of questions to answer every time the activity is played.

Level 3 of Sub-activity 2
Level 3 of Sub-activity 2
Week 9 & 10 (8 August - 21 August)