Implement a feature to allow dragging and dropping live course lectures. This feature must be implemented for live courses as it is already supported for on-demand courses.
As far as it concerns on-demand courses:
  • drag and drop takes into account lectures indexing; as shown in the video recording, Lecture 1 ("First Lecture") is moved in between Lecture 3 and Lecture 4; in this case the lectures indexing is updated accordingly;
  • the title of course is left unchanged;
As far as it concerns live courses:
  • drag and drop must take into account lectures indexing; as shown in the screenshot , Lecture 1 ("First Lecture") is moved in between Lecture 3 and Lecture 4; in this case the lectures indexing is updated accordingly;
  • in this scenario also the lecture dates must be updated accordingly; there are 3 scenarios I managed to devise: the target lecture is moved to the beginning of the chapter, the target lecture is moved in between two existing lectures, the target lecture is moved at the end of the chapter; in these scenarios the BE must check if the lecture can be fitted in the target slot; or else reject the update and leave the lecture where it was to begin with;
  • the title of course is left unchanged;
Please coordinate with the BE department to properly review different scenarios before moving on to design and implementation.