Skip to content

Commit 067ca05

Browse files
authored
Release Branch for 5.4.0 (#357)
1 parent 310f7a5 commit 067ca05

22 files changed

Lines changed: 55 additions & 53 deletions

File tree

.cspell/omm-dictionary.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,4 @@ mslsol
4848
# names
4949
dsanto
5050
peterr
51-
smap
52-
53-
# TODO fix
54-
# remove dismissable when implementing https://github.com/NASA-AMMOS/openmct-mcws/issues/209
55-
dismissable
51+
smap

.webpack/webpack.common.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ const config = {
114114
__OMM_BUILD_DATE__: `'${new Date()}'`,
115115
__OMM_REVISION__: `'${gitRevision}'`,
116116
__OMM_BUILD_BRANCH__: `'${gitBranch}'`,
117-
__VUE_OPTIONS_API__: true, // enable/disable Options API support, default: true
118-
__VUE_PROD_DEVTOOLS__: false // enable/disable devtools support in production, default: false
117+
__VUE_OPTIONS_API__: true,
118+
__VUE_PROD_DEVTOOLS__: true,
119+
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
119120
}),
120121
new VueLoaderPlugin(),
121122
new MiniCssExtractPlugin({

config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,15 @@
378378
/**
379379
* Enable/disable summary widgets. Added in R3.4.0.
380380
*/
381-
summaryWidgets: {
382-
enabled: true
381+
SummaryWidget: {
382+
enabled: false
383383
},
384384
BarChart: {
385385
enabled: false
386386
},
387+
CorrelationTelemetry: {
388+
enabled: false
389+
},
387390
ScatterPlot: {
388391
enabled: false
389392
},

loader.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,20 @@ define([
113113
});
114114
}
115115

116-
// install optional plugins, summary widget is handled separately as it was added long ago
116+
// install optional plugins
117117
if (config.plugins) {
118-
if (
119-
config.plugins.summaryWidgets === true ||
120-
config.plugins.summaryWidgets?.enabled === true
121-
) {
122-
openmct.install(openmct.plugins.SummaryWidget());
123-
}
124-
125118
Object.entries(config.plugins).forEach(([plugin, pluginConfig]) => {
126-
const pluginExists = openmct.plugins[plugin] || openmct.plugins.example[plugin];
119+
const examplePluginExists = openmct.plugins.example[plugin];
120+
const pluginExists = openmct.plugins[plugin] || examplePluginExists;
127121
const pluginEnabled = pluginConfig?.enabled;
128-
const isSummaryWidget = plugin === 'summaryWidgets';
129-
const installPlugin = pluginExists && pluginEnabled && !isSummaryWidget;
122+
const installPlugin = pluginExists && pluginEnabled;
130123

131124
if (installPlugin) {
132-
openmct.install(openmct.plugins[plugin](...(pluginConfig.configuration ?? [])));
125+
if (examplePluginExists) {
126+
openmct.install(openmct.plugins.example[plugin](...(pluginConfig.configuration ?? [])));
127+
} else {
128+
openmct.install(openmct.plugins[plugin](...(pluginConfig.configuration ?? [])));
129+
}
133130
} else if (!pluginExists) {
134131
console.warn(`Plugin ${plugin} does not exist. Check the plugin name and try again.`);
135132
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openmct-mcws",
3-
"version": "2512.02-next",
3+
"version": "v5.4.0-rc2",
44
"description": "Open MCT for MCWS",
55
"devDependencies": {
66
"@babel/eslint-parser": "7.26.8",
@@ -40,7 +40,7 @@
4040
"mini-css-extract-plugin": "2.7.6",
4141
"moment": "2.30.1",
4242
"node-bourbon": "^4.2.3",
43-
"openmct": "github:nasa/openmct#omm-r5.4.0-rc1",
43+
"openmct": "github:nasa/openmct#omm-r5.4.0-rc2",
4444
"prettier": "3.4.2",
4545
"printj": "1.3.1",
4646
"raw-loader": "^0.5.1",
@@ -75,7 +75,7 @@
7575
"url": "https://github.com/NASA-AMMOS/openmct-mcws"
7676
},
7777
"engines": {
78-
"node": ">=18.18.0"
78+
"node": ">=18.18.0 <23"
7979
},
8080
"overrides": {
8181
"core-js": "3.21.1"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>gov.nasa.arc.wtd</groupId>
77
<artifactId>openmct-client</artifactId>
88
<name>Open MCT for MCWS Client</name>
9-
<version>2512.02-next</version>
9+
<version>v5.4.0-rc2</version>
1010
<packaging>war</packaging>
1111

1212
<properties>

src/alarmsView/AlarmsTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class AlarmsTable extends TelemetryTable {
5555

5656
//If no persisted sort order, default to sorting by time system, ascending.
5757
sortOptions = sortOptions || {
58-
key: this.openmct.time.timeSystem().key,
58+
key: this.openmct.time.getTimeSystem().key,
5959
direction: 'asc'
6060
};
6161

src/channelTable/channelTablePlugin/ChannelTableRowCollection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default class ChannelTableRowCollection extends TableRowCollection {
66

77
this.openmct = openmct;
88
this.ladMap = new Map();
9-
this.timeColumn = openmct.time.timeSystem().key;
9+
this.timeColumn = openmct.time.getTimeSystem().key;
1010
this.addOrUpdateRow = this.addOrUpdateRow.bind(this);
1111
}
1212

src/channelTable/channelTableSetPlugin/ChannelRow.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export default {
7878
this.keyString = this.openmct.objects.makeKeyString(this.domainObject.identifier);
7979
// this.timeContext = this.openmct.time.getContextForView(this.objectPath);
8080
this.limitEvaluator = this.openmct.telemetry.limitEvaluator(this.domainObject);
81-
this.openmct.time.on('timeSystem', this.updateTimeSystem);
82-
this.timestampKey = this.openmct.time.timeSystem().key;
81+
this.openmct.time.on('timeSystemChanged', this.updateTimeSystem);
82+
this.timestampKey = this.openmct.time.getTimeSystem().key;
8383
this.valueMetadata = undefined;
8484
if (this.metadata) {
8585
this.valueMetadata =
@@ -96,7 +96,7 @@ export default {
9696
this.telemetryCollection.load();
9797
},
9898
beforeUnmount() {
99-
this.openmct.time.off('timeSystem', this.updateTimeSystem);
99+
this.openmct.time.off('timeSystemChanged', this.updateTimeSystem);
100100
this.telemetryCollection.off('add', this.setLatestValues);
101101
this.telemetryCollection.off('clear', this.resetValues);
102102
this.telemetryCollection.destroy();

src/channelTable/channelTableSetPlugin/ChannelTableSet.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export default {
5454
this.composition.on('add', this.addLadTable);
5555
this.composition.on('remove', this.removeLadTable);
5656
this.composition.on('reorder', this.reorderLadTables);
57-
this.openmct.time.on('timeSystem', this.setTimesystem);
58-
this.setTimesystem(this.openmct.time.timeSystem());
57+
this.openmct.time.on('timeSystemChanged', this.setTimeSystem);
58+
this.setTimeSystem(this.openmct.time.getTimeSystem());
5959
this.composition.load();
6060
},
6161
beforeUnmount() {
@@ -66,7 +66,7 @@ export default {
6666
c.composition.off('add', c.addCallback);
6767
c.composition.off('remove', c.removeCallback);
6868
});
69-
this.openmct.time.off('timeSystem', this.setTimesystem);
69+
this.openmct.time.off('timeSystemChanged', this.setTimeSystem);
7070
},
7171
methods: {
7272
addLadTable(domainObject) {
@@ -102,7 +102,7 @@ export default {
102102
this.ladTableObjects[reorderEvent.newIndex] = oldComposition[reorderEvent.oldIndex];
103103
});
104104
},
105-
setTimesystem(timesystem) {
105+
setTimeSystem(timesystem) {
106106
this.timesystem = timesystem.name;
107107
},
108108
addTelemetryObject(ladTable) {

0 commit comments

Comments
 (0)