Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Source Course only to Current Course during Duplication #7481

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

bivanalhar
Copy link
Contributor

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

@bivanalhar bivanalhar force-pushed the bivan/fix-source-course-duplication branch 2 times, most recently from 953dabb to 27b1e5b Compare August 7, 2024 09:02
@bivanalhar bivanalhar force-pushed the bivan/fix-source-course-duplication branch 2 times, most recently from c69b03d to 0cdacfe Compare August 7, 2024 09:52
@bivanalhar bivanalhar force-pushed the bivan/fix-source-course-duplication branch from 0cdacfe to 8c9f8cd Compare August 8, 2024 01:58
@bivanalhar bivanalhar force-pushed the bivan/fix-source-course-duplication branch 3 times, most recently from 911d219 to b113b04 Compare August 8, 2024 04:43
@cysjonathan cysjonathan force-pushed the bivan/fix-source-course-duplication branch from b113b04 to 5b1f455 Compare August 9, 2024 07:29
- only allow duplication from current course
- remove all APIs used only in choosing source course
- change page title in duplication page to include course title
- remove unnecessary translation
- add en/zh translations for Destination Instance and Duplicate Data
- due to change in the UI for duplication page
- source course button needs to be removed
@cysjonathan cysjonathan force-pushed the bivan/fix-source-course-duplication branch from 5b1f455 to 398f7bc Compare August 9, 2024 07:33
@cysjonathan cysjonathan enabled auto-merge (rebase) August 9, 2024 07:35
@cysjonathan cysjonathan merged commit 072cadc into master Aug 9, 2024
13 checks passed
@cysjonathan cysjonathan deleted the bivan/fix-source-course-duplication branch August 9, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants