-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1649 from dodona-edu/feature/survey
Ask users to fill in UEQ survey
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<script setup lang="ts"> | ||
import { useStorage } from "@vueuse/core"; | ||
import router from "@/router"; | ||
const notAfter = new Date("2025-04-01"); | ||
const state = useStorage('dolos-ueq-survey', new Date() < notAfter); | ||
const surveyLink = "https://ugent.qualtrics.com/jfe/form/SV_6QpMmrEuuoGSMWW"; | ||
const goAndHide = () => { | ||
state.value = false; | ||
router.push(surveyLink); | ||
} | ||
</script> | ||
|
||
<template> | ||
<v-alert | ||
v-model="state" | ||
title="Help Dolos!" | ||
type="info" | ||
closable | ||
> | ||
Give your honest opinion about Dolos by filling out this short survey | ||
<v-chip color="default" variant="outlined" :href="surveyLink" :onclick="goAndHide"><b>Take the survey!</b></v-chip> | ||
</v-alert> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters