Skip to content

Commit

Permalink
SEBSP-162 add seperate proctoring view for application search
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadim Ritter committed Oct 21, 2024
1 parent 61adf03 commit c888d36
Show file tree
Hide file tree
Showing 14 changed files with 577 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

<template v-slot:append>
<!--todo: maybe move openProctoringView to general utils file-->
<v-btn
@click="searchViewService.openProctoringApplicationSearch(
userItem.sessionUuid,
props.metadataApp,
props.metadataWindow)"
variant="text"
icon="mdi-movie-play">
</v-btn>
<v-btn
@click="searchViewService.openProctoringView(
userItem.sessionUuid,
Expand Down Expand Up @@ -64,6 +72,18 @@
}
// async function testApi(sessionUUID: string){
// const timestamps: number[] | null =
// await applicationsSearchViewService.getTimestampListForApplicationSearch(
// sessionUUID,
// props.metadataApp,
// props.metadataWindow
// );
// console.log(timestamps)
// }
</script>


Expand Down
8 changes: 4 additions & 4 deletions client/src/components/views/gallery/GalleryImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@dblclick="openDialog()"
:aspect-ratio="16/9"
:class="{'on-hover': isHovering}"
:src="liveService.getLatestImageLink(screenshot, timestamp.toString())">
:src="linkService.getLatestImageLink(screenshot, timestamp.toString())">

<div v-if="isHovering || galleryStore.focusedImageIndexes[index]" class="hover-overlay d-flex">
<v-row>
Expand Down Expand Up @@ -80,7 +80,7 @@
eager
class="content-filler"
:aspect-ratio="16/9"
:src="liveService.getLatestImageLink(screenshot, timestamp.toString())">
:src="linkService.getLatestImageLink(screenshot, timestamp.toString())">
</v-img>
</v-hover>
<!-------------------------->
Expand Down Expand Up @@ -181,7 +181,7 @@
<script setup lang="ts">
import { ref, computed, onBeforeMount } from "vue";
import * as galleryViewService from "@/services/component-services/galleryViewService";
import * as liveService from "@/services/component-services/liveService";
import * as linkService from "@/services/component-services/linkService";
import { useAppBarStore, useGalleryStore } from "@/store/store";
import { useI18n } from "vue-i18n";
Expand Down Expand Up @@ -220,7 +220,7 @@
}
const expandedScreenshotLink = computed<string>(() => {
return liveService.getLatestImageLink(props.screenshot, props.timestamp.toString());
return linkService.getLatestImageLink(props.screenshot, props.timestamp.toString());
});
function setTabFocus(event: any){
Expand Down
Loading

0 comments on commit c888d36

Please sign in to comment.