Skip to content

Commit e0a4e9f

Browse files
- CHG: Removed selection mode from charts.
- ADD: Added `description` field to changelog entries. - CHG: Set performance mode based on device type on initial load.
1 parent 1a2b0d3 commit e0a4e9f

13 files changed

Lines changed: 30 additions & 17 deletions

src/components/chart/BarChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
margin: {
8989
t: 0,
9090
},
91+
dragmode: false as const,
9192
hovermode: 'y' as const,
9293
barmode: 'stack' as const,
9394
paper_bgcolor: 'transparent',

src/components/chart/CalendarHeatmap.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
},
187187
paper_bgcolor: 'transparent',
188188
plot_bgcolor: 'transparent',
189+
dragmode: false as const,
189190
xaxis: xAxis,
190191
yaxis: yAxis,
191192
}

src/components/chart/FieldLayoutHeatmap.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@
359359
360360
const layout = {
361361
margin: { autoexpand: true },
362+
dragmode: false as const,
362363
autosize: true,
363364
height: (25 * compProps.trial.layout.rows) + 200,
364365
paper_bgcolor: 'transparent',

src/components/chart/LineChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
8888
const layout = {
8989
height: 400,
90+
dragmode: false as const,
9091
margin: {
9192
t: 0,
9293
},

src/components/chart/PlotTraitCompletionChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
const layout = {
139139
hovermode: 'x',
140140
margin: { autoexpand: true },
141+
dragmode: false as const,
141142
autosize: true,
142143
height: 500,
143144
paper_bgcolor: 'transparent',

src/components/chart/ReplicateHeatmap.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
387387
const layout = {
388388
margin: { autoexpand: true },
389+
dragmode: false as const,
389390
autosize: true,
390391
height: (20 * allGermplasm.value.length) + 200,
391392
paper_bgcolor: 'transparent',

src/components/chart/TraitDatapointCountChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
const layout = {
130130
hovermode: 'x',
131131
margin: { autoexpand: true },
132+
dragmode: false as const,
132133
autosize: true,
133134
height: 500,
134135
paper_bgcolor: 'transparent',

src/components/chart/TraitTimeframeChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
const layout = {
9999
hovermode: 'y unified',
100100
showlegend: false,
101+
dragmode: false as const,
101102
margin: { autoexpand: true },
102103
autosize: true,
103104
height: (25 * compProps.trial.traits.length) + 200,

src/components/chart/TraitTimelineChart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
const layout = {
227227
hovermode: 'x',
228228
margin: { autoexpand: true },
229+
dragmode: false as const,
229230
autosize: true,
230231
height: 500 + traces.length * 5,
231232
paper_bgcolor: 'transparent',

src/components/modals/ChangelogModal.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<v-card :title="version.raw.version" class="mb-4">
2525
<template #subtitle><v-chip label :prepend-icon="mdiCalendar" :text="new Date(version.raw.date).toLocaleDateString()" /></template>
2626

27+
<v-card-text v-if="version.raw.description">{{ version.raw.description }}</v-card-text>
28+
2729
<v-list>
2830
<v-list-item
2931
v-for="(item, index) in version.raw.items"
@@ -75,6 +77,7 @@
7577
interface VersionInfo {
7678
version: string
7779
date: string
80+
description?: string
7881
items: VersionItem[]
7982
}
8083

0 commit comments

Comments
 (0)