Closed mob-sdk closed 4 years ago
Can you elaborate what you mean?
In each exercise, add a text box where you can enter text and submit it. The entered text is displayed below the text box. Both staff and student can then enter text in the text field to submit. This way they can have some communication, like comments.
Just like the content of this page
Questionnaire exercises may have text fields. However, course staff should not write their comments in the submission fields. They can write write assistant feedback to the submission in the "inspect submission" page.
There is a separate service for feedback questionnaires that allows the course staff to write comments back to the student. It is called mooc-jutut: https://github.com/Aalto-LeTech/mooc-jutut
I presume you want open comments between students. That is something the A+ itself doesn't support. It's also usecase that isn't yet experimented with. That said, you could add iframe to the chapter page and create a service (or use e.g. phpBB) that operates within the iframe and does what ever messaging you want (e.g. chat with websockets).
I prototyped seemless iframes with A+ in mind, so you could use that as basis for setup for above. https://www.niksula.hut.fi/~jaakko/seemless_frames/
We (Aalto) has been using tools Code Vault (student to staff code paste), piazza.com, slack and telegram for open communication between students and staff. In addition, we utilise mooc-jutut as mix of feedback and interaction. It has been designed for usecase where student may report problems,. misunderstandings or what ever as part of the learning.
I don't personally see any use for open comments for exercises, thus we are not probably looking for in A+ support for it, but as described above, that kind of feature can be implemented.
As a future note, for next redesign of A+, we have designed to include comments as attachments to submissions. Again, that is between the student and staff.
I need to share a view where one URL contains a parameter. How do I change this parameter to be a not required parameter in views? thank you
I really do not understand the question. You should provide more background on what you are trying to do.
add a numeric type parameter to this URL
“(?P
How can I modify the view function to make the passed parameters unnecessary, like parent id=None
finally, add a parameter to the following URL or not
var url = "{{ exercise|url:exercise-commentsreply }}";
{% endblock script %}
In exerciseCommentsReplyView method Add a parameter,and parameter=None, and if parameter exist, then get it value if parameter does not exist, do nothing for this parameter thank you
In the URL conf, it is usually best to have multiple routes when you have optional parameters in the URL, such as the reply ID. Multiple routes in the URL conf may refer to the same view class.
https://stackoverflow.com/questions/14351048/django-optional-url-parameters https://stackoverflow.com/questions/14429500/optional-url-parameters-in-class-based-views
In the view class, the get_resource_objects
method could check if the ID parameter was supplied in the URL or not.
In Django templates, when you refer to the URL by its name, if you have multiple routes in the URL conf with different names, then those would separate the cases when you have the reply ID and when there is no ID.
Closing since this issue has been inactive for many months.
How to add comments function to each exercise?