learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
814 stars 687 forks source link

Fix creating a quiz without having imported resources or users enrolled in the class #12739

Closed AllanOXDi closed 2 weeks ago

AllanOXDi commented 1 month ago

Summary

This pull request adds warning messages for scenarios in which there are no imported channels and/or users associated with the class when a coach attempts to create a quiz.

References

#12330

Reviewer guidance

  1. Please review the slack conversations for some decisions made whether to use a model or not here and here
  2. Does the changes makes sense ?

Testing checklist

PR process

Reviewer checklist

github-actions[bot] commented 1 month ago

Build Artifacts

Asset type Download link
PEX file kolibri-0.18.0.dev0_git.20241106004307.pex
Windows Installer (EXE) kolibri-0.18.0.dev0+git.20241106004307-windows-setup-unsigned.exe
Debian Package kolibri_0.18.0.dev0+git.20241106004307-0ubuntu1_all.deb
Mac Installer (DMG) kolibri-0.18.0.dev0+git.20241106004307.dmg
Android Package (APK) kolibri-0.18.0.dev0+git.20241106004307-0.1.4-debug.apk
TAR file kolibri-0.18.0.dev0+git.20241106004307.tar.gz
WHL file kolibri-0.18.0.dev0+git.20241106004307-py2.py3-none-any.whl
marcellamaki commented 2 weeks ago

Hi @AllanOXDi - this is ready to go, but can you please remove the yarn.lock file as it is not related to this changes? Then we can merge