coursemology2 icon indicating copy to clipboard operation
coursemology2 copied to clipboard

Fix Source Course Option only to Current Course in Duplication Data

Open bivanalhar opened this issue 9 months ago • 0 comments

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
Screenshot 2024-04-30 at 6 32 33 PM Screenshot 2024-04-30 at 6 34 03 PM
Screenshot 2024-04-30 at 6 35 57 PM Screenshot 2024-04-30 at 6 36 26 PM

Other Changes

  • Migrate all the files under Duplication Page into Typescript

bivanalhar avatar Apr 30 '24 10:04 bivanalhar