Fix monitoring presence (TODO: weird Vue syntax...)
[qomet.git] / TODO
CommitLineData
71d1ca9c
BA
1Replace underscore by lodash (or better: ES6)
2Replace socket.io by Websockets ( https://www.npmjs.com/package/websocket )
3
4time per question (in mode "one question at a time" from server...)
5compute grades after exam (in teacher's view)
6factorize redundant code in course.js, monitor.js and (TOWRITE) grade.js
7 (showing students list + grades or papers)
fa6abf40 8monitoring: main teacher should not be asked for pwd, and button "send feedback" hidden for others
88c19de0 9(or just disabled)
71d1ca9c 10
e5ec7dea
BA
11-----
12
88c19de0 13Draft format (compiled to json)
e99c53fb 14
88c19de0 15> Some global (HTML) intro
e99c53fb 16
88c19de0 17<some html question (or/+ exercise intro)>
e99c53fb 18
88c19de0
BA
19 <some html subQuestion>
20 * some answer [trigger input/index in answers]
e99c53fb 21
88c19de0 22 <another subquestion>
e99c53fb 23
88c19de0
BA
24 <sub-subQuestion>
25 + choix1
26 - choix 2
27 + choix 3
28 - choix4
e99c53fb 29
88c19de0
BA
30 <another sub sub>
31 * answer 2 (which can
32 be on
33 several lines)
e99c53fb 34
88c19de0
BA
35<Some second question>
36* With answer
e99c53fb
BA
37
38=====
39
88c19de0
BA
40questions group by index prefix 1.2.3 1.1 ...etc --> '1'
41
42NOTE: questions can contain parameterized exercises (how ?
43--> describe variables (syntax ?)
44--> write javascript script (OK, users trusted ? ==> safe mode possible if public website)
45Imaginary example: (using math.js)
46 <params> (avant l'exo)
47 x: math.random()
48 y: math.random()
49 M: math.matrix([[7, x], [y, -3]]);
50 res: math.det(M)
51 </params>
52 <div>Calculer le déterminant de
53 $$\begin{matrix}7 & x\\y & -3\end{matrix}$$</div>
54 * ...