Commit Graph

1936 Commits

Author SHA1 Message Date
1162b0c88c [Gestures] Tests
Commented MCTPinch tests.
2015-09-04 16:58:39 -07:00
eb4c7e318e [Gestures] Tests
MCTPinch organized to be separated into
pan, pinch, and destroy.
2015-09-04 16:54:10 -07:00
ad3f055747 Merge remote-tracking branch 'upstream/master' into mobile_gestures 2015-09-04 16:36:50 -07:00
23d0b50593 [Mobile - Gestures] Merge
Merged with Mobile.
2015-09-04 15:57:08 -07:00
73079e109c [Gestures] Tests
Set up MCTPlot test for the
touch gesture evetns, however
stopped short of utils call.
2015-09-04 15:27:02 -07:00
ce80806917 [Gestures] Clean Up
Adjust MCTPinchSpec mockTarget.
2015-09-04 15:25:40 -07:00
ddf519c17e [Gestures] Tests
Runs through the MCTPinch 100%, needs
expectations. However completes all
gesture firings and .
2015-09-04 14:57:16 -07:00
e8739ede0e [Gestures] Tests
Cleaned up/removed placeholder
console.log calls.
2015-09-04 14:56:31 -07:00
8101fd7a20 [Gestures] Tests
MCTPinch tests nearly complete.
Does not check scope destroy, however does
run through the touch firings.
2015-09-04 14:53:14 -07:00
820960f879 [Gestures] Tests
Setup the gestures for the MCTPlot
2015-09-04 14:52:14 -07:00
6f130ae48c [Plot] Tests
Initialization and addition of MCTPlotSpec
tests. Currently runs through file, however
need to call  calls.
2015-09-04 13:11:14 -07:00
4e44571819 [Gestures] Tests
Created initialization of variables
and components to MCTChart additions.
2015-09-04 12:54:35 -07:00
8920b5454b [Plot] Clean Up
Removed unused  from MCTChart.
2015-09-04 12:50:26 -07:00
cc5908d26f [Identity] Provide an undefined identity
Provide an undefined identity by default, instead of
an Unknown User. This suppresses display of identity-related
features (such as the identity indicator) while still
providing a default implementation of the identityService
for platform components to utilize. nasa/openmctweb#99
2015-09-04 12:17:02 -07:00
989819c7bd [plot-reborn] Tests
Completes PlotController tests for the
viewportChangeEnd functions and
call.
2015-09-04 11:33:57 -07:00
f5da8252af [plot-reborn] Tests
Initialize MCTPinch, MCTPlot, MCTChart
tests.
2015-09-04 11:32:21 -07:00
00a8aea6ea [plot-reborn] Tests
Initialize PlotController tests and the
json suite file.
2015-09-04 11:31:42 -07:00
8072e829ad [Mobile] Comments
Added comments to plot controller
regarding the change in the snapping
to right and mobile adjustment.
2015-09-03 16:30:12 -07:00
e866ddb9fd [Mobile] Plot & Gestures
Plot adjusted so that when snapping to the right
the left domain value also moves same amount that
the right domain did. Also Interval between left
and right domains on screen are dyanmically set to
amount zoomed in/out, instead of being defaulted
to 2 minutes. Made small edit to display if the chart
has been manipulated (panned or zoomed) or is updating
live.
2015-09-03 16:15:34 -07:00
4fa29d30f5 [Mobile] Gestures
Distance change to differentiate between
pan and pinch increased from 2 to 3.
2015-09-03 11:48:42 -07:00
c394151c46 [Mobile] Gestures
Redraw rate adjusted to redraw on
mobile every 15ms instead of 1000ms
(like on desktop). Also added agentservice
to PlotController and MCTChart (bundles and

file.
2015-09-03 11:47:33 -07:00
db1b76413c [Mobile] Clean Up
Removed test PlotController functions
which are unused.
2015-09-03 09:53:17 -07:00
c8b02d355f [Mobile] Comments
Clarifies what the ratio is for the
distance.
2015-09-03 09:51:12 -07:00
7c110ee8af [Mobile] Gestures
Removed plot.html mct-pinch reference
because it was not being used. Also
adjusted MCTPlot comment.
2015-09-03 09:21:10 -07:00
49213f550f [Mobile] Comments
Commented on the trackTouchPosition
addition.
2015-09-03 09:08:47 -07:00
447ae3f20b [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 13:44:17 -07:00
7288db1908 [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 13:37:17 -07:00
908fbdbf73 [Mobile] Clean Up
Changed one line space.
2015-09-02 12:59:44 -07:00
052a359738 [Mobile] Comments
Added comments to the MCTPinch file.
2015-09-02 12:58:56 -07:00
f9be00a70f [Mobile] Clean Up
Reorganizaed MCTPlot touch
functions to be in suitable order. Also
made code DRYer by removing unnecessary functions
and combining statements that are used once. Also
renamed variables to differentiate similar ones
from one another. Added marks to show where
comments are needed (will be edited in next
commit).
2015-09-02 12:45:52 -07:00
d1055f0839 [Mobile] Refactor
Refactored calculateViewport
to use ratio to cacluate the sign of
required zoom in or zoom out, and then
apply that to the ZOOM_AMT. Makes function
DRYer.
2015-09-02 11:23:33 -07:00
0b7ab75512 [Mobile] Comments
Added comments to destroy and remaining
MCTPinch functions.
2015-09-02 10:20:49 -07:00
9d1841db55 [Mobile] Adjust pan/pinch check
Now check done for pan/pinch using
variables set during start of gesture.
Also added functions to touch amount
checks to make MCTPinch DRYer. Comments
regarding touch functions and added
variables/functions.
2015-09-02 10:18:40 -07:00
50d10639e1 [Mobile] Clean Up
Changed variable placement
for amount of distance changed allowed
for a pinch drag.
2015-09-02 09:23:25 -07:00
5a9619ce26 [Mobile] Clean Up
Removed unneeded variables passed into
MCTPlot functions.
2015-09-02 09:16:01 -07:00
42b7427816 [Mobile] Clean up
Renamed the setDR to be set
Dimensions. Also removed unneeded
calculateDistance function.
2015-09-02 09:14:54 -07:00
a1b37b1269 [Mobile] Clean Up
Added comments and cleaned up a bit
of the MCTPinch file.
2015-09-02 09:13:28 -07:00
8a5c61e2e6 Merge remote-tracking branch 'upstream/master' into mobile 2015-09-01 14:50:45 -07:00
c8ca1deb9b [Mobile] Gestures
Fixed the range of values for
differentiating between pan and
pinch zoom to not assign the +2/-2
value to the variable.
2015-09-01 12:15:48 -07:00
ac2144d5c5 [Identity] Satisfy JSLint 2015-09-01 12:04:36 -07:00
5be6e90388 [Mobile] Clean Up
Commented out console calls from gesture
pinch/plot classes. Also allowed pan with
single finger.
2015-09-01 11:53:41 -07:00
01f2fab70f [Create] Filter out control-less properties
When properties have no control defined, don't show them
in the create dialog (but do show them in metadata, e.g.
info bubble.) For nasa/openmctweb#92
2015-09-01 11:48:15 -07:00
814b04858a [Mobile] Gestures
MCTPinch adjusted the touch check to help
differentiate between a two finger touch
vs a single singer pan.
2015-09-01 11:45:11 -07:00
7562c82369 [Identity] Add default identity provider
nasa/openmctweb#92
2015-09-01 11:43:07 -07:00
c3efb29dfc [Metadata] Fix whitespace 2015-09-01 11:31:42 -07:00
bb738f9a93 [Identity] Decorate domain objects with creator
nasa/openmctweb#92
2015-09-01 11:19:53 -07:00
97071fc72c [Identity] Remove unnecessary escapement
JSLint does not like unnecessary use of unicode escapement.
2015-09-01 11:01:08 -07:00
b39753d0a6 [Entanglement] Separate out location
Separate out location property from the CreationService,
instead handle in the entanglement bundle; this is
consistent with changes for identity management (attaching
a creator to newly-created domain object models).
for nasa/openmctweb#92
2015-09-01 10:57:56 -07:00
aedbd3bd9b [Mobile] Gestures
ZOOM_AMT set back to original
0.02, because .025 made zoom out
too fast.
2015-09-01 10:45:02 -07:00
e3eda5112c [Identity] Expose creation service as provider
Expose creation service as a provider of a composite service;
this allows it to be decorated by the identity bundle to
attach a creator, for nasa/openmct#92
2015-09-01 10:41:27 -07:00