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

Report viewer/clean console #1647

Merged
merged 3 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions report-viewer/src/viewWrapper/ClusterViewWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<ClusterView v-if="overview" :overview="overview" :cluster="overview.clusters[clusterIndex]" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>
<div>
<ClusterView v-if="overview" :overview="overview" :cluster="overview.clusters[clusterIndex]" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>

<RepositoryReference />
<RepositoryReference />
</div>
</template>

<script setup lang="ts">
Expand Down
18 changes: 10 additions & 8 deletions report-viewer/src/viewWrapper/ComparisonViewWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<ComparisonView v-if="comparison && language" :comparison="comparison" :language="language" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>
<div>
<ComparisonView v-if="comparison && language" :comparison="comparison" :language="language" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>

<RepositoryReference />
<RepositoryReference />
</div>
</template>

<script setup lang="ts">
Expand Down
18 changes: 10 additions & 8 deletions report-viewer/src/viewWrapper/InformationViewWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<InformationView v-if="overview" :overview="overview" :options="cliOptions" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>
<div>
<InformationView v-if="overview" :overview="overview" :options="cliOptions" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>

<RepositoryReference />
<RepositoryReference />
</div>
</template>

<script setup lang="ts">
Expand Down
18 changes: 10 additions & 8 deletions report-viewer/src/viewWrapper/OverviewViewWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<OverviewView v-if="overview" :overview="overview" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>
<div>
<OverviewView v-if="overview" :overview="overview" />
<div
v-else
class="absolute bottom-0 left-0 right-0 top-0 flex flex-col items-center justify-center"
>
<LoadingCircle class="mx-auto" />
</div>

<RepositoryReference />
<RepositoryReference />
</div>
</template>

<script setup lang="ts">
Expand Down
2 changes: 1 addition & 1 deletion report-viewer/src/views/ComparisonView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const props = defineProps({
required: true
},
language: {
type: Object as PropType<Language>,
type: String as PropType<Language>,
required: true
}
})
Expand Down
1 change: 0 additions & 1 deletion report-viewer/src/views/FileUploadView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ BaseFactory.getLocalFile('files/overview.json')
.catch(() => {})

BaseFactory.useLocalZipMode().then((value) => {
console.log('Using local zip mode:', value)
if (value) {
store().state.uploadedFileName = BaseFactory.zipFileName
navigateToOverview()
Expand Down
Loading