diff --git a/frontend/package-lock.json b/frontend/package-lock.json index bc42cb49a..dcf040db0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -53,6 +53,7 @@ "@iconify-json/fa-regular": "^1.1.8", "@iconify-json/fa-solid": "^1.1.8", "@iconify-json/fa6-solid": "^1.1.21", + "@iconify-json/fluent": "^1.1.59", "@iconify-json/mdi": "^1.1.66", "@iconify-json/medical-icon": "^1.1.8", "@iconify-json/oi": "^1.1.8", @@ -2812,6 +2813,15 @@ "@iconify/types": "*" } }, + "node_modules/@iconify-json/fluent": { + "version": "1.1.59", + "resolved": "https://registry.npmjs.org/@iconify-json/fluent/-/fluent-1.1.59.tgz", + "integrity": "sha512-4gihRqVI4aVfx26VOk0LAcjLkii7DWsdb1AP0NXRQ/fZ5VJOIqf7NdVfz5K01w+4ayDLl+aDdp7X1zlCh2kOwg==", + "dev": true, + "dependencies": { + "@iconify/types": "*" + } + }, "node_modules/@iconify-json/mdi": { "version": "1.1.66", "resolved": "https://registry.npmjs.org/@iconify-json/mdi/-/mdi-1.1.66.tgz", diff --git a/frontend/package.json b/frontend/package.json index 48dceb284..0b200c30f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -60,6 +60,7 @@ "@iconify-json/fa-regular": "^1.1.8", "@iconify-json/fa-solid": "^1.1.8", "@iconify-json/fa6-solid": "^1.1.21", + "@iconify-json/fluent": "^1.1.59", "@iconify-json/mdi": "^1.1.66", "@iconify-json/medical-icon": "^1.1.8", "@iconify-json/oi": "^1.1.8", diff --git a/frontend/src/cases/components/CaseDetailApp.vue b/frontend/src/cases/components/CaseDetailApp.vue index cf6574b2e..b770d3517 100644 --- a/frontend/src/cases/components/CaseDetailApp.vue +++ b/frontend/src/cases/components/CaseDetailApp.vue @@ -60,7 +60,6 @@ const caseAnalysisStore = useCaseAnalysisStore() const seqvarsQueryStore = useSeqvarsQueryStore() // Routing-related. - const router = useRouter() const refreshStores = async () => { diff --git a/frontend/src/cases/router/index.ts b/frontend/src/cases/router/index.ts index 36cd599f2..15b356907 100644 --- a/frontend/src/cases/router/index.ts +++ b/frontend/src/cases/router/index.ts @@ -4,6 +4,7 @@ import StrucvarDetails from '@/svs/views/StrucvarDetails/StrucvarDetails.vue' import SvFilterApp from '@/svs/components/SvFilterApp.vue' import { useHistoryStore } from '@/varfish/stores/history' import FilterApp from '@/variants/components/FilterApp.vue' +import SeqvarsApp from '@/seqvars/App.vue' import SeqvarDetails from '@/variants/views/SeqvarDetails/SeqvarDetails.vue' import { RouteLocationNormalized, @@ -92,6 +93,14 @@ const routes: RouteRecordRaw[] = [ caseUuid: route.params.case, }), }, + { + name: 'seqvars', + path: '/seqvars/:case', + component: SeqvarsApp, + props: (route: RouteLocationNormalized) => ({ + caseUuid: route.params.case, + }), + }, { name: 'seqvar-details', path: '/seqvar/details/:row/:selectedSection?', diff --git a/frontend/src/seqvars/App.vue b/frontend/src/seqvars/App.vue new file mode 100644 index 000000000..d44fb0220 --- /dev/null +++ b/frontend/src/seqvars/App.vue @@ -0,0 +1,65 @@ + + + diff --git a/frontend/src/seqvars/components/FrequencySelect/FrequencySelect.vue b/frontend/src/seqvars/components/FrequencySelect/FrequencySelect.vue index 5be022113..15cb94a0b 100644 --- a/frontend/src/seqvars/components/FrequencySelect/FrequencySelect.vue +++ b/frontend/src/seqvars/components/FrequencySelect/FrequencySelect.vue @@ -4,7 +4,6 @@ import { SeqvarsQueryPresetsFrequency } from '@varfish-org/varfish-api/lib' import CollapsibleGroup from '@/seqvars/components/CollapsibleGroup.vue' import Hr from '@/seqvars/components/Hr.vue' import Item from '@/seqvars/components/Item.vue' -import ModifiedIcon from '@/seqvars/components/ModifiedIcon.vue' import { Query } from '@/seqvars/types' import { copy } from '@/varfish/helpers' @@ -15,6 +14,10 @@ const { presets } = defineProps<{ presets: SeqvarsQueryPresetsFrequency[] }>() const model = defineModel({ required: true, }) +const setToPreset = (preset: SeqvarsQueryPresetsFrequency) => { + model.value.frequencypresets = preset.sodar_uuid + model.value.frequency = copy(preset) +}