-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Feature/historical conditions #8148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jvigliotta
wants to merge
91
commits into
master
Choose a base branch
from
feature/historical-conditions
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 43 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
b4fdabf
adding telemetry collections to condition manager
jvigliotta 5bd5ca9
handling telemetry collection data not datum
jvigliotta 4ab19e3
adding from maaster
jvigliotta b467f9c
addressing PR comments
jvigliotta 3f66140
Merge branch 'master' into conditional-style-performance
jvigliotta 6482135
update unit test to work with telemetry collections
jvigliotta 54c90e0
fixing tests
jvigliotta 94a4ff3
removing unnecessary addition
jvigliotta 7cba09b
removing focused describe
jvigliotta 405b497
removing focused it
jvigliotta 1581216
Merge branch 'master' into conditional-style-performance
jvigliotta 5b385ea
fix weird test bleed
jvigliotta 73489cd
Merge branch 'conditional-style-performance' of https://github.com/na…
jvigliotta 23cf829
Add realtime output of telemetry data in conditionals and add support…
khalidadil 21e94fd
Cleanup and add missing files
khalidadil 101baa5
Fix issue with missing data
khalidadil 7896f36
Update emitted values
khalidadil 4b39ea2
Addressing feedback
khalidadil b975554
Creating a const for telemetry value
khalidadil 7727a90
Cleanup
khalidadil f544a1d
Pass through plot options
khalidadil 1180597
Cleanup
khalidadil 39a73cf
Fix problem introduced with const
khalidadil 0f2f71f
Add back initialize on mount
khalidadil 4a3b0b9
Compensate for missing data at certain timestamps
khalidadil a739d61
Rename file
khalidadil 488178a
Rename file
khalidadil f239d4b
Update metadata provider
khalidadil f4c2b79
Update condition set metadata
khalidadil bd3f00c
Fix zero issue
khalidadil cba2056
Try removing the default format for better data inspection
khalidadil 848fbb9
merging fork
jvigliotta 7702e8f
pulled over changes that were made after copying whole repo in a dump
jvigliotta a88fa39
pulling over from file dump
jvigliotta 4611faa
remove debug
jvigliotta f057602
handle "none" output situations
jvigliotta a992d32
removing telemetry when output condition is "none"
jvigliotta 3d4eb3f
adding license info
jvigliotta 2b4d785
one last tweak to get none to work correctly without messin up other …
jvigliotta 559eb30
Merge branch 'master' into feature/historical-conditions
jvigliotta 4cba005
Merge branch 'master' into feature/historical-conditions
jvigliotta d9cc238
Merge branch 'master' into feature/historical-conditions
jvigliotta 1c8cae3
Merge branch 'master' into feature/historical-conditions
jvigliotta 7ca6a94
WIP tests
jvigliotta 2d36f4e
make sure unit exists
jvigliotta 97da1ed
WIP
jvigliotta d1ab616
WIP
jvigliotta 6a3cc02
adding timesystem accounting
jvigliotta 8776502
WIP
jvigliotta 27451f6
remove unused method
jvigliotta f9e8487
handling dupes from historical/subscription, correct formatting befor…
jvigliotta 1dc3d29
Merge branch 'master' into feature/historical-conditions
jvigliotta 5a0f449
update tests to new output format
jvigliotta 6f222f3
Merge branch 'master' into feature/historical-conditions
jvigliotta 18600bb
updating to reflect column name change
jvigliotta 024ef1e
update to match new path style for telemetry options
jvigliotta 9579841
more robust handling of new condition inspector view "canView" method
jvigliotta 87ba787
Merge branch 'feature/historical-conditions' of https://github.com/na…
jvigliotta c2b0d77
update for paths in condition telemetry dropdown, add config tab to i…
jvigliotta dd91b4f
updating for new paths in telemetry selection dropdwns
jvigliotta 6a32966
lint
jvigliotta a9daa8c
Merge branch 'master' into feature/historical-conditions
akhenry b795fdd
remove unused method
jvigliotta e094a77
add keystring to telem objcts so its easy to grab
jvigliotta 3417af9
dont use index
jvigliotta 84677e7
remove unused method
jvigliotta 0462bfd
removed debug logs
jvigliotta cd88ab2
use predefined priority constants
jvigliotta dc424ba
remove debug
jvigliotta 0bc09d0
lint
jvigliotta 104cf7e
fix process buffer and remove fit on test
jvigliotta 7acce70
Merge branch 'master' into feature/historical-conditions
shefalijoshi 1091ec8
Merge branch 'master' into feature/historical-conditions
jvigliotta 07b37e0
added missing await
jvigliotta 2f7fcaf
remove unused arg
jvigliotta bb195ca
using a set instead of two arrays
jvigliotta cf40220
using a set instead of two arrays, normalize id
jvigliotta 51bb761
add a guard if unsubscribe path is called with no telemetryobject
jvigliotta cc4165c
explicitly import isEqual instead of random global use
jvigliotta 2fc4339
Merge branch 'master' into feature/historical-conditions
jvigliotta a1b7cb9
Merge branch 'feature/historical-conditions' of https://github.com/na…
jvigliotta a9950ea
Updates to work with new changes introduced for conditionsets, merged…
jvigliotta ae7fe33
lint
jvigliotta 09a3c4f
Merge branch 'master' into feature/historical-conditions
jvigliotta 9107498
correcting case
jvigliotta e22fcd4
Merge branch 'master' into feature/historical-conditions
jvigliotta c5779b9
Merge branch 'master' into feature/historical-conditions
akhenry bad97a9
handling removing output telemetry when condition set is being viewed…
jvigliotta 60cb632
handle removed telemetry correctly for conditions that use it
jvigliotta 0f1f6b5
deleting instead of null settting to avoid issues on last unsub
jvigliotta 29935e6
lint
jvigliotta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| /***************************************************************************** | ||
| * Open MCT, Copyright (c) 2014-2024, United States Government | ||
| * as represented by the Administrator of the National Aeronautics and Space | ||
| * Administration. All rights reserved. | ||
| * | ||
| * Open MCT is licensed under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * http://www.apache.org/licenses/LICENSE-2.0. | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
| * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| * License for the specific language governing permissions and limitations | ||
| * under the License. | ||
| * | ||
| * Open MCT includes source code licensed under additional open source | ||
| * licenses. See the Open Source Licenses file (LICENSES.md) included with | ||
| * this source code distribution or the Licensing information page available | ||
| * at runtime from the About dialog for additional information. | ||
| *****************************************************************************/ | ||
|
|
||
| import mount from 'utils/mount'; | ||
|
|
||
| import ConditionConfigView from './components/ConditionInspectorConfigView.vue'; | ||
|
|
||
| export default function ConditionInspectorView(openmct) { | ||
| return { | ||
| key: 'condition-config', | ||
| name: 'Config', | ||
| canView: function (selection) { | ||
| return selection.length > 0 && selection[0][0].context.item.type === 'conditionSet'; | ||
| }, | ||
| view: function (selection) { | ||
| let _destroy = null; | ||
| const domainObject = selection[0][0].context.item; | ||
|
|
||
| return { | ||
| show: function (element) { | ||
| const { destroy } = mount( | ||
| { | ||
| el: element, | ||
| components: { | ||
| ConditionConfigView: ConditionConfigView | ||
| }, | ||
| provide: { | ||
| openmct, | ||
| domainObject | ||
| }, | ||
| template: '<condition-config-view></condition-config-view>' | ||
| }, | ||
| { | ||
| app: openmct.app, | ||
| element | ||
| } | ||
| ); | ||
| _destroy = destroy; | ||
| }, | ||
| showTab: function (isEditing) { | ||
| return isEditing; | ||
| }, | ||
| priority: function () { | ||
| return 1; | ||
| }, | ||
| destroy: function () { | ||
| if (_destroy) { | ||
| _destroy(); | ||
| } | ||
| } | ||
| }; | ||
| } | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.