Closed Felienne closed 2 months ago
Maybe another small one for you @hasan-sh? No rush though, more of a palet cleanser between cypress tests and the translation pipeline?
@Felienne could you explain what the problem here is?
As explained in the images, the user shown has 147 programs in their own public page, but only 4 when seen from the teacher's view (I blacked out the names of the other students on the second picture, maybe that is confusing?)
On Tuesday, June 25, 2024, Hasan_sh @.***> wrote:
@Felienne https://github.com/Felienne could you explain what the problem here is?
— Reply to this email directly, view it on GitHub https://github.com/hedyorg/hedy/issues/5199#issuecomment-2188840247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHVBJOKQ4GZZGPSOSNTQTDZJFQ6VAVCNFSM6AAAAABEBQ5J6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYHA2DAMRUG4 . You are receiving this because you were mentioned.Message ID: @.***>
147 programs in their own public page, but only 4 when seen from the teacher's view
Correct! The problem was that in their public page, the created programs
count is actually the account of how many times they run a program; run_programs
property from the achievements table. I've changed that to work as the labels suggests; i.e., the number of created programs.
One more from the same school.
It seems teachers see a really different number of programs than students. Here is an example where that happens for user Sofie1bs:
Other kids in the class also had counts over a hundred. But the teacher sees this: