mirror of
https://github.com/nasa/openmct.git
synced 2025-04-07 19:34:25 +00:00
Pre release for Sprint 1.7.3 (#3924)
* Revert "upgrade to webpack5 (#3871)" (#3907) (#3908) * [Navigation Tree] Fix composition on closed folders and scrolling for items NOT in tree (#3920) * Update package.json version and version documentation to include tags for npmjs Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov> Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
This commit is contained in:
parent
a40867d544
commit
a123889d6a
@ -131,7 +131,8 @@ numbers by the following process:
|
||||
3. In `package.json` change package to be public (private: false)
|
||||
4. Test the package before publishing by doing `npm publish --dry-run`
|
||||
if necessary.
|
||||
5. Publish the package to the npmjs registry (e.g. `npm publish --access public`)
|
||||
5. Publish the package to the npmjs registry (e.g. `npm publish --access public`)
|
||||
NOTE: Use the `--tag unstable` flag to the npm publishj if this is a prerelease.
|
||||
6. Confirm the package has been published (e.g. `https://www.npmjs.com/package/openmct`)
|
||||
5. Update snapshot status in `package.json`
|
||||
1. Create a new branch off the `master` branch.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openmct",
|
||||
"version": "1.7.3-SNAPSHOT",
|
||||
"version": "1.7.3",
|
||||
"description": "The Open MCT core platform",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
@ -579,7 +579,7 @@ define([
|
||||
*/
|
||||
TelemetryAPI.prototype.getLimits = function (domainObject) {
|
||||
const provider = this.findLimitEvaluator(domainObject);
|
||||
if (!provider) {
|
||||
if (!provider || !provider.getLimits) {
|
||||
return {
|
||||
limits: function () {}
|
||||
};
|
||||
|
@ -308,6 +308,7 @@ export default {
|
||||
|| !checkItem.navigationPath.includes(path);
|
||||
});
|
||||
this.openTreeItems.splice(pathIndex, 1);
|
||||
this.removeCompositionListenerFor(path);
|
||||
},
|
||||
closeTreeItem(item) {
|
||||
this.closeTreeItemByPath(item.navigationPath);
|
||||
@ -393,12 +394,18 @@ export default {
|
||||
}
|
||||
|
||||
const indexOfScroll = this.treeItems.findIndex(item => item.navigationPath === navigationPath);
|
||||
const scrollTopAmount = indexOfScroll * this.itemHeight;
|
||||
|
||||
this.$refs.scrollable.scrollTo({
|
||||
top: scrollTopAmount,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
if (indexOfScroll !== -1) {
|
||||
const scrollTopAmount = indexOfScroll * this.itemHeight;
|
||||
|
||||
this.$refs.scrollable.scrollTo({
|
||||
top: scrollTopAmount,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
} else if (this.scrollToPath) {
|
||||
this.scrollToPath = undefined;
|
||||
delete this.scrollToPath;
|
||||
}
|
||||
},
|
||||
scrollEndEvent() {
|
||||
this.$nextTick(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user