diff --git a/.build-files/BuildConfig.py b/.build-files/BuildConfig.py index 5ddd24b8..86f39198 100644 --- a/.build-files/BuildConfig.py +++ b/.build-files/BuildConfig.py @@ -37,8 +37,6 @@ def __init__(self, message): # Now for your custom code... - - class BuildConfig: def __init__(self, configFile, envFile): try: diff --git a/.build-files/docker-compose-local.template.yml b/.build-files/docker-compose-local.template.yml index 0be80e51..ae67fb95 100644 --- a/.build-files/docker-compose-local.template.yml +++ b/.build-files/docker-compose-local.template.yml @@ -31,6 +31,8 @@ services: - "8000:8000" environment: DJANGO_ENV_FILE: "/app/.env" + volumes: + - ../apps/server/api/migrations:/app/api/migrations depends_on: db: condition: service_healthy diff --git a/.build-files/docker-compose.template.yml b/.build-files/docker-compose.template.yml index acb9de6a..5a0eca99 100644 --- a/.build-files/docker-compose.template.yml +++ b/.build-files/docker-compose.template.yml @@ -34,6 +34,8 @@ services: - "8000:8000" environment: DJANGO_ENV_FILE: "/app/.env" + volumes: + - ../apps/server/api/migrations:/app/api/migrations depends_on: db: condition: service_healthy diff --git a/apps/client/src/App.scss b/apps/client/src/App.scss index a2e2c61f..820b6c84 100644 --- a/apps/client/src/App.scss +++ b/apps/client/src/App.scss @@ -51,3 +51,10 @@ // Utilities @import 'bootstrap/scss/utilities'; @import 'bootstrap/scss/utilities/api'; + +@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); + +:root, +[data-bs-theme='light'] { + --bs-font-sans-serif: 'Inter', sans-serif; +} diff --git a/apps/client/src/App.vue b/apps/client/src/App.vue index 5bbef694..703eb7d8 100644 --- a/apps/client/src/App.vue +++ b/apps/client/src/App.vue @@ -1,12 +1,12 @@ diff --git a/apps/client/src/components/SimpleTable.vue b/apps/client/src/components/SimpleTable.vue index ff8a659d..61655381 100644 --- a/apps/client/src/components/SimpleTable.vue +++ b/apps/client/src/components/SimpleTable.vue @@ -1,7 +1,10 @@ + + + + diff --git a/apps/client/src/components/custom/LBtn.vue b/apps/client/src/components/custom/LBtn.vue new file mode 100644 index 00000000..d61a4504 --- /dev/null +++ b/apps/client/src/components/custom/LBtn.vue @@ -0,0 +1,64 @@ + + diff --git a/apps/client/src/components/custom/LChip.vue b/apps/client/src/components/custom/LChip.vue new file mode 100644 index 00000000..0f4bd573 --- /dev/null +++ b/apps/client/src/components/custom/LChip.vue @@ -0,0 +1,13 @@ + + + diff --git a/apps/client/src/components/globalSettings/DatasetSelector.vue b/apps/client/src/components/globalSettings/DatasetSelector.vue index 25221108..dbc79a12 100644 --- a/apps/client/src/components/globalSettings/DatasetSelector.vue +++ b/apps/client/src/components/globalSettings/DatasetSelector.vue @@ -1,26 +1,21 @@ diff --git a/apps/client/src/components/globalSettings/GlobalSettingsView.vue b/apps/client/src/components/globalSettings/GlobalSettingsView.vue index aba61333..e17428b1 100644 --- a/apps/client/src/components/globalSettings/GlobalSettingsView.vue +++ b/apps/client/src/components/globalSettings/GlobalSettingsView.vue @@ -1,5 +1,5 @@ diff --git a/apps/client/src/components/globalSettings/StubView.vue b/apps/client/src/components/globalSettings/StubView.vue index c7075b22..8ff00767 100644 --- a/apps/client/src/components/globalSettings/StubView.vue +++ b/apps/client/src/components/globalSettings/StubView.vue @@ -1,5 +1,5 @@ diff --git a/apps/client/src/components/globalSettings/UnivariateCellPlot.vue b/apps/client/src/components/globalSettings/UnivariateCellPlot.vue index 5cd0ed58..aeb7c661 100644 --- a/apps/client/src/components/globalSettings/UnivariateCellPlot.vue +++ b/apps/client/src/components/globalSettings/UnivariateCellPlot.vue @@ -2,17 +2,21 @@ import { ref, watch, onMounted, computed } from 'vue'; import type { PropType } from 'vue'; import * as vg from '@uwdata/vgplot'; -import { useCellMetaData } from '@/stores/cellMetaData'; -import { useSelectionStore, type DataSelection } from '@/stores/selectionStore'; +import { + useSelectionStore, + type DataSelection, +} from '@/stores/interactionStores/selectionStore'; +import { useDatasetSelectionStore } from '@/stores/dataStores/datasetSelectionUntrrackedStore'; import { storeToRefs } from 'pinia'; import FilterEditMenu from './FilterEditMenu.vue'; -import { useGlobalSettings } from '@/stores/globalSettings'; +import { useGlobalSettings } from '@/stores/componentStores/globalSettingsStore'; import { QItemSection } from 'quasar'; // Initialise Data +const datasetSelectionStore = useDatasetSelectionStore(); +const { experimentDataInitialized } = storeToRefs(datasetSelectionStore); + const globalSettings = useGlobalSettings(); -const cellMetaData = useCellMetaData(); -const { dataInitialized } = storeToRefs(cellMetaData); const selectionStore = useSelectionStore(); // Define Plot Emits and Props @@ -33,7 +37,7 @@ function makePlot(column: string) { try { return vg.plot( // Background grey data - vg.rectY(vg.from('current_cell_metadata'), { + vg.rectY(vg.from('composite_experiment_cell_metadata'), { x: vg.bin(column), y: vg.count(), fill: '#cccccc', @@ -41,7 +45,9 @@ function makePlot(column: string) { }), // Currently Selected Data vg.rectY( - vg.from('current_cell_metadata', { filterBy: props.plotBrush }), + vg.from('composite_experiment_cell_metadata', { + filterBy: props.plotBrush, + }), { x: vg.bin(column), y: vg.count(), @@ -57,7 +63,7 @@ function makePlot(column: string) { vg.width(268), vg.height(85), vg.style({ 'font-size': '.85em' }), - vg.xDomain(vg.toFixed), + vg.xDomain(vg.Fixed), vg.xLabelAnchor('center'), vg.xTickPadding(8), vg.xLabelOffset(38), @@ -110,13 +116,13 @@ async function handlePlotLoading() { // Handle Rendering onMounted(() => { - if (dataInitialized.value) { + if (experimentDataInitialized.value) { createCharts(); } }); // Waits for data to be initialized before creating charts -watch(dataInitialized, createCharts); +watch(experimentDataInitialized, createCharts); const plotContainer = ref(null); diff --git a/apps/client/src/components/upload/LoadingProgress.vue b/apps/client/src/components/upload/LoadingProgress.vue index f1c1512a..73b914f1 100644 --- a/apps/client/src/components/upload/LoadingProgress.vue +++ b/apps/client/src/components/upload/LoadingProgress.vue @@ -1,113 +1,120 @@ diff --git a/apps/client/src/components/upload/StepReview.vue b/apps/client/src/components/upload/StepReview.vue index 0bc17bab..065b09b1 100644 --- a/apps/client/src/components/upload/StepReview.vue +++ b/apps/client/src/components/upload/StepReview.vue @@ -1,5 +1,5 @@ diff --git a/apps/client/src/components/upload/StepUploadStatus.vue b/apps/client/src/components/upload/StepUploadStatus.vue index 92ffd21a..ba357c51 100644 --- a/apps/client/src/components/upload/StepUploadStatus.vue +++ b/apps/client/src/components/upload/StepUploadStatus.vue @@ -1,95 +1,47 @@