coursemology2
coursemology2 copied to clipboard
Fix Source Course Option only to Current Course in Duplication Data
Related to issue #7289
Approach
From the Possible Fixes enlisted in the Issue page, we decided to go with the first one, which is only to lock the source course option to the current course. The rationale behind is that since this Duplicate Data is available for all courses, then if user wishes to duplicate something from other course, he/she needs to navigate to that course first then can do the duplication properly
UI Improvement
Since we only restrict the option of Source Course into the current course, there is a slight change in the UI for Duplicate Data page, in which the options for Source Course is removed altogether and the Title of the page includes the Course Title. The comparison is as follows:
Before | After |
---|---|
Other Changes
- Migrate all the files under Duplication Page into Typescript