diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt
index f7fc512e..08d6529e 100644
--- a/ayanova/devdocs/todo.txt
+++ b/ayanova/devdocs/todo.txt
@@ -5,20 +5,6 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
WIFI change 5g channel to 52,56,60 and 2g channel to 8
recheck before doing as it seems to vary, maybe someone else's is auto switching
-Purple
-https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Purple/dp/B087CD8NM7
-
-Red
-https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Handle/dp/B087CCYH4Z/
-
-Blue
-https://www.amazon.ca/Mercer-Culinary-M23210BL-Bread-10-Inch/dp/B087CCVJX2/
-
-Green
-https://www.amazon.ca/Mercer-Culinary-Millennia-10-Inch-Handle/dp/B087CDVVWL/
-
-Yellow
-https://www.amazon.ca/Mercer-Culinary-Millennia-Couteau-ondulé/dp/B087CD95P7/
todo: Evaluate UI
diff --git a/ayanova/src/views/ay-evaluate.vue b/ayanova/src/views/ay-evaluate.vue
index 1f936c33..3630feb1 100644
--- a/ayanova/src/views/ay-evaluate.vue
+++ b/ayanova/src/views/ay-evaluate.vue
@@ -19,7 +19,9 @@
{{ $ay.t("GenerateSampleData") }}
-
+ alert info if insufficient rights to generate "You must be logged in
+ as the SuperUser account to do this"
+
- trigger button
+
+ {{ $ay.t("StartSeeding") }}
+
@@ -97,6 +106,11 @@ export default {
"https://contact.ayanova.com/contact?dbid=" +
window.$gz.store.state.globalSettings.dbId
);
+ },
+ StartSeeding() {
+ //prompt erase data if necessary
+ //call seed route
+ //ideally some kind of job checking ui showing feedback would be nice
}
}
};
@@ -143,7 +157,7 @@ function initForm(vm) {
// (async function() {
try {
await fetchTranslatedText(vm);
- // await populateSelectionLists(vm);
+ await populateSelectionLists(vm);
} catch (err) {
reject(err);
}
@@ -166,28 +180,22 @@ function fetchTranslatedText(vm) {
"SeedLevelSmall",
"SeedLevelMedium",
"SeedLevelLarge",
- "SeedLevelHuge"
+ "SeedLevelHuge",
+ "StartSeeding"
]);
}
-todoThis
/////////////////////////////////
//
//
function populateSelectionLists(vm) {
vm.selectLists.seedLevels.push(
...[
- { name: vm.$ay.t("DateRangePast6Hours"), id: "*past6hours*" },
- { name: vm.$ay.t("DateRangePast24Hours"), id: "*past24hours*" },
- { name: vm.$ay.t("DateRangePast7Days"), id: "*past7days*" },
- { name: vm.$ay.t("DateRangePast30Days"), id: "*past30days*" },
- {
- name: vm.$ay.t("DateRangeInTheLastSixMonths"),
- id: "*last6months*"
- },
- { name: vm.$ay.t("DateRangePastYear"), id: "*pastyear*" }
+ { name: vm.$ay.t("SeedLevelSmall"), id: "small" },
+ { name: vm.$ay.t("SeedLevelMedium"), id: "medium" },
+ { name: vm.$ay.t("SeedLevelLarge"), id: "large" },
+ { name: vm.$ay.t("SeedLevelHuge"), id: "huge" }
]
);
}
-