Skip to content
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
1 change: 1 addition & 0 deletions app/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup>
import FeedBackSnackers from "@ogw_front/components/FeedBack/Snackers";
import FeedbackErrorBanner from "@ogw_front/components/FeedBack/ErrorBanner";
import Launcher from "@ogw_front/components/Launcher";
import { Status } from "@ogw_front/utils/status";
import { useInfraStore } from "@ogw_front/stores/infra";

Expand Down
2 changes: 1 addition & 1 deletion app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { importWorkflow } from "@ogw_front/utils/import_workflow";

import HybridRenderingView from "@ogw_front/components/HybridRenderingView";
import Launcher from "@ogw_front/components/Launcher";
import ViewerUI from "@ogw_front/components/Viewer/Ui";

import { useBackStore } from "@ogw_front/stores/back";
Expand All @@ -12,9 +11,10 @@
import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer";
import { useInfraStore } from "@ogw_front/stores/infra";
import { useMenuStore } from "@ogw_front/stores/menu";
import { useViewerStore } from "@ogw_front/stores/viewer";

Check warning on line 14 in app/pages/index.vue

View workflow job for this annotation

GitHub Actions / test / oxlint

import(max-dependencies)

File has too many dependencies (13). Maximum allowed is 10.

import Partners from "@pegghy/components/Partners";
import pegghyLogo from "@pegghy/assets/img/pegghy.png";

const MS_TO_SECONDS = 1000;

Expand Down Expand Up @@ -129,14 +129,14 @@
watch(
() => [viewerStore.status, backStore.status],
async ([viewerStatus, backStatus]) => {
console.log("Status viewer changed:", viewerStatus);

Check warning on line 132 in app/pages/index.vue

View workflow job for this annotation

GitHub Actions / test / oxlint

eslint(no-console)

Unexpected console statement.
console.log("Status back changed:", backStatus);

Check warning on line 133 in app/pages/index.vue

View workflow job for this annotation

GitHub Actions / test / oxlint

eslint(no-console)

Unexpected console statement.

console.log("Status", Status);

Check warning on line 135 in app/pages/index.vue

View workflow job for this annotation

GitHub Actions / test / oxlint

eslint(no-console)

Unexpected console statement.
if (viewerStatus === Status.CONNECTED && backStatus === Status.CONNECTED) {
const start = Date.now();
await importWorkflow(dataList);
console.log("importWorkflow duration :", (Date.now() - start) / MS_TO_SECONDS, "s");

Check warning on line 139 in app/pages/index.vue

View workflow job for this annotation

GitHub Actions / test / oxlint

eslint(no-console)

Unexpected console statement.
hybridViewerStore.resetCamera();
}
},
Expand Down
Loading