ef965ebdfd
ESLint rules: array-callback-return, no-invalid-this, func-style ( #3151 )
...
* satisfied array-callback-return rule
* satisfying no-invalid-this rule
* fixed invalid-this issues
* changed isNotEqual to arrow function
* added rule func-style
* added return false to satisfy array-callback-return rule
Co-authored-by: Joel McKinnon <jmckinnon@apple.com >
Co-authored-by: Joshi <simplyrender@gmail.com >
Co-authored-by: Andrew Henry <akhenry@gmail.com >
2020-08-10 10:59:18 -07:00
a09da30768
New eslint rules auto fix ( #3058 )
...
* no-implicit-coercion and no-unneeded-ternary
* End every line with a semicolon
* Spacing and formatting
* Enabled semi-spacing
* Applies npm run lint:fix to code after master merge
* Fix merge issues
* Switched operator-linebreak to 'before'
Co-authored-by: Joshi <simplyrender@gmail.com >
2020-07-31 12:11:03 -07:00
43628ad9d6
Lodash upgrade and cleanup ( #2990 )
...
* Upgrades lodash
* Replaces some usage of lodash with native functions.
* Adds linting to catch cases where native functions could be used instead of lodash functions
* Renamed testTools to testUtils
Co-authored-by: Joshi <simplyrender@gmail.com >
Co-authored-by: David Tsay <david.e.tsay@nasa.gov >
Co-authored-by: David Tsay <3614296+davetsay@users.noreply.github.com >
Co-authored-by: Andrew Henry <akhenry@gmail.com >
2020-05-27 10:59:02 -07:00
f12166097c
Revert "Lodash upgrade ( #2885 )"
...
This reverts commit d103a22fa0
.
2020-04-24 11:53:31 -07:00
d103a22fa0
Lodash upgrade ( #2885 )
...
* upgraded lodash, changed method names
* native implementations as requested
2020-04-23 10:38:44 -07:00
0d53898af9
Build refactor to webpack ( #2139 )
...
* Move to webpack build
* Use webpack for building openmct. Move SCSS to one folder and load
all core css up front. Remove bower, begin removing gulp in favor
of npm run.
* Uses eslint instead of jshint and jscs. Merge style checking rules
into .eshintrc.js, carrying over core parts of crockford style and
our adaptations. Current code base fails to pass the linter, want
to separate linter changes from fixes to linting rules.
* Support for Vue SFC with example
* Remove outdated examples
* Use HTML loader for html (supports relative imports of resources e.g.
images) and raw-loader for when javascript must be loaded as text.
2018-08-07 14:47:50 -07:00
c55eaeb193
[Copyright] Update copyright year across platform code references
...
Fixes #2034 .
2018-05-14 15:46:17 -07:00
5726fe6313
new-plot import ( #1557 )
...
Merge of new plot
* Introduces new Plot object and view
* Removes Old Plot
* Add LAD support and state type to generators
* Removes Telemetry Panel Type
* Telemetry API Updates
* UTCFormat.parse: passthrough numbers
* TelemetryAPI: default request arguments
* TelemetryAPI: fix enum formatting
* Markup and styling to support new plots
2018-03-02 14:29:34 -08:00
ca8cad0a74
[Telemetry] Legacy adapter handles source remap
...
Update the Legacy Telemetry Adapter to handle source remapping
for telemetry which has it.
fixes https://github.com/nasa/openmct/issues/1724
2017-09-21 10:51:16 -07:00
eb196ea521
[Telemetry] Convert to legacy domains/ranges
...
When requesting metadata via the legacy telemetry capability,
add fields for ranges/domains to avoid breaking legacy views.
Fixes #1684
2017-08-30 09:31:02 -07:00
019cdde1c6
Merge pull request #1655 from nasa/subscribe-once
...
[Telemetry API] many subscribes -> one provider subscribe
2017-08-17 16:24:57 -07:00
1c33157fb8
[Telem] Handle no range values
...
Update the telemetry adapter to gracefully handle cases where
a range value is not found via hints. This allows telemetry objects
that don't have ranges to still work with some old style displays
2017-07-21 16:29:54 -07:00
efc46613bb
Updated TelemetryCapability.js
...
removed outdated comment.
2017-07-13 16:47:24 -07:00
19b5e7c781
[Open 1641] Change warnings to info messages
2017-07-06 15:55:29 -07:00
3df7e30d2c
[Telemetry] x/y -> domain/range
...
Update source to use domain/range instead of x/y.
https://github.com/nasa/openmct/issues/1546
2017-05-09 18:51:57 -07:00
1f250dd8e7
Merge pull request #1553 from nasa/time-api-redo
...
[Time API] V1.0 Time API and associated refactoring
2017-05-01 17:11:19 -07:00
f17417a541
[Time API] Modified public Time API to support registration of time systems and clocks, setting of active clock, simplification of clocks and time systems, setting of offsets(deltas) and other changes as per #1265 and #1474 . Refactoring of UI code to support changes.
2017-04-28 16:03:59 -07:00
fce8f13984
Remove check for invalid return, update spec
...
Remove a check for an invalid return value, update the spec to
return the proper value. Also updated the subscribe method
to fetch defaults the same as the request method.
https://github.com/nasa/openmct/pull/1544
2017-04-27 13:43:54 -07:00
26e13a6cd0
[Telemetry] Use the 'source' metadata field to retrieve telemetry metadata, if available. Fixes #1543 .
2017-04-26 21:19:55 -07:00
00f3b6ce5c
Revert "[Telemetry] Use the 'source' metadata field to retrieve telemetry metadata, if available. Fixes #1543."
...
This reverts commit 11677b97ab
.
2017-04-26 21:18:57 -07:00
11677b97ab
[Telemetry] Use the 'source' metadata field to retrieve telemetry metadata, if available. Fixes #1543 .
2017-04-26 21:15:52 -07:00
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
09419398e9
[Telemetry] Added unit tests for addition of bounds and domains to telemetry requests
2017-03-27 14:53:41 -07:00
da40f4c96e
[Plot] Add current conductor bounds to telemetry requests via the old API. Replaces telemetry decorator. Fixes #1458
2017-02-27 19:26:51 -08:00
c1d6e21c3c
Added tests. Fixes #1364
2017-02-23 13:50:14 -08:00
347fb6d882
Fixed style errors
2017-02-23 10:19:10 -08:00
b3cf7a5d93
Added support for new style telemetry providers from old screens. Converted SWG to new style data adapter
2017-02-23 09:58:46 -08:00
6f257593c8
Use series.getDatum when available
2016-12-22 10:02:28 -08:00
e751461194
Typo corrections, I avoided making changes to words that have regional spelling differences.
2016-09-03 09:16:54 -04:00
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
ad5691142e
[Code Style] Rename shadowing variables
2016-05-20 13:05:32 -07:00
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
5e44bfc6c7
Merge branch 'master' into open671
...
Conflicts:
main.js
platform/commonUI/edit/src/policies/EditableMovePolicy.js
platform/commonUI/general/src/directives/MCTTree.js
platform/commonUI/general/src/ui/ToggleView.js
platform/core/src/actions/ActionCapability.js
platform/core/test/models/CachingModelDecoratorSpec.js
platform/core/test/services/InstantiateSpec.js
platform/features/events/bundle.js
platform/features/events/src/DomainColumn.js
platform/features/events/src/EventListController.js
platform/features/events/src/EventListPopulator.js
platform/features/events/src/RangeColumn.js
platform/features/events/src/directives/MCTDataTable.js
platform/features/events/src/policies/MessagesViewPolicy.js
platform/features/events/test/DomainColumnSpec.js
platform/features/events/test/EventListControllerSpec.js
platform/features/events/test/EventListPopulatorSpec.js
platform/features/events/test/RangeColumnSpec.js
platform/features/events/test/policies/MessagesViewPolicySpec.js
platform/features/rtevents/bundle.js
platform/features/rtevents/src/DomainColumn.js
platform/features/rtevents/src/RTEventListController.js
platform/features/rtevents/src/RangeColumn.js
platform/features/rtevents/src/directives/MCTRTDataTable.js
platform/features/rtevents/src/policies/RTMessagesViewPolicy.js
platform/features/rtevents/test/DomainColumnSpec.js
platform/features/rtevents/test/RTEventListControllerSpec.js
platform/features/rtevents/test/RangeColumnSpec.js
platform/features/rtevents/test/policies/RTMessagesViewPolicySpec.js
platform/features/rtscrolling/bundle.js
platform/features/rtscrolling/src/DomainColumn.js
platform/features/rtscrolling/src/NameColumn.js
platform/features/rtscrolling/src/RTScrollingListController.js
platform/features/rtscrolling/src/RangeColumn.js
platform/features/scrolling/src/DomainColumn.js
platform/features/scrolling/src/RangeColumn.js
platform/features/scrolling/src/ScrollingListController.js
platform/features/scrolling/src/ScrollingListPopulator.js
platform/features/scrolling/test/DomainColumnSpec.js
platform/features/scrolling/test/RangeColumnSpec.js
platform/features/scrolling/test/ScrollingListControllerSpec.js
platform/features/scrolling/test/ScrollingListPopulatorSpec.js
platform/features/table/src/directives/MCTTable.js
platform/features/table/test/controllers/TelemetryTableControllerSpec.js
platform/representation/src/gestures/DropGesture.js
platform/telemetry/src/TelemetryFormatter.js
test-main.js
2016-04-08 16:08:19 -07:00
d6ab70447e
[Data Format] Don't truncate data values
2016-03-21 14:35:58 -07:00
a1a7b2b8ce
[Build] Remove unused variables
...
...to satisfy JSHint
2016-03-04 11:41:48 -08:00
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
a9518e9890
[Telemetry] Add missing JSDoc
...
...for new parameters added to support domain/range switching
in plots, per code review on nasa/openmctweb#288
2015-11-18 10:50:32 -08:00
a88fadcb49
[Plot] Allow lookup of alternate ranges
2015-11-10 16:02:18 -08:00
99376391a9
Merge remote-tracking branch 'github/master' into open229b
...
Conflicts:
platform/features/conductor/src/ConductorRepresenter.js
2015-11-03 16:58:40 -08:00
5940f94644
[Time Conductor] Cancel requests
...
Don't callback for any telemetry requests from a TelemetryHandle
if the handle has been destroyed.
2015-11-03 15:24:38 -08:00
cecc52f0a9
[Time Conductor] Update formatService usages
...
...to remove checks for unknown formats.
2015-11-02 12:28:46 -08:00
796d6b800a
[Time Conductor] Add JSDoc for params
2015-10-30 14:08:11 -07:00
4f9a65a5fe
[Time Conductor] Use default format
...
...from TelemetryFormatter, and log when a requested format
is unavailable.
2015-10-30 13:17:53 -07:00
3fe386fcd6
[Time Conductor] Use formatService from telemetryFormatter
2015-10-27 11:21:44 -07:00
c0fda5b572
[Time Conductor] Add JSDoc
...
Add typedefs relevant to the date aggregator; in particular,
document properties used to determine how to format timestamps
associated with a telemetry point.
2015-10-22 12:41:46 -07:00
2848a8458b
[Time Conductor] Avoid exception
...
Avoid exception when trying to generate a single datum in
cases where there is no data yet available.
2015-09-25 11:05:18 -07:00
7d20351a6a
[Time Conductor] Clean up code style
...
Clean up code style in TelemetrySubscription, for
changes associated with WTD-1515.
2015-09-10 11:20:09 -07:00
d2dfec3ce7
[Time Controller] Simplify retrieval of datum objects
...
...for historical data. Supports WTD-1515
2015-09-08 17:03:58 -07:00
351181d38e
[Time Controller] Allow datum retrieval from histories
...
WTD-1515
2015-09-08 16:58:15 -07:00
47b97a504e
[Telemetry] Document TelemetryRequest
...
Document TelemetryRequest to record new parameters in
support of the time conductor, WTD-1515
2015-09-08 16:28:01 -07:00