Dave
b9371ea03d
[Mobile] Moved Button
...
Button moved to the Browse.html
and BrowseController handles the
tree slide.
2015-07-09 10:28:45 -07:00
Dave
07ef4dfe8a
[Mobile] Menu Slide
...
Menu slides, but not transition
css slides out on click. Currently
uses document, which needs to be
replaced with angular version using
and/or and/or
ng-class and/or ng-click.
2015-07-08 14:27:59 -07:00
Dave
3704d64560
[Mobile] Push to show current
2015-07-08 11:08:31 -07:00
Dave
24fae72492
[Mobile] Left tree
...
Attempt to resize left
tree menu when changing device.
Currently does not move the splitter
bar.
2015-07-07 16:46:32 -07:00
Sarah Hale
b2a23ee968
[Browse] Tests completed
...
Completed the menu arrow controller test. All
tests are now completed. #33 .
2015-07-07 09:28:01 -07:00
Shivam Dave
d8806f14aa
[Mobile] Set viewport
...
Viewport has been set in
index.html. Then what was
implemented prior to this
(rem-display and browser-manage)
was commented out.
2015-07-07 09:08:16 -07:00
Shivam Dave
0c6a9ca857
[Mobile] Styles
...
Added new style to set the width
of the tree.
2015-07-06 13:15:38 -07:00
Sarah Hale
2b67ae42bf
[Browse] Gesture and action tests
...
The menu gesture and the menu action tests
are completed. #33 .
2015-07-02 14:00:54 -07:00
Sarah Hale
db920a7b5c
[Browse] Starting tests
...
Created new test files for the additions. #33 .
2015-07-02 12:50:48 -07:00
Sarah Hale
2524c75505
[Browse] Menu arrow works
...
The menu arrow now displays a context menu
when clicked. #33 .
2015-07-02 12:36:35 -07:00
Sarah Hale
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
Sarah Hale
4e6301edb4
[Browse] Fixed multiple clicks
...
Fixed having multiple calls to ContextMenuGesture. #33 .
2015-07-02 10:58:19 -07:00
Sarah Hale
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
Sarah Hale
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
Sarah Hale
e9989ae00d
[Browse] Some progress
...
Still doesn't work.
2015-07-01 14:32:49 -07:00
Charles Hacskaylo
7e89c13839
[Frontend] Markup updates to label and grid-item
...
WTD-1423
Depends on CSS and font updates in 2a032bf
2015-07-01 09:50:53 -07:00
Charles Hacskaylo
e0727e8485
[Frontend] Markup and CSS for link icon indicators
...
WTD-1423
Added small icon to upper right;
IN PROGRESS;
2015-06-30 18:13:17 -07:00
Charles Hacskaylo
d5d7ac90ac
[Frontend] Markup and CSS for link icon indicators
...
WTD-1423
Grid item version with link at bottom right of main icon;
2015-06-30 17:58:56 -07:00
Sarah Hale
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
Sarah Hale
4840345524
[Browse] Stopped multiple broadcasts
...
Stopped the menu arrow from making multiple
broadcasts of contextmenu. #33 .
2015-06-30 15:22:10 -07:00
Sarah Hale
917d98bd3e
[Browse] Created Menu Arrow
...
Created a menu-arrow respresentation. #33 .
2015-06-30 13:33:40 -07:00
Charles Hacskaylo
9d25e3081f
[Frontend] Edit mode refactored to use new mct-split-pane
...
WTD-1404
WTD-1399
2015-06-30 13:23:56 -07:00
Charles Hacskaylo
c24a459f66
[Frontend] Plot legend minor cleanups
...
WTD-1404
WTD-1386
2015-06-30 10:38:10 -07:00
Charles Hacskaylo
abef44f37d
[Frontend] Moved browse mode splitter settings to CSS file
...
WTD-1404
WTD-1399
2015-06-30 10:37:19 -07:00
Victor Woeltjen
1c4cca3f91
Merge branch 'open1392b' into open-master
2015-06-29 16:30:48 -07:00
Victor Woeltjen
ef77ca91e7
Merge branch 'open1363' into open-master
2015-06-29 16:27:10 -07:00
Victor Woeltjen
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
Victor Woeltjen
a0d5a1a196
[Common UI] Get split pane width from elements
...
WTD-1363.
2015-06-27 10:46:42 -07:00
Victor Woeltjen
a1eb15db77
[Common UI] Change min/max width handling in splitter
...
In split pane, obey the min-width and max-width style properties
of first element within the pane. WTD-1363.
2015-06-27 10:35:49 -07:00
Victor Woeltjen
72c812cdaa
[Common UI] Enforce split pane min/max
...
WTD-1363.
2015-06-26 16:30:39 -07:00
Victor Woeltjen
39372ea9ca
[Common UI] Use mct-split-pane in Browse
...
WTD-1363.
2015-06-26 16:21:20 -07:00
Charles Hacskaylo
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
Shivam Dave
d42abfef98
[Addressability] Comments
...
Added comments to the slight change in Browse
Controller and BrowseObjectController. WTD 25.
2015-06-26 12:58:16 -07:00
Shivam Dave
2e716bdbe3
[Addressability} Unit Test
...
Completed unit tests to accomodate
for url path check prior to setting
the current . WTD 23.
2015-06-26 12:51:25 -07:00
Shivam Dave
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
Shivam Dave
2a347f1596
[Windowing] urlService
...
Removed the urlService from the edit
and browse bundles. Added the urlService
to the general bundle. WTD 23.
2015-06-25 14:53:52 -07:00
Shivam Dave
6d28add055
[Windowing] urlService
...
urlService added to the edit action
bundle.json in addition to being
implemented, however 2nd time edit
bug still occurring. Also fixed urlService
test suite. WTD 23.
2015-06-25 13:16:15 -07:00
Shivam Dave
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
Shivam Dave
93ba4ce715
[Windowing] Unit Test
...
Added Unit test adjustments for
the change in urlService (addition
of a separate function for getting
the url for a location, used by browse
controller. WTD 23.
2015-06-25 10:10:13 -07:00
Shivam Dave
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
Victor Woeltjen
9ac6abe78f
Merge remote-tracking branch 'nasa/open980' into open1342
2015-06-25 09:07:27 -07:00
Shivam Dave
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
Shivam Dave
c827c40c03
[Windowing] used
...
Used instead of window in the
NewTabAction. WTD 16.
2015-06-24 12:58:48 -07:00
Shivam Dave
c606055a3b
[Windowing] Format
...
Slight formatting change.
WTD 16.
2015-06-24 12:54:49 -07:00
Shivam Dave
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
Shivam Dave
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
Charles Hacskaylo
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
Shivam Dave
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
Shivam Dave
83cc0b65d5
[Windowing] Comments
...
Added comments to files. WTD-16.
2015-06-23 16:35:34 -07:00
Shivam Dave
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
Charles Hacskaylo
db3e132799
[Frontend] New symbols font and CSS adjustments, in-progress
...
WTD-980
WTD-396
2015-06-23 16:07:29 -07:00
Shivam Dave
21462bf60d
[Windowing] View Set
...
Sets the view to bethe current
page's view mode. WTD-16.
2015-06-23 15:39:48 -07:00
Shivam Dave
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
Shivam Dave
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
Shivam Dave
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
Shivam Dave
d5a9019493
[Windowing] Comment Adjusted
...
Changed window to tab in comments in
file. WTF-16.
2015-06-22 15:54:32 -07:00
Shivam Dave
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
Shivam Dave
c7154447e2
[Windowing] Tabbing Rename
...
Renamed all instances of NewWindow to be
NewTab instead. WTD-16.
2015-06-22 15:35:08 -07:00
Shivam Dave
dc4436e890
[Windowing] Unit Test Adjustment
...
Added comments to the NewWindowActionSpec.js
file. WTD-16.
2015-06-22 15:15:46 -07:00
Shivam Dave
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
Shivam Dave
fd1c847e2c
[Windowing] Remove Varibale
...
Removed the variable currentUrl because it
was not needed. WTD-16.
2015-06-22 15:06:12 -07:00
Shivam Dave
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
Shivam Dave
140e3a1fb6
[Windowing] Comments
...
Added comments to the perform function
WTD-16.
2015-06-22 13:20:57 -07:00
Shivam Dave
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
Shivam Dave
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
Shivam Dave
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
Victor Woeltjen
6b0a77d131
Merge pull request #8 from nasa/open1149
...
[Addressability] Use/populate URL
2015-06-19 16:05:10 -07:00
Shivam Dave
6a35476872
Merge branch 'open1149' of https://github.com/nasa/openmctweb into open1149
2015-06-19 13:55:23 -07:00
Victor Woeltjen
ee69eb3a01
[Addressability] Fix code style
...
Change code style to satisfy JSLint for changes from WTD-1149.
2015-06-16 16:10:31 -07:00
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
26fd56a003
[Addressability] Handle bad paths
...
Handle paths that cannot be completely followed, WTD-1149.
2015-06-16 14:35:15 -07:00
Victor Woeltjen
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
Charles Hacskaylo
4887ba0e58
Merge in open-master, resolve conflicts
2015-06-16 13:53:00 -07:00
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Charles Hacskaylo
043a2ed581
Merging in open-master
2015-06-15 16:38:20 -07:00
Charles Hacskaylo
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
Charles Hacskaylo
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
larkin
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
Charles Hacskaylo
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
Charles Hacskaylo
d7e43026cd
[Merge] Merge in open-master, resolve conflicts in _constants.scss
2015-06-10 14:04:48 -07:00
Pete Richards
e6d830bfdc
Merge pull request #1 from nasa/open1221
...
[Platform] Tweak misc. items to support clocks/timers
2015-06-09 10:23:06 -07:00
larkin
689701b37f
[Licenses] Add License Header
2015-06-08 11:23:25 -07:00
larkin
eb1621dad9
Merge branch 'open1200' into open-1201
2015-06-08 11:11:50 -07:00
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
61bc662efb
[Licenses] Add missing copyright years
...
WTD-1051.
2015-05-22 14:48:53 -07:00
Victor Woeltjen
eafaa04c06
[Info Bubble] Add info gestures
...
Add info gestures to labels and grid items, WTD-884.
2015-05-22 12:51:42 -07:00
Victor Woeltjen
ce2b48981a
[Windowing] Add in-line documentation
...
WTD-1200.
2015-05-20 10:06:59 -07:00
Victor Woeltjen
a937a3193b
[Windowing] Show title of navigated object
...
Show title of navigated object in window, WTD-1200.
2015-05-20 09:57:04 -07:00
Victor Woeltjen
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -07:00
Charles Hacskaylo
aec1176dc4
[Frontend] Hiding non-functional items; padding adjustments
...
WTD-1163
WTD-1146
New CSS to hide non-functional elements, including browse.top-bar with search elements;
Adjusted spacing, mainly in .contents CSS class;
2015-05-01 10:10:35 -07:00
Victor Woeltjen
0242961e5a
Merge remote-tracking branch 'nasa/open1036' into open1123
2015-04-17 17:02:20 -07:00
Charles Hacskaylo
b6503489b9
[Frontend] Major reformatting of /licenses page
...
WTD-1036
Major additions to /licenses page
Apache license added;
Full licenses for each software component added;
Formatting and styles;
2015-04-15 17:40:12 -07:00
Victor Woeltjen
db57444738
[Containment] Update specs for coverage
...
Update existing specs for code coverage after changes for
WTD-962, composition policy.
2015-04-10 18:00:13 -07:00
Victor Woeltjen
f6df73c11b
Merge branch 'open-master' into open962
...
Merge in latest from open-master into topic branch
for WTD-962
2015-04-10 17:30:03 -07:00
Victor Woeltjen
cc0a46d5cc
[Containment] Set validity in locator
...
Set validity of selected location from locator control, to
disallow creation when no valid location is selected (which
is possible due to containment rules.) WTD-962.
2015-04-07 22:30:21 -07:00
Victor Woeltjen
0550e09344
[Containment] Enforce containment rules in locator
...
Enforce containment rules in locator; WTD-962.
2015-04-07 22:21:37 -07:00
Victor Woeltjen
ccf2ccc4c6
[Edit] Add policy for the Edit action
...
Allow Edit mode only when editable views exist, WTD-1062.
2015-04-01 15:45:43 -07:00
Victor Woeltjen
6c83b3774d
[Create] Expose type information
...
Expose type information in the metadata for Create
actions, to allow identification of appropriate Create
actions for WTD-922.
2015-03-17 18:00:25 -07:00
Charles Hacskaylo
cc181dbdc9
[Frontend] Form and form control enhancements
...
WTD-1002
Added Angular hooks to allow form elements to have JSON defined CSS classes
Form element cleanups
2015-03-10 22:36:35 -07:00
Charles Hacskaylo
433cdf8b1c
In-progress checkin - NOT WORKING RIGHT YET!
2015-03-05 16:02:33 -08:00
Charles Hacskaylo
068518b535
[Frontend] Minor sanding
...
WTD-894
Fix to correct spacing problem in object-header
2015-02-25 18:59:36 -08:00
bwyu
19bcfef123
Merge remote-tracking branch 'origin/open747' into open-master
2015-02-06 16:45:49 -08:00
bwyu
4f17071c85
Merge remote-tracking branch 'origin/open669' into open-master
2015-02-04 13:05:30 -08:00
bwyu
def47addb3
Merge remote-tracking branch 'origin/open734' into open-master
2015-02-04 12:24:23 -08:00
Victor Woeltjen
8fecaaf4f8
[Browse] Utilize splite pane directly
...
Utilize split pane controller directly from browse
template; quick fix for need to see more information
about packet/point names, WTD-747.
2015-01-28 16:34:03 -08:00
Victor Woeltjen
06b599ee37
[Browse] Begin implementing splitter movement
...
Begin implementing moveable splitter, WTD-747.
2015-01-28 16:25:16 -08:00
Victor Woeltjen
cab1f72579
[Licenses] Add license information
...
Add license information for included software components,
to populate the Licenses page. WTD-669.
2015-01-27 15:37:47 -08:00
Victor Woeltjen
b915a90305
[Views] Fix glyphs
...
Use correct glyphs for Plot, Scrolling, and Items views.
WTD-734.
2015-01-27 14:50:45 -08:00
Victor Woeltjen
f12d0ab313
[Create] Test creation filtering
...
Test that only types which indicate they should be createable
appear in the Create menu. WTD-705.
2015-01-21 16:24:13 -08:00
Victor Woeltjen
b073e3d553
[Create] Restrict Create to certain types
...
Restrict the Create action to types with a 'creation' feature;
WTD-705.
2015-01-21 16:16:59 -08:00
Victor Woeltjen
7ed62babe3
[Browse] Simplify view switcher event ordering
...
Don't pass a domainObject instance into mct-representation
until a view for that specific domainObject is available;
this avoids ordering issues where a new domainObject is
passed briefly to controllers in represented views before
a event is issued, which can result in undesired
behavior for views that need to manage resources (such as
the subscriptions used to support telemetry retrieved
from the WARP Server, WTD-644.
2015-01-12 08:30:21 -08:00
Victor Woeltjen
f61eb143e7
[Layout] Restrict Items view to folders
...
Restrict the Items view to folders, such that it does not
show for Layouts (and, more broadly, for any non-folders.)
WTD-535.
2014-12-05 09:12:35 -08:00
Victor Woeltjen
1b9f9a8db7
[Layout] Move spec for view switcher
...
Move spec for view switcher from bundle
platform/commonUI/browse to bundle
platform/commonUI/general to reflect refactoring
to simplify usage in other places (including in
Layouts, which are being transitioned for
WTD-535.)
2014-12-04 12:15:22 -08:00
Victor Woeltjen
6cd0cd8e3c
[Layout] Refactor view switcher
...
Refactor view switcher to simplify it; treat it
as a representation of a domain object that modifies
an ng-model. This simplifies reuse, e.g. in frames
within a layout. WTD-535.
2014-12-04 12:12:41 -08:00
Victor Woeltjen
ba14aeabc6
[Forms] Complete specs
...
Fill in new specs and amend existing specs to ensure
full coverage after integration of forms component,
and associated changes. WTD-593.
2014-12-03 17:59:37 -08:00
Victor Woeltjen
6fb5da1b35
[Forms] Prune obsolete specs
...
Prune obsolete specs after changes made to support
integration of forms component, WTD-593.
2014-12-03 17:26:02 -08:00
Victor Woeltjen
a8f2de6f5e
[Forms] Remove obsolete declaration
...
Remove obsolete controller declaration (this was triggering
warnings in the console.) WTD-593.
2014-12-03 17:03:06 -08:00
Victor Woeltjen
61cee6d8f8
[Forms] Change CreateWizard method name
...
Change CreateWizard method name to be consistent
with terms used for form structure elsewhere.
WTD-593.
2014-12-03 17:00:22 -08:00
Victor Woeltjen
1753aa6784
[Forms] Add placeholder spec for Locator
...
Add placeholder spec for the LocatorController, introduced
to support forms used from the Create menu. Part of ongoing
integration of forms bundle, WTD-593.
2014-12-03 14:04:44 -08:00
Victor Woeltjen
2476941eb2
[Forms] Add Locator control
...
Add Locator form control, to allow selection of a
destination for newly-created domain objects in a
tree. WTD-593.
2014-12-03 13:51:07 -08:00
Victor Woeltjen
9dd0a54568
[Forms] Initialize model from form value
...
Correctly initialize domain object model from form
value upon domain object creation. Integration of
forms component, WTD-593.
2014-12-03 13:44:27 -08:00
Victor Woeltjen
e04b9828ea
[Forms] Use ng-model for tree state
...
Use ng-model when communicating state to/from the
tree in browse mode. This will simplify implementation
of the Locator control, which also uses a tree, but
which should not set navigation state. WTD-593.
2014-12-03 13:18:51 -08:00
Victor Woeltjen
80ba6f4da3
[Forms] Reorganize Create templates
...
Reorganize templates associated with the Create menu in
preparation for adding the Locator control, used to
specify the destination folder for object creation.
WTD-593.
2014-12-03 12:56:53 -08:00
Victor Woeltjen
ccdd1bcd57
[Forms] Adjust Create form formats
...
Adjust formats used in Create forms to match those used
by the mct-form directive. Integration of forms bundle,
WTD-593.
2014-12-03 12:52:51 -08:00
Victor Woeltjen
0bacc03e58
[Common UI] Fix FullscreenActionSpec
...
Fix FullscreenActionSpec such that it will execute on
command line; the global screenfull dependency behaves
differently during attempts to spy on methods from
the command line build, so replace it entirely.
Concludes work on WTD-574 in preparation to submit for
review.
2014-11-25 23:08:47 -08:00
Victor Woeltjen
52ec1aeb89
[Common UI] Complete remaining specs
...
Complete remaining specs to achieve full test coverage
for common user interface bundles being transitioned
as part of WTD-574.
2014-11-25 22:48:12 -08:00
Victor Woeltjen
3aa551c4ea
[Common UI] Fill in CreationService spec
...
Fill in specs for CreationService, which supports the
Create action, which, in turn, is included to support
the Create button in Browse mode. Part of the transition
of common user interface elements for WTD-574.
2014-11-25 22:35:30 -08:00
Victor Woeltjen
48ff8c4c03
[Common UI] Continue filling in Browse specs
...
Continue filling in specs for scripts introduced as part
of bundle platform/commonUI/browse, which is responsible
for browse mode. WTD-574.
2014-11-25 20:26:37 -08:00
Victor Woeltjen
528f6bdf56
[Common UI] Spec for ViewSwitcherController
...
Fill in spec for the controller which maintains a set of
applicable and selected view options to populate the
view switcher. Part of Browse mode and, in turn, part
of the common user interface elements that are being
transitioned for WTD-574.
2014-11-25 19:46:56 -08:00
Victor Woeltjen
9bc05f27a5
[Common UI] Skeleton specs for Browse
...
Add skeleton specs for browse mode. WTD-574.
2014-11-25 18:30:30 -08:00
Victor Woeltjen
36fab50825
[Common UI] Add in-line docs for Browse
...
Add in-line docs for bundle platform/commonUI/browse,
which implements Browse mode, one of the common user
interface bundles being transitioned in WTD-574.
2014-11-25 16:53:22 -08:00
Victor Woeltjen
b97e2d0324
[Common UI] Add JSDoc, remove UUIDService
...
Add JSDoc to Create-related classes and remove the
UUIDService (replaced by third-party lib) to reduce
amount of code to cover and prepare for code review,
as part of ongoing transition of common user interface
elements, WTD-574.
2014-11-25 16:14:09 -08:00
Victor Woeltjen
845c1ad7d7
[Common UI] Add JSDoc for CreateMenuController
...
Add JSDoc and clarifying comments to the CreateMenuController,
which is responsible for maintaining an up-to-date set of
Create actions for a given domain object. WTD-574.
2014-11-24 07:20:49 -08:00
Victor Woeltjen
6e9d6e2199
[Common UI] Remove CreateButtonController
...
Remove CreateButtonController; this has been generalized to
ClickAwayController in the platform/commonUI/general bundle.
WTD-574.
2014-11-24 07:19:40 -08:00
Victor Woeltjen
3a5a015097
[Common UI] Generalize click-away behavior
...
Add a general-purpose controller for UI elements which
have 'click-away' behavior; that is, they should be
deactivated on document clicks.
This generalizes existing behavior added for the Create
menu, such that it may be used on other, similar menus
and UI elements.
Part of ongoing transition of common user interface
components, WTD-574.
2014-11-24 07:12:45 -08:00
Victor Woeltjen
078d63de36
[Common UI] Add JSDoc
...
Add JSDoc to classes from commonUI bundles. WTD-574.
2014-11-23 18:03:48 -08:00
Victor Woeltjen
1b0303e517
[Common UI] Initial commonUI bundles
...
Bring in work on general-purpose and over-arching
user interface bundles from the sandbox transition
branch. WTD-574.
2014-11-23 15:41:20 -08:00