David Tsay
97694fa29c
Bump copyright year to 2020 ( #3169 )
2020-09-14 11:17:31 -07:00
Joel McKinnon
4d560086dd
ESLint upgrade, implement additional rules ( #3230 )
...
* upgrade to ESLintv7, added overrides for rules violated
* removed overrides for spec files
* fixed no-prototype-builtins issues
* added rules for default-case-last, default-param-last, grouped-accessor-pairs, no-constructor-return, and added override for one violation
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-08-10 11:23:35 -07:00
Andrew Henry
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
Joel McKinnon
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
Deep Tailor
8b715f331c
Search indexer ( #2445 )
...
* add a bare bones indexer
* use constant to fallback to legacy indexer
2019-10-22 16:53:06 -07:00
Pete Richards
1bb1330cba
Squashed commit of the following:
...
commit 5aad2e6863
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 30 14:34:44 2018 -0700
Code trimming / cleanup
- pane tweaks;
commit 139e5ab184
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 30 13:50:26 2018 -0700
Code trimming / cleanup
- pane tweaks;
commit e3bb387139
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 30 13:38:35 2018 -0700
Code trimming / cleanup
- pane, Layout;
commit 6edaea0889
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 30 12:57:21 2018 -0700
Collapse button new design and styling WIP
- Also begin code cleanups;
commit bd8fab3726
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 29 18:04:47 2018 -0700
Vertical pane resizing fixed
- Vertical pane styling with significant fixes;
commit cf89e8a86f
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 29 16:52:53 2018 -0700
Vertical pane resizing fixed
- Vertical pane styling with significant fixes;
commit b3ad4c4c14
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 29 15:58:12 2018 -0700
Vertical pane resizing fixed! Kind of...
- pane__contents at 100% height is causing problems, fix this.
- Normalized scss var names $splitterBtn*;
- Added --reacts to pane to allow setting of proper flex attribs;
commit 49cead8cc6
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 28 19:07:23 2018 -0700
WIP fixing vertical pane drag problem, still broken
- Converting from flex-basis back to width / height;
- Make inspector-adapter target proper holder;
- Added --resizing class to allow user-select: none while dragging;
- Added mixins for browser prefixing;
commit c6ff381cf0
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 28 14:56:50 2018 -0700
New design for pane collapse buttons
- Pane padding normalized;
commit 7cfbfe3d96
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 28 10:27:05 2018 -0700
CSS sanding, panes and Inspector
- Pane padding;
- Inspector min-width;
commit 7d7eeff462
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 28 10:01:02 2018 -0700
Pane transitions
- Fixed pane transitions;
commit cf160c27e9
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 28 09:09:49 2018 -0700
Splitter styling WIP
- Hover styling
commit 022126ca21
Author: charlesh88 <charlesh88@gmail.com>
Date: Mon Aug 27 21:18:14 2018 -0700
Tree styling WIP
- Mobile styling;
- Increased hit area for desktop and mobile on tree item;
- Added button mixin;
- Fixed scrolling for tree in tree pane;
commit 3f1e649526
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 24 14:47:22 2018 -0700
Drag collapse WIP
commit f9b764bb64
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 23 16:02:02 2018 -0700
Significant changes to splitter handle and button approach
- WIP!;
- WIP on drag to collapse;
commit a1d9c11e82
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 22 17:55:21 2018 -0700
Pane refactor styles WIP
- WIP converting from width/height to flex-basis;
commit b65cca277e
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 22 17:54:34 2018 -0700
Pane refactor styles WIP
- WIP converting from width/height to flex-basis;
commit 3e71204529
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 22 17:51:07 2018 -0700
Pane refactor styles WIP
- Pane transitions;
- TODO: convert from width/height to flex-basis;
commit b070cc27f4
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 22 10:21:14 2018 -0700
Mobile styles WIP
- Mobile layout mostly done;
- Pane transitions;
commit 2ee7a77a86
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 21 15:56:12 2018 -0700
Refinements to view control in tree
- Changed state eval to use 'enabled', removed v-if;
commit 3a2439cd16
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 21 15:53:34 2018 -0700
Mobile styles, VERY WIP
WARNING: DON'T PULL!!
- Mobile in progress;
commit 4e0dcb68bf
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 21 11:45:22 2018 -0700
Markup / scss refactor mobile styles WIP
- Layout, panes mobile styling WIP
commit 02afd44dd1
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 21 11:44:05 2018 -0700
Markup / scss refactor styles WIP
- Moved glyph constants into _constants to avoid multiple loads of
glyph classes;
commit 703abe36c9
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Mon Aug 20 13:20:58 2018 -0700
tree loads composition
Expose legacy types in new API
tree navigation
commit 80a185440b
Merge: 93196379a
8378dfa61
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 18:00:04 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit 93196379aa
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 17:59:43 2018 -0700
Pane padding WIP
- Adding resize handle direction to l-pane element;
commit bea135a221
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 17:48:20 2018 -0700
Inspector styling
- Moved legacy CSS as needed into MctInspector component;
commit 8378dfa613
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Fri Aug 17 17:31:12 2018 -0700
Recursive tree items
commit e4420c17c6
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 17:02:20 2018 -0700
Sanding and shimming on legacy CSS
- Jury-rigging to temporarily display some views: imagery, tables
- Code style normalization in _global.scss;
commit 5aa2be9761
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 16:22:54 2018 -0700
Bring in legacy CSS
- Legacy styles from old _global.scss moved into section of new
_global file;
- Most UI elements are working
- TODO: fix Inspector grid
commit 8d4734ef5b
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 15:17:22 2018 -0700
Remove commented CSS
commit e641aa6949
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 14:37:13 2018 -0700
Main container and scroll-bar styling
commit c3262de1b7
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 14:14:01 2018 -0700
Add status bar
commit 8addfb886e
Merge: e6be02fb8
4203dbf8e
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 13:52:11 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit e6be02fb8d
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 13:51:53 2018 -0700
Splitter refinements / mixin fix
- Splitter with resize grippy;
- Fixed @background-image mixins;
commit 4203dbf8e1
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Fri Aug 17 13:46:38 2018 -0700
Replace angular route with custom router
commit 5a07f0d2b5
Merge: e6b22cbcb
63f22c3f2
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 09:39:45 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit e6b22cbcbe
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 17 09:39:33 2018 -0700
Markup / scss refactor WIP
- Significant reorg of splitter CSS to reduce specificity;
- Splitter enhancements for collapsed state;
commit 63f22c3f21
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Fri Aug 17 09:32:29 2018 -0700
remove extraneous files
commit 17cf0cf1e6
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Thu Aug 16 12:43:10 2018 -0700
Render main and inspector using angular
commit 233c17e75b
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 18:05:44 2018 -0700
Markup / scss refactor WIP
- Scroll on tree;
- Class renaming pane > l-pane;
- Refinements to collapsed state, WIP
commit 1eaa568e04
Merge: 82dd8e22e
3957fd619
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 17:28:45 2018 -0700
Markup / scss refactor WIP
- Merge latest from Pete
commit 82dd8e22e7
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 17:26:45 2018 -0700
Markup / scss refactor WIP
- Inspector styling - very WIP!
commit 3957fd619a
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 15 16:47:48 2018 -0700
Tidy pane js
commit 91eefbfa7b
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 15 16:44:02 2018 -0700
Pane cleanup
commit 5deff887fc
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 16:25:35 2018 -0700
Markup / scss refactor WIP
- Added disabled property to viewControl;
- Margin for elements in main panes;
- Main search input styled for --major;
commit 6708c79754
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 14:34:54 2018 -0700
Markup / scss refactor WIP
- Fix modifiers to correctly use '--';
- Fix icon element in search input to disallow shrinking;
commit 7c83db11ad
Merge: e24852bb8
43f978e18
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 13:58:43 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit e24852bb83
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 13:57:27 2018 -0700
Markup / scss refactor WIP
- Tree item styling
commit 43f978e185
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 15 13:52:34 2018 -0700
Use multipane instead of splitter
commit f67f03af47
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 15 12:43:32 2018 -0700
new multipane
commit f6b90caaff
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 10:41:46 2018 -0700
Markup / scss refactor WIP
- Added view-control component
commit 4c5baf183a
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 15 10:38:26 2018 -0700
Markup / scss refactor WIP
- Added sass-base.scss to make it easier for SFC's to
include needed SASS vars, mixins, etc. with a single import;
- Cleaned up indention in Layout.vue;
commit b2d12f95ee
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 14 23:24:45 2018 -0700
Markup / scss refactor WIP
- Fix transition of magnify glass icon
commit 4449994ca4
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 14 17:31:47 2018 -0700
Markup / scss refactor WIP
- Added code comments
commit 84fde4bd34
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 14 17:29:50 2018 -0700
Markup / scss refactor WIP
- Search input dynamic behavior
commit 9424f9f49e
Author: charlesh88 <charlesh88@gmail.com>
Date: Tue Aug 14 11:28:25 2018 -0700
Markup / scss refactor WIP
- Search input styling and dynamics WIP;
commit dfc02cdf25
Author: charlesh88 <charlesh88@gmail.com>
Date: Mon Aug 13 15:34:29 2018 -0700
Markup / scss refactor WIP
- Add input-related styling;
- Cleanup scss in various files;
- Move search into own component;
- Refine padding approach in pane-tree;
commit 94a3e9e798
Author: charlesh88 <charlesh88@gmail.com>
Date: Mon Aug 13 14:36:41 2018 -0700
Markup / scss refactor WIP
- Add collapse buttons to splitter;
commit d35aed2d62
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 10 18:45:37 2018 -0700
Markup / scss refactor WIP
- Add some initial theme files; pull back from theme "override"
approach;
- Splitters refined;
- Style cleanups;
commit 32cdecebce
Author: charlesh88 <charlesh88@gmail.com>
Date: Fri Aug 10 14:53:16 2018 -0700
Markup / scss refactor WIP
- Markup and components corrected;
- Stubbed in snow theme file;
commit f811318d18
Author: charlesh88 <charlesh88@gmail.com>
Date: Thu Aug 9 16:02:22 2018 -0700
Markup / scss refactor WIP
- Add normalize.min to styles-new;
- Factor components to be more standalone, very WIP;
commit 4d9b7fe3e4
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 18:06:11 2018 -0700
Markup / scss refactor WIP
- Add timestamp to webpack build
commit dd93653306
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 18:03:00 2018 -0700
Markup / scss refactor WIP
- Use MctTree component with passed properties;
- MctTree markup and CSS ported from codepen;
commit 84430d34b1
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 17:39:26 2018 -0700
Markup / scss refactor WIP
- Add new splitter component with passed properties;
commit 50be483421
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 16:04:41 2018 -0700
Markup / scss refactor WIP
- Mixins file added;
- Markup and -shell CSS from codepen brought over;
commit fe2667285e
Merge: c7bd7d97d
5219f5394
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 15:15:21 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit 5219f5394e
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 8 15:13:28 2018 -0700
Add alias for styles directory
commit c7bd7d97dc
Merge: 0a7c16031
ab18bb348
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 13:55:44 2018 -0700
Merge branch 'core-vue-bootstrap' of https://github.com/nasa/openmct into core-vue-bootstrap
commit ab18bb3484
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 8 13:48:27 2018 -0700
Revert "temporarily use file loader for live-reload via plugin"
This reverts commit 2f54f404c2
.
commit 9c0d5f7dbf
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 8 13:48:17 2018 -0700
Enable HMR in dev server
commit 0a7c160315
Author: charlesh88 <charlesh88@gmail.com>
Date: Wed Aug 8 11:26:03 2018 -0700
Markup / scss refactor WIP
- Symbol fonts and glyphs files;
- Constants, global, etc. in progress;
commit 0fa09e31a6
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 8 10:30:11 2018 -0700
WIP new styles
commit 2f54f404c2
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Wed Aug 8 10:29:23 2018 -0700
temporarily use file loader for live-reload via plugin
commit 279e0bf29d
Author: Pete Richards <peter.l.richards@nasa.gov>
Date: Tue Aug 7 14:59:04 2018 -0700
Beginning of new layout code.
Really basic 5 component setup.
2018-08-31 12:03:15 -07:00
Pete Richards
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
Nick Weingartner
c55eaeb193
[Copyright] Update copyright year across platform code references
...
Fixes #2034 .
2018-05-14 15:46:17 -07:00
Pete Richards
9956ce31e5
[Search] Use new composition in search
...
Use private parts of new composition API for generic search indexer
so that all objects are properly accessible in search results.
Also prevent ROOT object from getting indexed but still traverse
composition. That way, "The root object" no longer shows in search
results.
Update tests to cover changes.
Fixes #1579
2017-05-18 08:51:44 -07:00
Victor Woeltjen
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
steven mirecki
e751461194
Typo corrections, I avoided making changes to words that have regional spelling differences.
2016-09-03 09:16:54 -04:00
Kevin Van Kessel
e29efbbcdf
[Search] 'All' selected upon no filters. Fixes #1117
...
Upon deselecting every filter, the search returns nothing. This serves
no useful purpose as discussed in #1117 . Now deselecting every filter
automatically selects 'All'.
2016-08-22 12:52:34 -07:00
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Victor Woeltjen
ad5691142e
[Code Style] Rename shadowing variables
2016-05-20 13:05:32 -07:00
Victor Woeltjen
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
Henry
44f4a82fa1
Resolved merge conflicts
2016-05-12 16:14:31 -07:00
Pete Richards
f3b265bdd5
Merge branch 'master' into open671
2016-05-09 10:19:24 -07:00
Pete Richards
7fad4e9ea1
[General] remove dupe, debounce inputs
...
Remove duplicate ClickAwayController implementation that was obscuring actual
implementation. Debounce clickaway action in case toggle is invoked in a
click handler.
Resolves https://github.com/nasa/openmct/issues/888
2016-05-05 18:25:37 -07:00
Victor Woeltjen
aa45e53440
[Build] Revert setTimeout changes
...
Restore usage of setTimeout (instead of the Angular-wrapped version) per
https://github.com/nasa/openmct/pull/724#issuecomment-193542314
2016-04-08 16:29:49 -07:00
Victor Woeltjen
0b11ddbcfd
[Build] Satisfy JSHint
...
Restore globals lost during removal due to merge, remove unused
variables and use threequals in new scripts.
2016-04-08 16:22:40 -07:00
Victor Woeltjen
5088453712
[Build] Remove use strict, global
...
Remove usages of use strict and global declarations that are
no longer necessary with JSHint configuration, from files
added/changed since #724
2016-04-08 16:11:12 -07:00
Victor Woeltjen
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
Victor Woeltjen
107ecfe687
[Search] Don't index objects being edited
...
https://github.com/nasa/openmctweb/pull/727#issuecomment-195570183
2016-03-11 14:55:16 -08:00
Victor Woeltjen
2d305415b3
[Search] Index directly on mutation
...
Pass model directly when indexing is triggered via object mutation,
to avoid issuing an extra, unnecessary request to the server.
Additionally supports indexing of objects which have been created
but not yet persisted.
Addresses #377 .
2016-03-07 14:46:36 -08:00
Victor Woeltjen
134452582c
[Build] Remove/qualify for-in usages
2016-03-04 13:10:23 -08:00
Victor Woeltjen
9526207af8
[Build] Replace setTimeout with
...
To avoid need to declare global usage to satisfy JSHint
2016-03-04 11:13:34 -08:00
Victor Woeltjen
6aeb156a58
[Build] Declare global self in worker
2016-03-04 11:09:41 -08:00
Victor Woeltjen
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
Victor Woeltjen
bf24ac7c93
[Search] Update field name
...
Update field name in GenericSearchProvider to reflect changes
from nasa/openmctweb#193 . Avoids exceptions on mutation.
Additionally, add test case exercising relevant code and verifying
that reindexing is scheduled upon mutation as expected.
2015-10-23 12:23:01 -07:00
Pete Richards
496cf85b7e
[JSDoc] Correct mistake
2015-10-21 09:46:32 -07:00
Pete Richards
833f57e284
[Search] Don't block UI between requests
...
Timeout subsequent calls to keepIndexing at the end of a
indexRequest, so that UI operations are not blocked.
2015-10-21 07:51:53 -07:00
Pete Richards
ce42429fbd
[Search] expose constants, add fudge factor
...
The SearchAggregator exposes it's constants to add stability to
tests.
It also has a fudge factor which increaases the number of results
it requests from providers to better support pagination when using
client side filtering.
2015-10-20 15:17:15 -07:00
Pete Richards
76151d09a0
[Search] use service for filters, add spec
...
Add a spec for the SearchController, and use the SearchService to
execute filters by supplying a filterPredicate.
2015-10-20 15:17:15 -07:00
Pete Richards
1ddce48f7e
[Search] Specs for GenericSearchProvider
...
Write specs for GenericSearchProvider and resolve some implementation
bugs they uncovered.
2015-10-20 15:17:14 -07:00
Pete Richards
98b5ff3c77
[Search] Decrement number of pending requests
2015-10-20 15:17:14 -07:00
Pete Richards
0f63e4dde9
[Tests] Rewrite search aggregator specs
2015-10-16 17:06:23 -07:00
Pete Richards
12efb47be7
[Search] Remove timeouts and timestamps
...
Remove timeouts and timestamps which were not effectively doing anything.
2015-10-16 16:09:51 -07:00
Pete Richards
78e5c0143b
[Search] Overhaul generic search provider
...
Rewrite the generic search provider to use prototypes. Increase performance
by utilizing the model service instead of the object service, and use a
simplified method of request queueing.
2015-10-16 15:30:14 -07:00
Pete Richards
099591ad2e
[Search] Aggregator returns objects, providers return models
...
Search providers return search results as models for domain objects, as the
actual number of max results is enforced by the aggregator, and because the
individual providers store and return the models for their objects already.
This lowers the amount of resources consumed instantiating domain objects, and
also allows the individual search providers to implement function-based
filtering on domain object models, which is beneficial as it allows the search
filtering in the search controller to be done before paginating of results.
2015-10-16 15:26:04 -07:00
Pete Richards
b5505f372f
[Search] Generic Worker Performance Tweaks
...
The generic search worker now does indexing work during the index operation,
ensuring that queries do not have to do extraneous or repeat calculations.
Change the return format slightly and fixed a bug in the GenericSearchProvider
which caused more objects than intended to be returned from the provider.
2015-10-16 12:39:41 -07:00
Pete Richards
9ad860babd
[Search] Rewrite search controller, tidy
...
Rewrite the search controller, making numerous changes and using prototypical
style.
First, the search controller immediately hides previous results when a new
search is started. Secondly, the search controller ensures that search results
displayed match the currently entered query, preventing race conditions. Finally,
the search controller uses a poor filtering option that means it may not display
all results.
2015-10-16 12:34:47 -07:00
Victor Woeltjen
134b749bbf
[Generic Search] Track pending indexes
...
Track domain objects which have indexing operations pending,
to avoid redundantly indexing in cases where a broader
indexed check is insufficient.
2015-10-05 10:11:38 -07:00
Victor Woeltjen
36d06e8b54
[Generic Search] Reduce flush interval
...
Per discussion from nasa/openmctweb#141 , minimize the
interval at which new objects get indexed, instead of
presuming requirements for CPU utilization.
2015-10-05 10:06:55 -07:00
Victor Woeltjen
77b0086d18
[Generic Search] Use appropriate data structure
...
Per code review, nasa/openmctweb#165
2015-10-05 09:54:57 -07:00
Victor Woeltjen
78f3f8367e
[Search] Vary batch size
...
When indexing for generic search, issue new batches of
requests as individual requests finish (instead of waiting
for whole batches to finish) varying size to keep the
number of outstanding requests below some maximum.
nasa/openmctweb#141
2015-09-29 18:37:44 -07:00
Victor Woeltjen
85ac4a9a32
[Search] Log indexing time
...
...to aid in tuning of generic search parameters.
2015-09-29 18:37:44 -07:00
Victor Woeltjen
77c66053f3
[Search] Change indexing approach
...
Change indexing approach to more carefully control the
rate at which objects are loaded to be indexed, to improve
performance. nasa/openmctweb#141 .
2015-09-29 18:37:44 -07:00
Victor Woeltjen
2979ee90a3
Revert "[Search] Don't trigger digest cycles while indexing"
...
This reverts commit 4b8a5ac0b257737ee33effc966816afca6c11b94.
Performance measurements indicates this is harmful for performance,
although this is not well-explained.
2015-09-29 18:37:44 -07:00
Victor Woeltjen
77c399f2a2
[Search] Don't trigger digest cycles while indexing
...
Avoid triggering digest cycles while indexing;
remove extra call to $timeout
2015-09-29 18:37:44 -07:00
Victor Woeltjen
fe8543158e
[Search] Fix reindexing
...
Flag domain objects as non-indexed on mutation to ensure
reindexing. Done in the context of nasa/openmctweb#141 .
2015-09-29 18:37:44 -07:00