diff --git a/src/components/HomeBanners.vue b/src/components/HomeBanners.vue
new file mode 100644
index 0000000..1da077f
--- /dev/null
+++ b/src/components/HomeBanners.vue
@@ -0,0 +1,57 @@
+
+
{{ $t('pageTrialTraitListText') }}
{URL}/brapi/v2/
",
"formDescriptionBrapiToken": "Ein Token kann benötigt werden für Schreiboperationen oder Zugriffsbeschränkungen",
"formLabelImageTagTraitSelector": "Merkmale zum taggen auswählen (optional)",
@@ -411,6 +415,10 @@
"pageSettingsCardDataCollectionSubtitle": "Einstellungen in diesem Bereich beziehen sich auf Vorlieben bei der Datensammlung.",
"pageSettingsCardVisualTitle": "Visuelle Einstellungen",
"pageSettingsCardVisualSubtitle": "Hier können die visuellen Repräsentationen innerhalb von GridScore angepasst werden.",
+ "pageSettingsHomeWidgetOrderBannersName": "Banner",
+ "pageSettingsHomeWidgetOrderBannersDescription": "Die Einstiegsbanner inklusive des Erstellen eines neuen Versuches.",
+ "pageSettingsHomeWidgetOrderTrialsName": "Versuche",
+ "pageSettingsHomeWidgetOrderTrialsDescription": "Die Liste der Versuche die lokal auf diesem Gerät verfügbar sind.",
"pageSetupGermplasmGridSidebarTitle": "Versuchsaufbau-Spezifikation",
"pageSetupGermplasmGridTableCellRowColumn": "Zeile: {row}, Spalte: {column}",
"pageSetupTraitSidebarTitle": "Merkmalsdefinitionen",
@@ -422,7 +430,7 @@
"pageTrialSetupText": "Dies ist wo ein neuer Versuch erstellt werden kann. Die Abschnitte unten werden genutzt um generelle Informationen über den Versuch angzugeben, das Layout inklusive des genutzten Keimplasmas und der Spalten- und Reihenanzahl zu definieren, und schließlich die Merkmale die aufgezeichnet werden sollen anzugeben.",
"pageTrialLayoutDimensionsTitle": "Aufbaudimensionen",
"pageTrialLayoutDimensionsText": "Nutze die Eingabefelder unten um die Anzahl an Spalten und Zeilen im Versuchsaufbau anzugeben.",
- "pageTrialLayoutDimensionsFielDHubNotice": "Falls ein Versuchsaufbau von FielDHub importiert wird, bitte 'Unten nach oben' auswählen bei der Zeilenordnung.",
+ "pageTrialLayoutDimensionsFielDHubNotice": "Falls ein Versuchsaufbau von FielDHub importiert wird, bitte 'Unten nach oben' auswählen bei der Zeilenordnung und 'Links nach rechts' für die Spaltenordnung.",
"pageTrialLayoutGermplasmTitle": "Keimplasma-/Rep-Informationen",
"pageTrialLayoutGermplasmText": "Nutze die Tabelle unten um Keimplasmaidentifikatore und optionale Rep-Informationen pro Beet anzugeben. Das Dropdown-Menü kann genutzt werden um Daten aus anderen Tools wie FielDHub oder Excel zu importieren.",
"pageTrialLayoutCornersTitle": "Geographische Versuchseckpunkte",
diff --git a/src/plugins/i18n/en_GB.json b/src/plugins/i18n/en_GB.json
index d6ed611..9b39307 100644
--- a/src/plugins/i18n/en_GB.json
+++ b/src/plugins/i18n/en_GB.json
@@ -131,6 +131,8 @@
"formDescriptionSettingsTraitColorAdd": "Add a new trait color to the existing list.",
"formLabelSettingsRestrictInputToMarked": "Restrict input to marked rows/columns",
"formDescriptionSettingsRestrictInputToMarked": "If enabled, selecting plots on the data entry view is only possible within the marked row/column.",
+ "formLabelSettingsWidgetOrder": "Home widget order",
+ "formDescriptionSettingsWidgetOrder": "Use the handle in the top right to drag and reorder the widgets on the home page.",
"formPlaceholderTimelinePlotSearch": "Search germplasm",
"formLabelStatisticsTrait": "Trait",
"formDescriptionStatisticsTrait": "The traits for which to plot the statistics.",
@@ -242,6 +244,8 @@
"formLabelExportBrapiTrial": "Trial",
"formLabelExportBrapiStudy": "Study",
"formLabelExportBrapiStudyType": "Study type",
+ "formLabelExportTrialFormatGerminateAggregate": "Average values",
+ "formDescriptionExportTrialFormatGerminateAggregate": "Decide whether values should be averaged across sets and measurements on the same day.",
"formDescriptionBrapiUrl": "The URL of the BrAPI endpoint. Usually of the form {URL}/brapi/v2/
",
"formDescriptionBrapiToken": "A token may be required for write operations or access limitations",
"formLabelMeasurementSet": "Measurement for set position {position}",
@@ -419,6 +423,10 @@
"pageSettingsCardDataCollectionSubtitle": "Settings in this area relate to preferences while collecting data.",
"pageSettingsCardVisualTitle": "Visual settings",
"pageSettingsCardVisualSubtitle": "This is where the visual representation within GridScore can be adjusted.",
+ "pageSettingsHomeWidgetOrderBannersName": "Banners",
+ "pageSettingsHomeWidgetOrderBannersDescription": "The 'getting started' banners including setting up a new trial.",
+ "pageSettingsHomeWidgetOrderTrialsName": "Trials",
+ "pageSettingsHomeWidgetOrderTrialsDescription": "The list of trials available locally on this device.",
"pageSetupGermplasmGridSidebarTitle": "Trial layout specification",
"pageSetupGermplasmGridTableCellRowColumn": "Row: {row}, Column: {column}",
"pageSetupTraitSidebarTitle": "Trait definition",
@@ -430,7 +438,7 @@
"pageTrialSetupText": "This is where you create a new trial. The sections below are used to provide general information about the trial, specify the layout including used germplasm, row and column count, and finally the traits you want to score need to be specified.",
"pageTrialLayoutDimensionsTitle": "Layout dimensions",
"pageTrialLayoutDimensionsText": "Use the input fields to specify the row and column count of your trial layout.",
- "pageTrialLayoutDimensionsFielDHubNotice": "If you're importing a trial design from FielDHub, please make sure to select 'bottom to top' for the row order.",
+ "pageTrialLayoutDimensionsFielDHubNotice": "If you're importing a trial design from FielDHub, please make sure to select 'bottom to top' for the row order and 'left to right' for the column order.",
"pageTrialLayoutGermplasmTitle": "Germplasm/rep information",
"pageTrialLayoutGermplasmText": "Use the table below to enter the germplasm identifier and optional rep information for each plot. You can use the dropdown menu above the table to import data from other tools like FielDHub or Excel.",
"pageTrialLayoutCornersTitle": "Geographic trial corner points",
diff --git a/src/store/index.js b/src/store/index.js
index cd5ef9b..c05aa72 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -30,6 +30,7 @@ export default new Vuex.Store({
restrictInputToMarked: false,
navigationMode: NAVIGATION_MODE_DRAG,
traitColors: ['#910080', '#ff7c00', '#5ec418', '#00a0f1', '#c5e000', '#ff007a', '#222183', '#c83831', '#fff600'],
+ homeWidgetOrder: ['banners', 'trials'],
canvasDensity: CANVAS_DENSITY_LOW,
canvasShape: CANVAS_SHAPE_CIRCLE,
canvasSize: CANVAS_SIZE_SMALL,
@@ -65,6 +66,7 @@ export default new Vuex.Store({
storeRestrictInputToMarked: (state) => state.restrictInputToMarked,
storeNavigationMode: (state) => state.navigationMode,
storeTraitColors: (state) => state.traitColors,
+ storeHomeWidgetOrder: (state) => state.homeWidgetOrder,
storeCanvasDensity: (state) => state.canvasDensity,
storeCanvasShape: (state) => state.canvasShape,
storeCanvasSize: (state) => state.canvasSize,
@@ -190,6 +192,13 @@ export default new Vuex.Store({
ON_TRAIT_COLORS_CHANGED: function (state, newTraitColors) {
state.traitColors = newTraitColors
},
+ ON_HOME_WIDGET_ORDER_CHANGED: function (state, newHomeWidgetOrder) {
+ if (Object.prototype.hasOwnProperty.call(state, 'homeWidgetOrder')) {
+ state.homeWidgetOrder = newHomeWidgetOrder
+ } else {
+ Vue.set(state, 'homeWidgetOrder', newHomeWidgetOrder)
+ }
+ },
ON_PLAUSIBLE_CHANGED: function (state, newPlausible) {
state.plausible = newPlausible
},
@@ -285,6 +294,9 @@ export default new Vuex.Store({
setTraitColors: function ({ commit }, traitColors) {
commit('ON_TRAIT_COLORS_CHANGED', traitColors)
},
+ setHomeWidgetOrder: function ({ commit }, homeWidgetOrder) {
+ commit('ON_HOME_WIDGET_ORDER_CHANGED', homeWidgetOrder)
+ },
setPlausible: function ({ commit }, plausible) {
commit('ON_PLAUSIBLE_CHANGED', plausible)
},
diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue
index 942bf76..e392474 100644
--- a/src/views/AboutView.vue
+++ b/src/views/AboutView.vue
@@ -10,7 +10,7 @@