diff --git a/e2e/pytest.ini b/e2e/pytest.ini index 77c975cd..98815e30 100644 --- a/e2e/pytest.ini +++ b/e2e/pytest.ini @@ -4,4 +4,4 @@ asyncio_mode = auto # https://playwright.dev/python/docs/test-runners#async-fixtures asyncio_default_test_loop_scope = session asyncio_default_fixture_loop_scope = session -norecursedirs = "tests" +norecursedirs = tests frontend diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f04c3fe1..bdcb90dd 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -24,8 +24,10 @@ - - + +
+ +
diff --git a/frontend/src/components/PackageCard.vue b/frontend/src/components/PackageCard.vue index 03920a10..ce321ccd 100644 --- a/frontend/src/components/PackageCard.vue +++ b/frontend/src/components/PackageCard.vue @@ -5,8 +5,7 @@ --> - + diff --git a/frontend/src/components/attempt/AttemptPreview.vue b/frontend/src/components/attempt/AttemptPreview.vue index a5e8d5f2..fe519e88 100644 --- a/frontend/src/components/attempt/AttemptPreview.vue +++ b/frontend/src/components/attempt/AttemptPreview.vue @@ -5,57 +5,68 @@ --> @@ -79,9 +90,9 @@ const { questionId, attemptId } = defineProps<{ }>() const { - asyncStatus, attemptData, error, + isPending, iframeSrcDoc, renderErrors, score, diff --git a/frontend/src/components/common/BackLink.vue b/frontend/src/components/common/BackLink.vue new file mode 100644 index 00000000..07912ab9 --- /dev/null +++ b/frontend/src/components/common/BackLink.vue @@ -0,0 +1,24 @@ + + + + + + + diff --git a/frontend/src/components/common/FormGroup.vue b/frontend/src/components/common/FormGroup.vue index 688f0800..29a8f87b 100644 --- a/frontend/src/components/common/FormGroup.vue +++ b/frontend/src/components/common/FormGroup.vue @@ -5,7 +5,15 @@ --> + + diff --git a/frontend/src/components/common/IconButton.vue b/frontend/src/components/common/IconButton.vue index fc5656c7..d2600b5a 100644 --- a/frontend/src/components/common/IconButton.vue +++ b/frontend/src/components/common/IconButton.vue @@ -5,17 +5,22 @@ --> diff --git a/frontend/src/components/common/ListView.vue b/frontend/src/components/common/ListView.vue new file mode 100644 index 00000000..933ce2fc --- /dev/null +++ b/frontend/src/components/common/ListView.vue @@ -0,0 +1,57 @@ + + + + + + + diff --git a/frontend/src/components/common/LoadingIndicator.vue b/frontend/src/components/common/LoadingIndicator.vue index da1f7b1b..68405ee3 100644 --- a/frontend/src/components/common/LoadingIndicator.vue +++ b/frontend/src/components/common/LoadingIndicator.vue @@ -5,5 +5,24 @@ --> + + diff --git a/frontend/src/components/question/QuestionCard.vue b/frontend/src/components/question/QuestionCard.vue index 9f9c66df..433495d4 100644 --- a/frontend/src/components/question/QuestionCard.vue +++ b/frontend/src/components/question/QuestionCard.vue @@ -18,8 +18,9 @@
{{ data }}
- - Clone + Clone Export () const questionLocation = { name: 'question', params: { questionId } } as const - const { colorMode } = storeToRefs(useAppStateStore()) const deleteQuestion = useDeleteQuestion(questionId) +const cloneQuestion = useCloneQuestion(questionId) const { isActive: isCurrentPreviewActive } = useLink({ to: questionLocation }) const cardVariant = computed(() => (colorMode.value === 'dark' ? 'dark' : 'light')) diff --git a/frontend/src/components/question/QuestionList.vue b/frontend/src/components/question/QuestionList.vue index d1771e36..c9ea2f1e 100644 --- a/frontend/src/components/question/QuestionList.vue +++ b/frontend/src/components/question/QuestionList.vue @@ -5,24 +5,23 @@ --> - - diff --git a/frontend/src/components/question/QuestionOptions.vue b/frontend/src/components/question/QuestionOptions.vue index 929c9816..06ee6a48 100644 --- a/frontend/src/components/question/QuestionOptions.vue +++ b/frontend/src/components/question/QuestionOptions.vue @@ -5,43 +5,44 @@ -->