Skip to content

Commit

Permalink
Merge pull request #27 from platforma-open/pl-log-view-handle
Browse files Browse the repository at this point in the history
Use PlLogView directly to display any log handle logs
  • Loading branch information
dbolotin authored Nov 5, 2024
2 parents 9c4f9b6 + 0e0a078 commit 197e4a6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 93 deletions.
6 changes: 6 additions & 0 deletions .changeset/lazy-dragons-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@platforma-open/milaboratories.mixcr-clonotyping.ui': patch
'@platforma-open/milaboratories.mixcr-clonotyping': patch
---

Use PlLogView directly to display any log handle logs
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages:
catalog:
'@platforma-sdk/workflow-tengo': ^1.7.2
'@platforma-sdk/model': ^1.7.20
'@platforma-sdk/ui-vue': ^1.7.40
'@platforma-sdk/ui-vue': ^1.7.42
'@platforma-sdk/tengo-builder': ^1.16.1
'@platforma-sdk/block-tools': ^2.3.21

Expand Down
73 changes: 0 additions & 73 deletions ui/src/Log.vue

This file was deleted.

12 changes: 4 additions & 8 deletions ui/src/SampleReportPanelLogs.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
<script setup lang="ts">
import { useApp } from './app';
import Log from './Log.vue';
import { PlLogView } from '@platforma-sdk/ui-vue';
import { MiXCRResult } from './results';
const props = defineProps<{
defineProps<{
sampleData: MiXCRResult
}>()
const app = useApp();
}>();
</script>

<template>
<Log :handle="props.sampleData.logHandle" />
<PlLogView :log-handle="sampleData.logHandle" />
</template>
3 changes: 2 additions & 1 deletion ui/src/SettingsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function setPresetFile(file?: ImportFileHandle) {
</script>

<template>
<PlDropdownRef :options="inputOptions ?? []" v-model="app.model.args.input" label="Select dataset" clearable />
<!--(Temp z-index fix, will become obsolete after dropdown update)-->
<PlDropdownRef style="z-index: 2;" :options="inputOptions ?? []" v-model="app.model.args.input" label="Select dataset" clearable />
<PlBtnGroup :options="presetSourceOptions" v-model="data.presetType" />
Expand Down

0 comments on commit 197e4a6

Please sign in to comment.