f8a0ddb484
[Code Style] Avoid retaining reference to window
...
Avoid https://docs.angularjs.org/error/ng/cpws
by changing way reference to is retained.
WTD-1482.
2015-08-10 12:39:56 -07:00
a77920bd18
[Code Style] Use prototypes in Browse bundle
...
WTD-1482.
2015-08-10 11:52:23 -07:00
31eb366e7f
[JSDoc] Add namespace docs
...
WTD-1482.
2015-08-07 12:13:15 -07:00
eaaa1a19ca
[JSDoc] Remove obsolete module references
...
WTD-1482
2015-08-07 11:55:38 -07:00
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
c80e9bfa26
[Style] JSLint Compliance
2015-08-06 15:21:28 -07:00
f72f88adfa
[Location] Use parent id as location
...
Use the parent id as the location for a model.
This greatly reduces the recursive work that must be done
during move operations to keep the location accurate.
Additionally, the locationService now implements a method
`persistLocation` which can be used to persist the current object
location as it's original location.
2015-08-06 15:05:47 -07:00
40e85b718d
[Creation] Store location of new objects
...
The creation service stores the location (the full path) to
the domain object as "model.location"
2015-08-04 11:24:50 -07:00
97bf530b1d
[Mobile] BackArrow
...
Removed the BackArrow console log
that was getting called in the
BrowseController.
2015-07-29 11:41:10 -07:00
7e35e55f0b
[Mobile] Hide Back Button
...
When you are at the highest level the
back button fades out and is unclickable.
When you are able to go up a level the
back button appears/fades in and is
pressable. Also removed the object type
name from the header.
2015-07-29 11:13:09 -07:00
3c6c420023
[Mobile] Back Arrow
...
Back Arrow implemented
by getting parent and then
navigating to it.
2015-07-28 15:08:14 -07:00
2a4943f584
[Mobile] Console
...
Removed call to console so
mvn clean install would compile.
2015-07-28 10:58:22 -07:00
e32403a75f
[Mobile] Clean-Up
...
Cleaned the unused code for the
backArrow and long touch gestures.
Commented out functions for later use
Currently shows the back arrow, however,
only will print to console on press.
Edited tests where mobile checks were breaking
and fixed.
2015-07-28 10:56:29 -07:00
b0c42c12b7
[Mobile] Back Arrow
...
Changes URL correctly that
is printed to the console. Is the
url to up one level of objects.
However not navigating to that
object.
2015-07-27 17:01:30 -07:00
6e43a92191
[Mobile] Merge
...
Fix Conflicts.
2015-07-27 15:21:59 -07:00
56e51ea32a
[Mobile] Reformat of menu
...
Reformats menu to move the
arrow to the right and now
that is what selects an object.
Pressing the actual menu item will
enact the dropdown menu. This
only happens on mobile platforms.
2015-07-21 13:29:45 -07:00
54b6cd1100
[Mobile] Debug
...
Added debug statement to print
to console.
2015-07-15 13:28:42 -07:00
1455e5d8b5
[Browse] Removed destroy functions
...
Removed destroy functions from menu arrow
controller and contetxt menu action as
suggested. #33 , #47 .
2015-07-14 13:25:25 -07:00
635e1eda69
[Mobile] Clean-Up
...
Removed unused menu button and
cleaned up treeCl to be treeClass.
2015-07-09 15:14:36 -07:00
e47a36e799
[Mobile] Simplified
...
treeSlide now uses one line that
sets it to true or false simply
like a switch. So not matter what
it will either slide or not.
2015-07-09 10:55:52 -07:00
30efec0090
[Mobile] Angular
...
Replaced document usage with
angular calls that change the ternary
op to flip the slide.
2015-07-09 10:53:03 -07:00
b9371ea03d
[Mobile] Moved Button
...
Button moved to the Browse.html
and BrowseController handles the
tree slide.
2015-07-09 10:28:45 -07:00
2524c75505
[Browse] Menu arrow works
...
The menu arrow now displays a context menu
when clicked. #33 .
2015-07-02 12:36:35 -07:00
c08f972ab4
[Browse] Menu action called correctly
...
Both the menu gesture and the menu arrow now
correctly call the menu action. #33 .
2015-07-02 11:57:03 -07:00
4e6301edb4
[Browse] Fixed multiple clicks
...
Fixed having multiple calls to ContextMenuGesture. #33 .
2015-07-02 10:58:19 -07:00
3edd967e27
[Browse] Changed action key
...
Changed the key for the context menu action from
'contextMenu' to 'menu'. #33 .
2015-07-02 10:30:45 -07:00
bb80b2175c
[Browse] Gesture calling action
...
The context menu gesture (attempts) to call the
context menu action. The menu arrow still fails
to call. #33 .
2015-07-02 09:36:19 -07:00
e9989ae00d
[Browse] Some progress
...
Still doesn't work.
2015-07-01 14:32:49 -07:00
9ad1c25d53
[Browse] Splitting up Menu Gesture
...
Splitting up the context menu gesture's functionality into
separate context menu gesture and context menu actions.
The gesture watches for right-clicks, while the action
displays the menu. #33 .
2015-06-30 16:17:00 -07:00
4840345524
[Browse] Stopped multiple broadcasts
...
Stopped the menu arrow from making multiple
broadcasts of contextmenu. #33 .
2015-06-30 15:22:10 -07:00
917d98bd3e
[Browse] Created Menu Arrow
...
Created a menu-arrow respresentation. #33 .
2015-06-30 13:33:40 -07:00
970698c77b
Merge remote-tracking branch 'nasa/open1392' into open1392b
...
Conflicts:
platform/commonUI/general/res/fonts/symbols/wtdsymbols.eot
platform/commonUI/general/res/fonts/symbols/wtdsymbols.svg
platform/commonUI/general/res/fonts/symbols/wtdsymbols.ttf
platform/commonUI/general/res/fonts/symbols/wtdsymbols.woff
2015-06-29 16:09:01 -07:00
0fd1fb709b
[Config] Fix for priority of New Tab button
...
WTD-1392
WTD-1359
Set "Open in new tab" button to have priority "preferred";
Set fullscreen mode button to priority "default";
Tweaked full screen button tooltip text;
2015-06-26 15:36:55 -07:00
d42abfef98
[Addressability] Comments
...
Added comments to the slight change in Browse
Controller and BrowseObjectController. WTD 25.
2015-06-26 12:58:16 -07:00
3de4473159
[Addressability] Re-Edit Bug
...
Fixed re-edit but by implementing
what Victor said in issue #25 . Adding
check on /browse/ part of url and then
changing route works WTD 23.
2015-06-26 11:52:03 -07:00
fd6459394a
[Windowing] urlService
...
Changed folder location of
services and therefore urlService
to general/src/ instead of being in
browse/src/. WTD 23.
2015-06-25 10:38:39 -07:00
ca6f44f7b6
[Windowing] URL Fix
...
The URL malformation was caused by the same
function returning the view and index path for
both the newtab window and the browse controller
window. As a result, the BrowseController now only
uses a path that excludes the view and index paths,
like before the UrlService was added. Another,
separate function uses this url for the location
and includes the view and index paths for new
tabs, in order to maintain the current view. WTD 23.
2015-06-25 09:47:58 -07:00
bd9010e2bc
[urlService] CleanUp/Refactor
...
Adjusted BrowseController's useRoute
to use the urlService instead. Also
adds urlService as a depency through
bundle. Unit test also adjusted to
account for a mockUrlService and
a different value being passed into
mockLocation.path(). WTD 16.
2015-06-24 14:06:09 -07:00
c827c40c03
[Windowing] used
...
Used instead of window in the
NewTabAction. WTD 16.
2015-06-24 12:58:48 -07:00
6863af9cd9
[Windowing] Comment/Formatting
...
Reformatted code and added comments
to the unit test. Also refined the
NewTabActionSpec unit test to be
clearer. WTD 16.
2015-06-24 12:50:21 -07:00
43cfab1031
[Windowing] Unit Test
...
Unit Tests for UrlService and NewTabAction
created and partially written. UrlService
returns 100% and NewTabAction returns 88%.
WTD 16.
2015-06-24 11:32:59 -07:00
83cc0b65d5
[Windowing] Comments
...
Added comments to files. WTD-16.
2015-06-23 16:35:34 -07:00
61d9545414
[Windowing] UrlService
...
UrlService added which takes in a
mode (browse or edit), and also a
domainObject. Returns the url
path to that domainObject. WTD-16.
2015-06-23 16:11:06 -07:00
21462bf60d
[Windowing] View Set
...
Sets the view to bethe current
page's view mode. WTD-16.
2015-06-23 15:39:48 -07:00
29efb5cf3b
[Windowing] Selected Object
...
Uses the context to get the selected object
or the navigated object. This allows contextual
menu new tab access from the tree. WTD-16.
2015-06-23 13:32:09 -07:00
e55cd88d38
[Windowing] View
...
Includes the view using the
.search().view to find
the view key and append that to the
end of the url. Prints this out using
the alert window. WTD-16.
2015-06-23 11:38:01 -07:00
e38ad7b082
[Windowing] Path Alert
...
Alerts user of the current path
using an alert window, however
the path is partially shown.
It is the part of the current
path after index.html#. WTD-16.
2015-06-23 11:05:00 -07:00
d5a9019493
[Windowing] Comment Adjusted
...
Changed window to tab in comments in
file. WTF-16.
2015-06-22 15:54:32 -07:00
1c445e1ce3
[Windowing] New Tab Adjustment
...
Added NewTabAction to spec file and adjusted
it to new name. Also changed comment in
NewTabAction along with a code fix.
WTD-16.
2015-06-22 15:44:09 -07:00
c7154447e2
[Windowing] Tabbing Rename
...
Renamed all instances of NewWindow to be
NewTab instead. WTD-16.
2015-06-22 15:35:08 -07:00