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
13eef59e4f
[Windowing] Unit Test
...
Added mockContext to
UrlServiceSpec unit test
in order to reach the
domainObject's context
capability. WTD 16.
2015-06-24 12:31:40 -07:00
fdfa35d1da
[Frontend] New symbols font and CSS adjustments
...
WTD-980
WTD-396
Changed glyph for stacked plots;
Normalized button line-heights and size of required symbol;
Updated symbol art in symbols font;
Restored mistakenly removed "menu" gesture to grid-item;
2015-06-24 11:42:29 -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
db3e132799
[Frontend] New symbols font and CSS adjustments, in-progress
...
WTD-980
WTD-396
2015-06-23 16:07:29 -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
dc4436e890
[Windowing] Unit Test Adjustment
...
Added comments to the NewWindowActionSpec.js
file. WTD-16.
2015-06-22 15:15:46 -07:00
02265c82d6
[Windowing] Unit Test
...
Completes Unit Test. Added a new file:
NewWindowActionSpec.js, which performs the
Jasmine test for NewWindowAction.js. The
test specifies a mockWindow with a mockUrl
and then adds both to a NewWindowAction.
Also suite.json contains the NewWindowActon
path. In order for NewWindowAction.jsWTD-16.
to be reached. WTD-16.
2015-06-22 15:10:55 -07:00
fd1c847e2c
[Windowing] Remove Varibale
...
Removed the variable currentUrl because it
was not needed. WTD-16.
2015-06-22 15:06:12 -07:00
683a733ae1
[Windowing] SASS Edit
...
Adjusted the SASS file to
not hide the new window button. Also
removed the overwrite metadata function
that was used to temprarily allow us to
view the new window button. WTD-16.
2015-06-22 14:00:25 -07:00
140e3a1fb6
[Windowing] Comments
...
Added comments to the perform function
WTD-16.
2015-06-22 13:20:57 -07:00
6b2edc4469
[Windowing] Opens Url
...
Instead of displaying a dialog of
the url, the url is opened in a new
tab using the new window button.
WTD-16.
2015-06-22 13:18:00 -07:00
8d9d8d4900
[Windowing] Display URL
...
Alert box when pressing new tab button
displays the current url, that will be
opened in the new tab. WTD-16
2015-06-22 13:14:39 -07:00
2fbfcc1333
[Windowing] Added new window button
...
Currently overwrites metadata
similar to the FullScreenAction in order
to temporarily display the new window button
until the css is modified to do so. WTD-16
2015-06-22 13:12:13 -07:00
6b0a77d131
Merge pull request #8 from nasa/open1149
...
[Addressability] Use/populate URL
2015-06-19 16:05:10 -07:00
6a35476872
Merge branch 'open1149' of https://github.com/nasa/openmctweb into open1149
2015-06-19 13:55:23 -07:00
ee69eb3a01
[Addressability] Fix code style
...
Change code style to satisfy JSLint for changes from WTD-1149.
2015-06-16 16:10:31 -07:00
5849f8afe2
[Addressability] Add spec for BrowseObjectController
...
Add spec for BrowseObjectController, added to track current
view selection from/to query string params, WTD-1149.
2015-06-16 16:09:22 -07:00
c1c633db80
[Addressability] Add test cases
...
Add test cases to BrowseController which reflect changes for
addressability, WTD-1149.
2015-06-16 15:57:08 -07:00
699cd3bd90
[Addressability] Update spec for BrowseController
...
Update spec to reflect changes for BrowseController to support
addressability of domain objects, WTD-1149.
2015-06-16 15:35:40 -07:00
9942e24039
[Addressability] Work around reload again
...
Work around Angular's page refresh on URL change to avoid
unintended effects when chosen view changes (such as tree
collapse), WTD-1149.
2015-06-16 15:23:55 -07:00
d559dae1e2
[Addressability] Expose current view in query param
...
Expose the currently selected view as a query string parameter,
WTD-1149.
2015-06-16 15:09:42 -07:00
fec6f06849
[Addressability] Obey view query string param
...
Obey the query string parameter for a view, if present.
WTD-1149.
2015-06-16 14:58:03 -07:00
26fd56a003
[Addressability] Handle bad paths
...
Handle paths that cannot be completely followed, WTD-1149.
2015-06-16 14:35:15 -07:00
d7b79b6b69
[Addressability] Preserve nav. state on leaving Edit
...
Preserve navigation state when leaving Edit mode, in the context
of addressability changes. WTD-1149.
2015-06-16 14:29:22 -07:00
4887ba0e58
Merge in open-master, resolve conflicts
2015-06-16 13:53:00 -07:00
3738ea16d7
[Addressability] Update route without reinstantiating
...
Work around normal behavior of Angular when path changes;
instead of reinstantiating controller for Browse mode
when Browse-initiated path changes occur, act as if the
route hadn't changed (so that the URL updates but the
currently-displayed state, e.g. tree expansion, is
preserved.) WTD-1149.
2015-06-16 13:44:35 -07:00
084d6b6859
[Addressability] Update path on navigation
...
Update path in browse mode when navigation state changes.
WTD-1149.
2015-06-16 13:28:19 -07:00
9fae2db04a
[Addressability] Infer ROOT
...
Treat the path element for the root domain object as implicit, such
that it does not appear in the full URL. WTD-1149.
2015-06-16 13:16:55 -07:00
8f18d88705
[Addressability] Navigate down path from params
...
Traverse down the path from route parameters to initially navigate to a
domain object in Browse mode. WTD-1149.
2015-06-16 13:14:12 -07:00
f24db1561e
[Addressability] Get IDs from URL
...
Add a route parameter to Browse mode which includes domain
object identifiers. WTD-1149.
2015-06-16 13:00:03 -07:00
043a2ed581
Merging in open-master
2015-06-15 16:38:20 -07:00
39531a0a9f
[Fronted] Minor final sanding and polishing
...
WTD-839
.t-view-switcher > .view-switcher;
Added CSS transition to hide/show of view-switcher;
Moved .view-switcher hide/show to _frame.scss;
Tweaked .frame:hover to raise z-index to show complete border;
2015-06-12 14:17:19 -07:00
8f153d4e75
[Fronted] Significant refactoring of mixins for containers and buttons
...
WTD-839
Removal of 'icon-btn' class from *.html;
Cleanup of markup in switcher.html;
'name' span is now hidden when switcher is within frame;
Commented out unused css classes in _controls.scss,
Normalization of markup in object header when in main view and framed objects;
Icon sizing fixed in menus and switcher control;
Tightened up spacing in menus;
2015-06-12 11:44:09 -07:00
8811f2a53e
[Creation] createObject returns newObject
...
createObject returns a promise which is resolved when the object
has been persisted. The promise is resolved with an instance of the
new domainObject.
2015-06-11 13:09:01 -07:00
0b8d5ceb86
[Fronted] Significant refactoring of btn classes
...
WTD-839
Refactoring in advance of style mods to switcher when in frame;
Moved btn styles from _controls.scss to _buttons.scss;
Markup cleaned up with css classing simplified;
2015-06-10 17:23:08 -07:00
d7e43026cd
[Merge] Merge in open-master, resolve conflicts in _constants.scss
2015-06-10 14:04:48 -07:00
e6d830bfdc
Merge pull request #1 from nasa/open1221
...
[Platform] Tweak misc. items to support clocks/timers
2015-06-09 10:23:06 -07:00
689701b37f
[Licenses] Add License Header
2015-06-08 11:23:25 -07:00
eb1621dad9
Merge branch 'open1200' into open-1201
2015-06-08 11:11:50 -07:00
588c35de4e
Merge branch 'open-master' into open884
...
Merge latest from master branch into topic branch for WTD-884
2015-06-04 10:39:25 -07:00
2648f01966
[Composition] Disallow composition for leaf types
...
Disallow composition for domain object types which will
not have a composition property; WTD-1221.
2015-06-04 09:16:12 -07:00