From 10f917a544f230e93d20469f90d7c45273240002 Mon Sep 17 00:00:00 2001 From: JTPetter <61797391+JTPetter@users.noreply.github.com> Date: Wed, 24 Jan 2024 13:23:54 +0100 Subject: [PATCH] Final upgrades --- inst/Upgrades.qml | 78 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/inst/Upgrades.qml b/inst/Upgrades.qml index d7fcfeee..68c324d3 100644 --- a/inst/Upgrades.qml +++ b/inst/Upgrades.qml @@ -1240,4 +1240,82 @@ Upgrades } } } + + // Variables Charts Subgroups + Upgrade + { + functionName: "variablesChartsSubgroups" + fromVersion: "0.18.3" + toVersion: "0.19.0" + + ChangeRename + { + from: "stages" + to: "stagesLongFormat" + condition: function(options) + { + return options["dataFormat"] == "longFormat" + } + } + + ChangeRename + { + from: "stages" + to: "stagesWideFormat" + condition: function(options) + { + return options["dataFormat"] == "wideFormat" + } + } + + ChangeRename { from: "reportTitle"; to: "reportTitleText"} + ChangeRename { from: "reportMeasurementName"; to: "reportMeasurementNameText"} + ChangeRename { from: "reportDate"; to: "reportDateText"} + ChangeRename { from: "reportReportedBy"; to: "reportPerformedByText"} + ChangeRename { from: "reportSubtitle"; to: "reportSubtitleText"} + ChangeRename { from: "reportChartName"; to: "reportChartNameText"} + } + + // Process Capability Study + Upgrade + { + functionName: "processCapabilityStudies" + fromVersion: "0.18.3" + toVersion: "0.19.0" + + ChangeRename + { + from: "stages" + to: "stagesLongFormat" + condition: function(options) + { + return options["dataFormat"] == "longFormat" + } + } + + ChangeRename + { + from: "stages" + to: "stagesWideFormat" + condition: function(options) + { + return options["dataFormat"] == "wideFormat" + } + } + + ChangeRename + { + from: "subgroup" + to: "axisLabels" + condition: function(options) + { + return options["dataFormat"] == "wideFormat" + } + } + + ChangeRename { from: "reportTitle"; to: "reportTitleText"} + ChangeRename { from: "reportProcessName"; to: "reportProcessText"} + ChangeRename { from: "reportDate"; to: "reportDateText"} + ChangeRename { from: "reportReportedBy"; to: "reportPerformedByText"} + } }