From 1f18ef4362a5fc4ad5ece7f69d96f86f4f2b9e74 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 19 Jan 2024 17:44:47 +0530 Subject: [PATCH] feat: discussions in batches --- frontend/src/components/DiscussionReplies.vue | 12 +++-- frontend/src/components/Discussions.vue | 16 +++++-- frontend/src/pages/Batch.vue | 46 ++++++++++++++----- frontend/src/pages/BatchDetail.vue | 13 ++++++ frontend/src/pages/Lesson.vue | 4 +- frontend/src/pages/Statistics.vue | 1 - lms/lms/utils.py | 24 +++++++++- lms/patches.txt | 3 +- .../v1_0/custom_perm_for_discussions.py | 42 +++++++++++++++++ 9 files changed, 137 insertions(+), 24 deletions(-) create mode 100644 lms/patches/v1_0/custom_perm_for_discussions.py diff --git a/frontend/src/components/DiscussionReplies.vue b/frontend/src/components/DiscussionReplies.vue index 8c863f0c..e6c7fc81 100644 --- a/frontend/src/components/DiscussionReplies.vue +++ b/frontend/src/components/DiscussionReplies.vue @@ -1,6 +1,6 @@