Compare commits
8 Commits
copy-versi
...
sort-incom
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5000bcc849 | ||
|
|
44d2c465ff | ||
|
|
237d458b07 | ||
|
|
7e41a4168f | ||
|
|
3918e808d8 | ||
|
|
fd71ce8c42 | ||
|
|
cc32cf43af | ||
|
|
0551fc2e7c |
@@ -172,7 +172,6 @@ export class TelemetryCollection extends EventEmitter {
|
||||
* @private
|
||||
*/
|
||||
_processNewTelemetry(telemetryData) {
|
||||
performance.mark('tlm:process:start');
|
||||
if (telemetryData === undefined) {
|
||||
return;
|
||||
}
|
||||
@@ -185,8 +184,8 @@ export class TelemetryCollection extends EventEmitter {
|
||||
|
||||
for (let datum of data) {
|
||||
parsedValue = this.parseTime(datum);
|
||||
beforeStartOfBounds = parsedValue <= this.lastBounds.start;
|
||||
afterEndOfBounds = parsedValue >= this.lastBounds.end;
|
||||
beforeStartOfBounds = parsedValue < this.lastBounds.start;
|
||||
afterEndOfBounds = parsedValue > this.lastBounds.end;
|
||||
|
||||
if (!afterEndOfBounds && !beforeStartOfBounds) {
|
||||
let isDuplicate = false;
|
||||
@@ -353,7 +352,6 @@ export class TelemetryCollection extends EventEmitter {
|
||||
* @todo handle subscriptions more granually
|
||||
*/
|
||||
_reset() {
|
||||
performance.mark('tlm:reset');
|
||||
this.boundedTelemetry = [];
|
||||
this.futureBuffer = [];
|
||||
|
||||
|
||||
@@ -32,9 +32,7 @@ export default function GaugeViewProvider(openmct) {
|
||||
return domainObject.type === 'gauge';
|
||||
},
|
||||
canEdit: function (domainObject) {
|
||||
if (domainObject.type === 'gauge') {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
view: function (domainObject) {
|
||||
let component;
|
||||
|
||||
@@ -225,9 +225,8 @@ define(
|
||||
sortBy(sortOptions) {
|
||||
if (arguments.length > 0) {
|
||||
this.sortOptions = sortOptions;
|
||||
performance.mark('table:row:sort:start');
|
||||
this.rows = _.orderBy(this.rows, (row) => row.getParsedValue(sortOptions.key), sortOptions.direction);
|
||||
performance.mark('table:row:sort:stop');
|
||||
|
||||
this.emit('sort');
|
||||
}
|
||||
|
||||
|
||||
@@ -613,7 +613,6 @@ export default {
|
||||
this.calculateScrollbarWidth();
|
||||
},
|
||||
sortBy(columnKey) {
|
||||
performance.mark('table:sort');
|
||||
// If sorting by the same column, flip the sort direction.
|
||||
if (this.sortOptions.key === columnKey) {
|
||||
if (this.sortOptions.direction === 'asc') {
|
||||
@@ -670,7 +669,6 @@ export default {
|
||||
this.setHeight();
|
||||
},
|
||||
rowsAdded(rows) {
|
||||
performance.mark('row:added');
|
||||
this.setHeight();
|
||||
|
||||
let sizingRow;
|
||||
@@ -692,7 +690,6 @@ export default {
|
||||
this.updateVisibleRows();
|
||||
},
|
||||
rowsRemoved(rows) {
|
||||
performance.mark('row:removed');
|
||||
this.setHeight();
|
||||
this.updateVisibleRows();
|
||||
},
|
||||
|
||||
@@ -123,11 +123,4 @@
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
button {
|
||||
color: #aaaaaa;
|
||||
font-size: 0.7em;
|
||||
}
|
||||
button:active {
|
||||
color: $colorBtnBgHov;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,14 +23,8 @@
|
||||
<p>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.</p>
|
||||
<p>Open MCT includes source code licensed under additional open source licenses. See the Open Source Licenses file included with this distribution or <a @click="showLicenses">click here for third party licensing information</a>.</p>
|
||||
</div>
|
||||
<h2>Version Information<button
|
||||
class="icon-export"
|
||||
@click="copyVersionToClipboard"
|
||||
></button></h2>
|
||||
<ul
|
||||
ref="versionInformation"
|
||||
class="t-info l-info s-info"
|
||||
>
|
||||
<h2>Version Information</h2>
|
||||
<ul class="t-info l-info s-info">
|
||||
<li>Version: {{ buildInfo.version || 'Unknown' }}</li>
|
||||
<li>Build Date: {{ buildInfo.buildDate || 'Unknown' }}</li>
|
||||
<li>Revision: {{ buildInfo.revision || 'Unknown' }}</li>
|
||||
@@ -52,11 +46,6 @@ export default {
|
||||
methods: {
|
||||
showLicenses() {
|
||||
window.open('#/licenses');
|
||||
},
|
||||
copyVersionToClipboard(e) {
|
||||
const versionInfoElement = this.$refs.versionInformation;
|
||||
const versionInfoText = versionInfoElement.innerHTML;
|
||||
window.navigator.clipboard.writeText(versionInfoText);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user