Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
850ea5d
Add Table Component for Contributor Supplied Calibrations
bencap Dec 17, 2024
35e84eb
Support Score Calibrations on the Histogram
bencap Dec 17, 2024
dc2a4be
Remove Calibrations from Controls; Show table based on active shader
bencap Dec 31, 2024
0fff77f
Add configurable text alignment to histogram shaders
bencap Dec 31, 2024
f4bcc66
Re-center Calibration Labels
bencap Jan 2, 2025
f92c280
Remove Log Message in Histogram
bencap Jan 2, 2025
6916f81
Refactor Odds Path Table into Child Component
bencap Jan 2, 2025
ccb7ee1
Emit Calibration Selection Changes
bencap Jan 2, 2025
d75d9ec
Use Calibration Emit and Odds Path Child Component within Histogram
bencap Jan 2, 2025
55f4d50
Filter NaN Apply Fields from Heatmap During Data Preparation
bencap Jan 15, 2025
e9e0b59
Display badges for official collections on score set page
sallybg Nov 26, 2024
b5bdd02
Add mave title styling for collection badge display
sallybg Nov 26, 2024
aac0dfc
Draft components to add and create collections
sallybg Nov 26, 2024
ce2e753
Create collection from collection adder dialog
sallybg Dec 4, 2024
2635a2b
Add collection view
sallybg Dec 4, 2024
351306a
Do not display owned collections
sallybg Dec 4, 2024
1c91b53
Add content to collection view
sallybg Dec 9, 2024
9a759b3
Add ability to edit collection name and title
sallybg Dec 12, 2024
b148526
Add and remove score sets from collection (unfinished)
sallybg Dec 13, 2024
2e3a237
Edit collection data sets and contributors
sallybg Dec 17, 2024
3774ef2
Fix missing import in collection contributor editor
sallybg Dec 18, 2024
0d4d6a5
Begin refactor of collection data set editor (unfinished)
sallybg Dec 18, 2024
c755097
Add todo to collection adder
sallybg Dec 18, 2024
8e7276d
Change language in collection creator and do not allow empty string f…
sallybg Dec 18, 2024
361f758
Collections screen
jstone-dev Dec 31, 2024
1d2bc8c
Code formatting
jstone-dev Dec 31, 2024
cf4720f
Fixed _blank link targets.
jstone-dev Dec 31, 2024
dc62938
Styled the collection name editor.
jstone-dev Dec 31, 2024
20e620a
Allow multiline collection descriptions, and style the description ed…
jstone-dev Dec 31, 2024
e0c20f9
Display multiline collection descriptions correctly.
jstone-dev Dec 31, 2024
3198af9
Simplified permissions on collection editor.
jstone-dev Dec 31, 2024
2b257e1
Hide collection editors and viewers lists from non-administrators. Sh…
jstone-dev Dec 31, 2024
5dc889e
Show collection badge on the collection screen.
jstone-dev Dec 31, 2024
ddddb8b
Show experiment and score set names on collection screen.
jstone-dev Dec 31, 2024
202f211
Simplify document structure.
jstone-dev Dec 31, 2024
89a0a07
Ignore unchanged collection names/descriptions and empty collection n…
jstone-dev Dec 31, 2024
207e793
Allow experiments to be added to collections from the collection editor.
jstone-dev Dec 31, 2024
d813c3d
Code formatting
jstone-dev Dec 31, 2024
8ca54b0
Collection data sets editor revisions
jstone-dev Jan 1, 2025
56df264
Reposition the badge on the collection screen.
jstone-dev Jan 1, 2025
cce64f9
Code formatting
jstone-dev Jan 1, 2025
c5cdd12
Collection creator revisions
jstone-dev Jan 1, 2025
9b9dc46
Code formatting
jstone-dev Jan 1, 2025
0be90ba
Collection editor revisions
jstone-dev Jan 1, 2025
8d98847
Add link and alt text to collection badges.
jstone-dev Jan 1, 2025
ca6771c
Pluralized API paths for collection permissions.
jstone-dev Jan 2, 2025
9b5611a
Code formatting
jstone-dev Jan 2, 2025
d3e4c63
Collection adder revisions
jstone-dev Jan 2, 2025
d240a7b
Present error details to the user when adding to a collection fails.
jstone-dev Jan 2, 2025
861f7d7
"Delete collection" button
jstone-dev Jan 2, 2025
ac38311
Show "private" icon on collection screen.
jstone-dev Jan 2, 2025
f31a49d
Add experiment & score set counts to collections list.
jstone-dev Jan 2, 2025
e9cd015
Full-width collection drop-down in CollectionAdder
jstone-dev Jan 8, 2025
6c6bff7
Allow role changes in CollectionCreator.
jstone-dev Jan 8, 2025
94f7ae2
Show data set URN validation details in CollectionDataSetEditor.
jstone-dev Jan 8, 2025
a54681d
Code cleanup
jstone-dev Jan 8, 2025
b147b93
Add "Member of" before list of collection bookmarks.
jstone-dev Jan 8, 2025
c829d7d
Cleanup
jstone-dev Jan 8, 2025
be8025c
Collection view format changes
jstone-dev Jan 8, 2025
4e19058
Collection privacy editor
jstone-dev Jan 9, 2025
9a40bd2
Save collection user role changes.
jstone-dev Jan 10, 2025
7ef6135
Cleanup
jstone-dev Jan 10, 2025
e7fa65e
Merge pull request #329 from VariantEffect/collections
bencap Jan 27, 2025
dab1a06
Remove NA columns from dowloading scores and counts files.
EstelleDa Feb 10, 2025
618945e
New heatmap configuration parameters: node padding, node border radiu…
jstone-dev Feb 10, 2025
dab9dc8
Compact heatmap layout
jstone-dev Feb 10, 2025
dcfa6c5
Exclude heatmap controls from exported charts.
jstone-dev Feb 10, 2025
d34e0cc
Modify variables' names.
EstelleDa Feb 11, 2025
e24d904
Merge pull request #341 from VariantEffect/estelle/dropDownloadNullHg…
EstelleDa Feb 11, 2025
7366a13
Merge pull request #342 from VariantEffect/jstone-dev/compact-heatmap
bencap Feb 19, 2025
b4ab701
Merge pull request #331 from VariantEffect/bugfix/bencap/330/nan-scor…
bencap Feb 19, 2025
6d6e85f
Add Table Component for Contributor Supplied Calibrations
bencap Dec 17, 2024
349df82
Support Score Calibrations on the Histogram
bencap Dec 17, 2024
a36fa67
Remove Calibrations from Controls; Show table based on active shader
bencap Dec 31, 2024
8976031
Add configurable text alignment to histogram shaders
bencap Dec 31, 2024
f51d2d1
Re-center Calibration Labels
bencap Jan 2, 2025
dfd3bd1
Remove Log Message in Histogram
bencap Jan 2, 2025
4c90dd5
Refactor Odds Path Table into Child Component
bencap Jan 2, 2025
8b3dcf5
Emit Calibration Selection Changes
bencap Jan 2, 2025
4bab27a
Use Calibration Emit and Odds Path Child Component within Histogram
bencap Jan 2, 2025
632bf8c
Display badges for official collections on score set page
sallybg Nov 26, 2024
abe1780
Add mave title styling for collection badge display
sallybg Nov 26, 2024
13b15c9
Draft components to add and create collections
sallybg Nov 26, 2024
044a237
Create collection from collection adder dialog
sallybg Dec 4, 2024
8e3078c
Add collection view
sallybg Dec 4, 2024
94f1128
Do not display owned collections
sallybg Dec 4, 2024
554ba94
Add content to collection view
sallybg Dec 9, 2024
5c73148
Add ability to edit collection name and title
sallybg Dec 12, 2024
c81d072
Add and remove score sets from collection (unfinished)
sallybg Dec 13, 2024
f12d94e
Edit collection data sets and contributors
sallybg Dec 17, 2024
8811066
Fix missing import in collection contributor editor
sallybg Dec 18, 2024
31ff9a6
Begin refactor of collection data set editor (unfinished)
sallybg Dec 18, 2024
73235ca
Add todo to collection adder
sallybg Dec 18, 2024
217fabb
Change language in collection creator and do not allow empty string f…
sallybg Dec 18, 2024
f11bc33
Collections screen
jstone-dev Dec 31, 2024
47c8e85
Code formatting
jstone-dev Dec 31, 2024
2b77873
Fixed _blank link targets.
jstone-dev Dec 31, 2024
3974884
Styled the collection name editor.
jstone-dev Dec 31, 2024
e241ef3
Allow multiline collection descriptions, and style the description ed…
jstone-dev Dec 31, 2024
38c6c2d
Display multiline collection descriptions correctly.
jstone-dev Dec 31, 2024
a01200f
Simplified permissions on collection editor.
jstone-dev Dec 31, 2024
20e7665
Hide collection editors and viewers lists from non-administrators. Sh…
jstone-dev Dec 31, 2024
38219c1
Show collection badge on the collection screen.
jstone-dev Dec 31, 2024
d4bc220
Show experiment and score set names on collection screen.
jstone-dev Dec 31, 2024
59d71b9
Simplify document structure.
jstone-dev Dec 31, 2024
b6795b5
Ignore unchanged collection names/descriptions and empty collection n…
jstone-dev Dec 31, 2024
6a60e14
Allow experiments to be added to collections from the collection editor.
jstone-dev Dec 31, 2024
121d4f2
Code formatting
jstone-dev Dec 31, 2024
15c9fe4
Collection data sets editor revisions
jstone-dev Jan 1, 2025
22d7db6
Reposition the badge on the collection screen.
jstone-dev Jan 1, 2025
6e6c3e8
Code formatting
jstone-dev Jan 1, 2025
a7e7d0c
Collection creator revisions
jstone-dev Jan 1, 2025
beef6fe
Code formatting
jstone-dev Jan 1, 2025
40afe0e
Collection editor revisions
jstone-dev Jan 1, 2025
ea9ba4b
Add link and alt text to collection badges.
jstone-dev Jan 1, 2025
ed9376b
Pluralized API paths for collection permissions.
jstone-dev Jan 2, 2025
450ee4a
Code formatting
jstone-dev Jan 2, 2025
ab76c25
Collection adder revisions
jstone-dev Jan 2, 2025
470fc93
Present error details to the user when adding to a collection fails.
jstone-dev Jan 2, 2025
a04d635
"Delete collection" button
jstone-dev Jan 2, 2025
5bf9630
Show "private" icon on collection screen.
jstone-dev Jan 2, 2025
8b628c0
Add experiment & score set counts to collections list.
jstone-dev Jan 2, 2025
6baa89f
Full-width collection drop-down in CollectionAdder
jstone-dev Jan 8, 2025
b302805
Allow role changes in CollectionCreator.
jstone-dev Jan 8, 2025
f9ddf0a
Show data set URN validation details in CollectionDataSetEditor.
jstone-dev Jan 8, 2025
a9090a7
Code cleanup
jstone-dev Jan 8, 2025
00af48f
Add "Member of" before list of collection bookmarks.
jstone-dev Jan 8, 2025
a12a0dd
Cleanup
jstone-dev Jan 8, 2025
763bbe5
Collection view format changes
jstone-dev Jan 8, 2025
d7f04b1
Collection privacy editor
jstone-dev Jan 9, 2025
ccde269
Save collection user role changes.
jstone-dev Jan 10, 2025
b79643e
Cleanup
jstone-dev Jan 10, 2025
a30e4b4
New heatmap configuration parameters: node padding, node border radiu…
jstone-dev Feb 10, 2025
42695dc
Compact heatmap layout
jstone-dev Feb 10, 2025
a0268f7
Exclude heatmap controls from exported charts.
jstone-dev Feb 10, 2025
3807bfd
Filter NaN Apply Fields from Heatmap During Data Preparation
bencap Jan 15, 2025
c2bff4c
Merge branch 'release-2025.0.1' into release-2025.1.0
bencap Feb 25, 2025
896ea7d
Bump version number
bencap Feb 25, 2025
3871805
Solve #213 Display partial publication details in input fields.
EstelleDa Feb 25, 2025
e2711df
Merge pull request #351 from VariantEffect/estelle/displayPartialPubl…
bencap Feb 25, 2025
d568658
Fix typo in SVGElement type annotation
bencap Feb 25, 2025
06b98ef
Prompt users for email on email protected collection endpoints
bencap Feb 25, 2025
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
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mavedb-ui",
"version": "2025.0.0",
"version": "2025.1.0",
"private": true,
"scripts": {
"build": "vite build --mode=${MODE=live}",
Expand Down
5 changes: 5 additions & 0 deletions src/assets/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
}

.mave-screen-title-bar {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
Expand All @@ -24,6 +25,10 @@
margin: 10px 0;
}

.mave-screen-title {
flex: 0 0 auto;
}

.mave-screen-title-controls {
flex: 0 0 auto;
}
Expand Down
103 changes: 103 additions & 0 deletions src/components/CalibrationTable.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<template>
<table v-if="evidenceStrengthsForDisplay" class="mave-calibrations-table">
<tr>
<td colspan="100" class="dropdown" >
<Dropdown v-model="activeCalibrationKey" :options="Object.keys(calibrations)" :optionLabel="titleCase" style="width: 100%;" :disabled="Object.keys(calibrations).length < 2" />
</td>
</tr>
<tr>
<th>Evidence Strength</th>
<th v-for="evidenceStrength of evidenceStrengthsForDisplay" :key="evidenceStrength"><b>{{ evidenceStrength }}</b></th>
</tr>
<tr>
<td>Likelihood Ratio+</td>
<td v-for="likelihoodRatio of positiveLikelihoodRatiosForDisplay" :key="likelihoodRatio">{{ likelihoodRatio }}</td>
</tr>
<tr>
<td>Score Threshold</td>
<td v-for="threshold of thresholdsForDisplay" :key="threshold">{{ threshold }}</td>
</tr>
</table>
</template>

<script lang="ts">
import {defineComponent} from 'vue'
import { Calibrations } from '@/lib/calibrations';
import Dropdown from 'primevue/dropdown';

export default defineComponent({
name: 'CalibrationTable',
components: { Dropdown },

data: function() {
const defaultCalibration = Object.keys(this.calibrations)[0]
this.$emit('calibrationSelected', defaultCalibration)

return {
activeCalibrationKey: defaultCalibration
}
},

emits: ['calibrationSelected'],

props: {
calibrations: {
type: Object as () => {[key: string]: Calibrations},
required: true
},
},

computed: {
selectedCalibrations: function () {
return this.calibrations[this.activeCalibrationKey]
},

evidenceStrengthsForDisplay: function() {
return this.selectedCalibrations.evidenceStrengths
},

positiveLikelihoodRatiosForDisplay: function() {
return this.selectedCalibrations.positiveLikelihoodRatios
},

thresholdsForDisplay: function() {
return this.selectedCalibrations.thresholds
},
},

methods: {
titleCase(s: string) {
return s.replace (/^[-_]*(.)/, (_, c) => c.toUpperCase()) // Initial char (after -/_)
.replace (/[-_]+(.)/g, (_, c) => ' ' + c.toUpperCase()) // First char after each -/_
}
},

watch: {
activeCalibrationKey: {
handler: function() {
this.$emit('calibrationSelected', this.activeCalibrationKey)
}
}
}
})
</script>

<style>
table.mave-calibrations-table {
border-collapse: collapse;
margin: 1em auto 0.5em auto;
}

table.mave-calibrations-table .dropdown {
border-top-style: hidden;
border-left-style: hidden;
border-right-style: hidden;
}

table.mave-calibrations-table td,
table.mave-calibrations-table th {
border: 1px solid gray;
padding: 0.5em 1em;
text-align: center;
}
</style>
Loading