Skip to content

Commit

Permalink
update ui sdk (auto-hug for the Ghost button) & use 24x24 settings icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gramkin committed Nov 8, 2024
1 parent bf618bd commit 240c5b2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .changeset/dry-jars-wash.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
---

update ui sdk (auto-hug for the Ghost button) & use 24x24 settings icon
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.42
'@platforma-sdk/ui-vue': ^1.7.51
'@platforma-sdk/tengo-builder': ^1.16.1
'@platforma-sdk/block-tools': ^2.3.21

Expand Down
9 changes: 7 additions & 2 deletions ui/src/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ModuleRegistry
} from '@ag-grid-community/core';
import { PlId } from '@platforma-open/milaboratories.mixcr-clonotyping.model';
import { AgGridTheme, PlAgOverlayLoading, PlAgOverlayNoRows, PlBlockPage, PlBtnGhost, PlSlideModal } from '@platforma-sdk/ui-vue';
import { AgGridTheme, PlAgOverlayLoading, PlAgOverlayNoRows, PlBlockPage, PlBtnGhost, PlSlideModal, PlMaskIcon24 } from '@platforma-sdk/ui-vue';
import { refDebounced, whenever } from '@vueuse/core';
import { reactive, shallowRef, watch } from 'vue';
import AlignmentStatsCell from './AlignmentStatsCell.vue';
Expand Down Expand Up @@ -122,7 +122,12 @@ const gridOptions: GridOptions<MiXCRResult> = {
<PlBlockPage>
<template #title>MiXCR Clonotyping</template>
<template #append>
<PlBtnGhost :icon="'settings-2'" @click.stop="() => data.settingsOpen = true">Settings</PlBtnGhost>
<PlBtnGhost @click.stop="() => data.settingsOpen = true">
Settings
<template #append>
<PlMaskIcon24 name="settings" />
</template>
</PlBtnGhost>
</template>
<div :style="{ flex: 1 }">
<AgGridVue :theme="AgGridTheme" :style="{ height: '100%' }" @grid-ready="onGridReady" :rowData="result" :columnDefs="columnDefs"
Expand Down

0 comments on commit 240c5b2

Please sign in to comment.