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.
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
feat(#7394): Incorporate Status Indicators into the main Vue app #7395
feat(#7394): Incorporate Status Indicators into the main Vue app #7395
Changes from 19 commits
edea0c8
9cd46ee
21bb0bb
5b155a1
6019fc7
2ccd6be
52f8603
594e042
71ee484
62dfffb
5acbbc0
f004bb4
6895f9e
54c70b0
8f21f68
58aba3a
a5db40d
84ecde1
bcf16b2
7178135
9a7eb7d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the
element
property for indicator objects still exist after removing themount
utility? See here: https://github.com/nasa/openmct/blob/vue-indicators/src/plugins/clearData/plugin.js#L34Perhaps you need to create the
indicator.element
node here as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shefalijoshi Not for most of our default indicators. The idea is that if the
vueComponent
is provided to the indicator API, it will mount the component directly. Otherwise, it will look for theelement
property and wrap it in an anonymous Vue component, and then mount that. So one or the other is required here. If both vueComponent and element are missing, then we fail fast.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Add some documentation around this in the API change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the existing docs ok? this just explains how to use the API, the implementation details shouldn't be important to the average user?