<div dir="ltr"><div><div><div>Hi Guys,<br><br></div>Something which would be great to have in the activity progress generic solution is an history.<br></div>Pupils learn a lot from their own mistakes, and they love to see what was going wrong in their answer... if we give them a chance to correct it. (opposite of french system where after an exam you don't come back on what you failed) <br></div><div>So we need to have a trace somehow to make them think about what they did.<br><br></div><div>Anglaisfacile shows a good example of what we could show<br><br><a href="http://www.anglaisfacile.com/cgi2/myexam/voir2r.php?id=26838">http://www.anglaisfacile.com/cgi2/myexam/voir2r.php?id=26838</a><br><br></div><div>I know history is difficult to maintain but I think it is worth it.<br><br></div><div>What do you think about it?<br><br></div><div>Allon<br></div><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-27 22:20 GMT+02:00 JAZEIX Johnny <span dir="ltr"><<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
to be more precise, the point here is to see how we can have a
generic solution to provide activity progress and status to users
(either teachers, parents or even children).<br>
<br>
The proposed solution is to use a new config file containing only
the statistics for all the activities.<br>
Then, it should be easy to create views for teachers and users. I
don't think saving it in a qml is interesting (you probably
misunderstood why I was talking about qml, it's for the
translations not for saving stats).<br>
A simple .ini file like for configuration could be enough. Then,
we need to think if there is an interest to use a database instead
(maybe easier for integration with the admin interface? We can
even think of having an activity showing the progress :))?<br>
<br>
For the coding part, we should probably have a qml element doing
all the job and use it in the activities (maybe in the
ActivityBase so loading/saving can be handled there).<span class=""><br>
<br>
On 06/27/15 15:04, Siddhesh Suthar wrote:<br>
</span></div><span class="">
<blockquote type="cite">
<div dir="ltr">hello,
<div><br>
</div>
<div>I am porting language learning activities. Its almost
complete. Now i have to save the progress of words which a
user has learnt per lesson wise.</div>
<div><br>
</div>
<div>The current idea I discussed with JohnnyJ is to save the
progress in a qml file inside (resource/data) of the activity.
then, we need to see how to define the format.</div>
<div>There can be different approaches to it.</div>
<div>
<ol>
<li>we store only the savedProgress corresponding to its
lesson, and everything else for the menuModel will be
fetched from words.json through lang_api<br>
</li>
</ol>
</div>
</div>
</blockquote></span>
To precise a little, savedProgress is a js variable storing while
playing the activity the percent of completed words for the current
word category. It is not yet permanent so every time the user
restarts GCompris, the progress is reinitialized.<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<ol><span class="">
<li>we also have to think if we can make this saving generic
and where do we store it (as I don't think it is great to
save it in configuration file because then as we want this
to be potentially usable by other activities, putting
these in the config file don't look like to be a good
idea).</li>
</span><li>johnny jazeix added: I would prefer a special file for
all the progresses because then, if the teacher wants to
retrieve all the stats for a child, only one file with
only necessary data would be better instead of all the
config file.</li><span class="">
<li>In json, we can't translate (use qsTr()) but you can in
qml, so it was more to provide the translators all the
strings in the same translation file they already use.<br>
</li>
</span></ol>
</div>
</div>
</blockquote>
The last point is not useful for the current issue ;).<br>
<br>
Johnny<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div>
<div>I would love to hear your ideas about it. Want to know
what can be the best approach for it.</div>
</div>
<div><br>
</div>
<div>Siddhesh suthar</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</span><pre>_______________________________________________
GCompris-devel mailing list
<a href="mailto:GCompris-devel@kde.org" target="_blank">GCompris-devel@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
GCompris-devel mailing list<br>
<a href="mailto:GCompris-devel@kde.org">GCompris-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a><br>
<br></blockquote></div><br></div>