Deep Tailor
593c1adf56
updated mctSplitPane to handle all logic regarding persisting userPreferenceWidth to local storage
2017-08-02 10:46:14 -07:00
Deep Tailor
5a7fdf82ac
persist user preference width for MCTSplitPanes
2017-08-01 12:00:21 -07:00
Pete Richards
d82230dea4
[Resize] don't trigger callback when destroyed
...
Prevent MCTResize from triggering a callback after it is destroyed.
Fixes https://github.com/nasa/openmct/issues/1509
2017-07-04 17:03:25 -07:00
Victor Woeltjen
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
Pete Richards
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
Pete Richards
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
Victor Woeltjen
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
Victor Woeltjen
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
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Andrew Henry
29dd51439d
[Date Input] Addressed issues with date selector. Fixes #1000
2016-06-08 17:37:26 +01:00
Pete Richards
ff92d3acab
Merge remote-tracking branch 'origin/open889' into open922
2016-05-25 09:55:09 -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
Charles Hacskaylo
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
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
f7ba24c0b6
[Tree] Enable gestures on labels
2016-03-11 17:43:18 -08:00
Victor Woeltjen
02ec6db104
[Tree] Trigger digest on tree selection change
2016-03-11 17:37:11 -08:00
Victor Woeltjen
a3a9393d1b
[Tree] Change selection on click
2016-03-11 17:32:57 -08:00
Victor Woeltjen
82b6166408
[Tree] Begin wiring in selection
2016-03-11 17:09:17 -08:00
Victor Woeltjen
d4b15525ca
[Tree] Begin using mct-tree for tree representation
2016-03-11 14:23:08 -08:00
Victor Woeltjen
cbd9509260
[Tree] Use TreeView from mct-tree
2016-03-11 14:13:14 -08:00
Victor Woeltjen
ece8f7fded
[Tree] Begin separating out TreeView
2016-03-11 11:12:43 -08:00
Victor Woeltjen
3b0a3733b4
[Tree] Begin adding controller for refactored tree
2016-03-11 10:23:06 -08:00
Victor Woeltjen
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
Victor Woeltjen
a1a7b2b8ce
[Build] Remove unused variables
...
...to satisfy JSHint
2016-03-04 11:41:48 -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
8581547a9c
[Templates] Allow only template property for containers
...
...to work around difficulties with transclusion using
templateLinker.
2016-02-26 14:49:55 -08:00
Victor Woeltjen
e61711688e
[Templates] Use templateLinker from MCTContainer
...
...for compatibility with both template and templateUrl.
2016-02-26 14:24:41 -08:00
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
4ad007f882
[Common UI] Add z-index to popups
...
Temporary workaround for nasa/openmctweb#298
2015-11-12 14:52:41 -08:00
Victor Woeltjen
1c4a4e475b
[Inspector] Simplify splitter communication
2015-11-04 10:53:23 -08:00
Charles Hacskaylo
2c7c7b90e6
Fixed JS var placement causing mvn to fail
...
open #90
open #233
2015-11-03 16:51:15 -08:00
Charles Hacskaylo
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
Charles Hacskaylo
94649b12fd
[Frontend] Splitter re-styling
...
open #90
Significant redo of splitter styling;
2015-10-23 20:06:38 -07:00
Charles Hacskaylo
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
Victor Woeltjen
1ad0bf337c
[Common UI] Use popupService from mct-popup
2015-10-02 10:48:45 -07:00
Victor Woeltjen
571beb8df2
[Time Conductor] Add JSDoc to mct-popup
...
Based on feedback from code review; WTD-1515
2015-10-01 14:34:52 -07:00
Victor Woeltjen
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
Victor Woeltjen
6bd8e7a47c
Merge remote-tracking branch 'github/master' into open1515
2015-09-24 11:17:13 -07:00
Pete Richards
2040304980
Merge remote-tracking branch 'github-open/open19' into open-master
2015-09-22 13:49:41 -07:00
Victor Woeltjen
e34fe1a289
[Time Conductor] Tweak position, appearance
...
...of datetime picker popups. WTD-1515
2015-09-15 18:51:44 -07:00
Victor Woeltjen
70d9587c9b
[Time Conductor] Wire in datetime pickers
...
WTD-1515
2015-09-15 18:48:00 -07:00
Victor Woeltjen
9a78b63065
[Time Conductor] Try to rewrite datetime picker as control
2015-09-15 18:37:36 -07:00
Victor Woeltjen
6c497f3c36
[Time Conductor] Start adding datetime picker
...
WTD-1515
2015-09-15 18:09:46 -07:00
Victor Woeltjen
47bfe40294
[Common UI] Remove unused variable
...
...from mct-splitter directive.
2015-09-11 13:40:25 -07:00
Victor Woeltjen
3a3829682c
[Common UI] Only trigger digest on change
...
...from mct-split-pane.
2015-09-11 13:33:17 -07:00
Victor Woeltjen
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
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
Victor Woeltjen
ef77ca91e7
Merge branch 'open1363' into open-master
2015-06-29 16:27:10 -07:00
Victor Woeltjen
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