From e70bcc414c608b6a6aeae2109a73436425930757 Mon Sep 17 00:00:00 2001 From: David Tsay <3614296+davetsay@users.noreply.github.com> Date: Thu, 10 Nov 2022 15:25:35 -0800 Subject: [PATCH 01/40] revert persisted time to last actual persisted time on save error (#5971) --- src/api/objects/ObjectAPI.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api/objects/ObjectAPI.js b/src/api/objects/ObjectAPI.js index fc4cc1a8cf..13ce738efb 100644 --- a/src/api/objects/ObjectAPI.js +++ b/src/api/objects/ObjectAPI.js @@ -357,6 +357,7 @@ export default class ObjectAPI { async save(domainObject) { const provider = this.getProvider(domainObject.identifier); let result; + let lastPersistedTime; if (!this.isPersistable(domainObject.identifier)) { result = Promise.reject('Object provider does not support saving'); @@ -387,6 +388,7 @@ export default class ObjectAPI { savedObjectPromise = provider.create(domainObject); } else { + lastPersistedTime = domainObject.persisted; const persistedTime = Date.now(); this.#mutate(domainObject, 'persisted', persistedTime); @@ -397,6 +399,10 @@ export default class ObjectAPI { savedObjectPromise.then(response => { savedResolve(response); }).catch((error) => { + if (lastPersistedTime !== undefined) { + this.#mutate(domainObject, 'persisted', lastPersistedTime); + } + savedReject(error); }); } else { From 202d6d8c5d60129b5beb955ab7431960e6a4ebb8 Mon Sep 17 00:00:00 2001 From: Jesse Mazzella Date: Mon, 14 Nov 2022 10:48:36 -0800 Subject: [PATCH 02/40] Bump version to `2.1.4-SNAPSHOT` (#5974) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 98bab93411..ca9d100d3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openmct", - "version": "2.1.3-SNAPSHOT", + "version": "2.1.4-SNAPSHOT", "description": "The Open MCT core platform", "devDependencies": { "@babel/eslint-parser": "7.18.9", From dad88112c4449fa96503f3ffee8fc100784573d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 13:42:48 -0800 Subject: [PATCH 03/40] Bump @types/lodash from 4.14.188 to 4.14.189 (#5987) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ca9d100d3a..7d6ab8c58a 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@percy/playwright": "1.0.4", "@playwright/test": "1.25.2", "@types/jasmine": "4.3.0", - "@types/lodash": "4.14.188", + "@types/lodash": "4.14.189", "babel-loader": "9.0.0", "babel-plugin-istanbul": "6.1.1", "codecov": "3.8.3", From 05de7ee2e07ad335fe3a8cb1277d6e51766fbc28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Nov 2022 09:48:23 -0800 Subject: [PATCH 04/40] Bump @braintree/sanitize-url from 6.0.0 to 6.0.2 (#5970) Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) from 6.0.0 to 6.0.2. - [Release notes](https://github.com/braintree/sanitize-url/releases) - [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md) - [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.2) --- updated-dependencies: - dependency-name: "@braintree/sanitize-url" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d6ab8c58a..e35527745c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "The Open MCT core platform", "devDependencies": { "@babel/eslint-parser": "7.18.9", - "@braintree/sanitize-url": "6.0.0", + "@braintree/sanitize-url": "6.0.2", "@percy/cli": "1.13.0", "@percy/playwright": "1.0.4", "@playwright/test": "1.25.2", From d5266e7ac75f3c85b8f9dcf72ba1bf59edf0465d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 19:25:36 +0000 Subject: [PATCH 05/40] Bump webpack-cli from 4.10.0 to 5.0.0 (#5996) Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.0. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.10.0...webpack-cli@5.0.0) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e35527745c..b00a4e4ced 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "vue-loader": "15.9.8", "vue-template-compiler": "2.6.14", "webpack": "5.74.0", - "webpack-cli": "4.10.0", + "webpack-cli": "5.0.0", "webpack-dev-server": "4.11.1", "webpack-merge": "5.8.0" }, From a79646a9150ee60aa6a3a25bfda2566b180180fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 19 Nov 2022 00:04:16 +0000 Subject: [PATCH 06/40] Bump typescript from 4.8.4 to 4.9.3 (#5988) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 4.9.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b00a4e4ced..3bf0b92ccb 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "sass-loader": "13.0.2", "sinon": "14.0.1", "style-loader": "^3.3.1", - "typescript": "4.8.4", + "typescript": "4.9.3", "uuid": "9.0.0", "vue": "2.6.14", "vue-eslint-parser": "9.1.0", From 1ddf5e5137508a0518f2d90bc080ffa07894016c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E7=9E=BB=20Luci?= Date: Tue, 22 Nov 2022 05:06:12 +0800 Subject: [PATCH 07/40] feat(imagery): show viewable area when zoomed (#5877) * feat: viewable area * chore: add test * fix: get image ref when real-time Co-authored-by: Jesse Mazzella --- .../imagery/components/ImageThumbnail.vue | 82 +++++++++++++++++++ .../imagery/components/ImageryView.vue | 35 +++++++- .../imagery/components/imagery-view.scss | 7 ++ src/plugins/imagery/pluginSpec.js | 13 +++ 4 files changed, 136 insertions(+), 1 deletion(-) diff --git a/src/plugins/imagery/components/ImageThumbnail.vue b/src/plugins/imagery/components/ImageThumbnail.vue index 87eda1fc17..99ef0febc7 100644 --- a/src/plugins/imagery/components/ImageThumbnail.vue +++ b/src/plugins/imagery/components/ImageThumbnail.vue @@ -31,21 +31,32 @@ :title="image.formattedTime" > +
{{ image.formattedTime }}