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

Fixes to the custom view #1256

Merged
merged 11 commits into from
Mar 28, 2024
Merged

Fixes to the custom view #1256

merged 11 commits into from
Mar 28, 2024

Conversation

anadis504
Copy link
Collaborator

No description provided.

@@ -37,8 +38,17 @@ const CustomViewIframe: React.FC<React.PropsWithChildren<CustomViewIframeProps>>
const courseInstanceId = pageContext.instance?.id
const courseId = pageContext.settings?.current_course_id

const courseModuleCompletionsQuery = useQuery({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make it a hook

@@ -507,7 +507,8 @@ pub async fn get_user_exersice_task_submissions_by_course_module_and_exercise_ty
let res: Vec<CustomViewExerciseTaskSubmission> = sqlx::query_as!(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename the function to get_user_latest_exercise_task_submissions_by_course_module_and_exercise_type(

@nygrenh nygrenh enabled auto-merge (squash) March 28, 2024 12:23
@nygrenh nygrenh changed the title Research questions download Fixes to the custom view Mar 28, 2024
@nygrenh nygrenh disabled auto-merge March 28, 2024 12:24
@nygrenh nygrenh enabled auto-merge (squash) March 28, 2024 12:24
@nygrenh nygrenh merged commit 395be6b into master Mar 28, 2024
17 checks passed
@nygrenh nygrenh deleted the research-questions-download branch March 28, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants