185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
60d1b73160
Update tests and correct style
...
Update tests to reflect new functionality.
Closes https://github.com/nasa/openmct/issues/1360
2016-12-20 16:49:13 -08:00
f0b9292458
[Tree] Add additional api methods
...
Add methods to tree view via scope for more fine grained control.
Can supply a "allowSelection" function which should return true
if a given selection is allowed. This is executed before a node
is selected and allows you to prevent selection. Before this, if
you wanted to prevent the selection from changing, you had to wait
for it to change and then change it back to the original value.
Can also supply an "onSelection" function which is called when a
value is successfully selected. This allows you to handle the
selection event without waiting for digest. You can still $watch
"selectedObject" if you prefer.
Additionally, this changes the tree node to trigger a digest only
when the value is set via a MouseClick, instead of every time.
Tidies up directive scope bindings to clarify usage.
https://github.com/nasa/openmct/issues/1360
2016-12-20 16:43:23 -08:00
4e5887d9ec
[Tree] Check for change before scope.$apply
...
TreeView's observers will be called when the selected domain object
changes, which can occur for one of two reasons:
1. Because a new value was set externally, from mct-tree.
2. Because a new value was selected, by the user.
In the latter case a $apply is needed, but in the former it is not
(and causes an error.) However, when that case occurs, the value in
scope will be up to date already (it was a watch that triggered the
call to treeView.value) so no assignment or $apply is necessary.
Fixes #1114 .
2016-08-15 16:04:14 -07:00
c8931f8535
[Tree] Simplify synchronization ( #1100 )
...
Simplify synchronization of selection in tree with state
passed-in, letting Angular deal with more of the specifics.
Fixes #1008 .
2016-08-05 16:30:55 -07:00
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
29dd51439d
[Date Input] Addressed issues with date selector. Fixes #1000
2016-06-08 17:37:26 +01:00
ff92d3acab
Merge remote-tracking branch 'origin/open889' into open922
2016-05-25 09:55:09 -07:00
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
73c2c01def
[Frontend] Layout and styling of Time Conductor
...
open #889
open #298
Fixes for mobile;
Moved popup z-index def into sass;
Datetime picker compressed for
better fit in mobile phone;
Removed hours selector from datetime
picker to enable better fit in mobile;
2016-05-11 11:32:39 -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
f7ba24c0b6
[Tree] Enable gestures on labels
2016-03-11 17:43:18 -08:00
02ec6db104
[Tree] Trigger digest on tree selection change
2016-03-11 17:37:11 -08:00
a3a9393d1b
[Tree] Change selection on click
2016-03-11 17:32:57 -08:00
82b6166408
[Tree] Begin wiring in selection
2016-03-11 17:09:17 -08:00
d4b15525ca
[Tree] Begin using mct-tree for tree representation
2016-03-11 14:23:08 -08:00
cbd9509260
[Tree] Use TreeView from mct-tree
2016-03-11 14:13:14 -08:00
ece8f7fded
[Tree] Begin separating out TreeView
2016-03-11 11:12:43 -08:00
3b0a3733b4
[Tree] Begin adding controller for refactored tree
2016-03-11 10:23:06 -08:00
baab0be5af
[Tree] Begin adding mct-tree directive
...
...to reduce watch counts associated with the tree;
#732 and #315
2016-03-11 10:04:33 -08: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
8581547a9c
[Templates] Allow only template property for containers
...
...to work around difficulties with transclusion using
templateLinker.
2016-02-26 14:49:55 -08:00
e61711688e
[Templates] Use templateLinker from MCTContainer
...
...for compatibility with both template and templateUrl.
2016-02-26 14:24:41 -08:00
9f0114eb39
[Performance] Don't invoke apply from MCTSplitPane
...
Don't invoke apply on every from MCTSplitPane
(this had been intended behavior, but argument was misplaced.)
2015-12-03 13:27:59 -08:00
46b110e12f
[Common UI] Add note about TODO item
...
Add note about temporary work around, per code review
from nasa/openmctweb#299
2015-11-12 16:38:01 -08:00
4ad007f882
[Common UI] Add z-index to popups
...
Temporary workaround for nasa/openmctweb#298
2015-11-12 14:52:41 -08:00
1c4a4e475b
[Inspector] Simplify splitter communication
2015-11-04 10:53:23 -08:00
2c7c7b90e6
Fixed JS var placement causing mvn to fail
...
open #90
open #233
2015-11-03 16:51:15 -08:00
8ee4fc9b71
[Frontend] Fixed spacing of panes and mini-tabs
...
open #90
Splitter spacing now being handled in CSS, so
modded calcs in MCTSplitPane to not add space;
CSS calcs adjusted; comments removed;
2015-10-24 18:43:13 -07:00
94649b12fd
[Frontend] Splitter re-styling
...
open #90
Significant redo of splitter styling;
2015-10-23 20:06:38 -07:00
827e1af581
[Frontend] Manual re-do of collapse/expand panes
...
open #90
Added code to MCTSplitter and MCTSplitPane to allow
toggling of CSS class 'resizing' on pane elements when
the user is actively using the splitter;
Added resize transition animation to split pane elements
when user not actively resizing;
2015-10-23 09:18:59 -07:00
1ad0bf337c
[Common UI] Use popupService from mct-popup
2015-10-02 10:48:45 -07:00
571beb8df2
[Time Conductor] Add JSDoc to mct-popup
...
Based on feedback from code review; WTD-1515
2015-10-01 14:34:52 -07:00
1214a32c26
[Common UI] Avoid apply-in-a-digest
...
Don't invoke from mct-resize when first observing
an element's size during linking; observed issue in the
context of adding domain selector to time conductor.
2015-09-24 11:20:07 -07:00
6bd8e7a47c
Merge remote-tracking branch 'github/master' into open1515
2015-09-24 11:17:13 -07:00
2040304980
Merge remote-tracking branch 'github-open/open19' into open-master
2015-09-22 13:49:41 -07:00
e34fe1a289
[Time Conductor] Tweak position, appearance
...
...of datetime picker popups. WTD-1515
2015-09-15 18:51:44 -07:00
70d9587c9b
[Time Conductor] Wire in datetime pickers
...
WTD-1515
2015-09-15 18:48:00 -07:00
9a78b63065
[Time Conductor] Try to rewrite datetime picker as control
2015-09-15 18:37:36 -07:00
6c497f3c36
[Time Conductor] Start adding datetime picker
...
WTD-1515
2015-09-15 18:09:46 -07:00
47bfe40294
[Common UI] Remove unused variable
...
...from mct-splitter directive.
2015-09-11 13:40:25 -07:00
3a3829682c
[Common UI] Only trigger digest on change
...
...from mct-split-pane.
2015-09-11 13:33:17 -07:00
861ea8bab7
[Common UI] Poll split pane position
...
Poll to position the splitter in an mct-split-pane, in
order to detect later style changes. #53 .
2015-09-11 13:12:24 -07:00
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
ef77ca91e7
Merge branch 'open1363' into open-master
2015-06-29 16:27:10 -07:00
66f8ee7194
[Common UI] Fix min/max bounds of mct-split-pane
...
WTD-1363. Use correct dimension (width or height)
when determining maximum splitter position.
2015-06-29 11:54:40 -07:00
b524dc451f
[Common UI] Remove unused function
...
Remove obsolete function from mct-split-pane, WTD-1363
2015-06-29 11:27:48 -07:00
933927cda1
[Common UI] Reduce digest count
...
Reduce number of digest cycles triggered by mct-resize;
only trigger a new digest cycle when size actually
changes. #19 .
2015-06-29 09:48:32 -07:00
8c5b497377
[Common UI] Tweak mct-split-pane
...
Tweak mct-split-pane for use in timeline; particularly,
improve synchronization between views. WTD-1363.
2015-06-27 11:59:18 -07:00