Commit Graph

958 Commits

Author SHA1 Message Date
Victor Woeltjen
cae8372d34 [Info Bubble] Include type in common metadata
Include type in common domain object metadata to display
in an info bubble, WTD-884.
2015-06-04 12:34:56 -07:00
Victor Woeltjen
c9e33b1d31 [Info Bubble] Change moment import
Change the path used to import moment for the telemetryFormatter.
Previously, a relative path was used; since telemetryFormatter was
initially implemented, however, moment has been made available as
simply moment by require configuration changes elsewhere. Inconsistent
usage of moment here can result in load timeouts under certain
script load orderings. Changed in the context of WTD-884 (which does
use moment elsewhere.)
2015-06-04 12:32:37 -07:00
Victor Woeltjen
11dc5f380c [Info Bubble] Use domain object metadata
Use domain object metadata to populate the info bubble from
the info gesture, WTD-884.
2015-06-04 12:30:18 -07:00
Victor Woeltjen
6622ca7031 [Info Bubble] Add common properties to metadata
Expose common properties (like time updated) from the metadata
capability, to appear in the Info bubble. WTD-884.
2015-06-04 12:26:57 -07:00
Victor Woeltjen
cd26d1284e [Info Bubble] Add metadata capability
Add metadata capability, which will be used to populate
contents of an info bubble. WTD-884.
2015-06-04 12:09:50 -07:00
Victor Woeltjen
450bc059e4 Merge branch 'open-master' into open1199 2015-06-04 10:40:34 -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
fcd214ed60 [Forms] Show initial value in datetime control
Initialize value for datetime control based on available
data, and keep up-to-date with changes from UI. Supports
clocks/timers, which use datetime as an entry field,
WTD-1221.
2015-06-04 09:16: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
e452921729 [Core] Revise explicit setting of modified timestamp
Allow undefined as an explicit value for a domain
object's modification timestamp (as set via the
mutation capability.) Avoids a bug in minimal auto-refresh,
being added for WTD-1221.
2015-06-04 09:16:08 -07:00
Victor Woeltjen
28805cd55c [Forms] Add test cases to DateTimeController
Add test cases for behavioral changes to DateTimeController,
added for WTD-1221.
2015-06-04 09:15:39 -07:00
Victor Woeltjen
45568ecb21 [Forms] Allow date-time controls to be optional
Don't force date-time inputs to act as if they are
required; allow them to be treated as optional, but
enforce that this only occurs when left completely
empty (as opposed to partially complete.)

Supports WTD-1221.
2015-06-04 09:15:04 -07:00
Charles Hacskaylo
6fe6aacc38 Added open source comment 2015-06-03 10:25:37 -07:00
Charles Hacskaylo
b022babedb Adding static-markup bundle. 2015-06-03 10:23:49 -07:00
Charles Hacskaylo
f23f127207 [Frontend] Markup and CSS for Time Controller
WTD-1219
Markup, CSS, etc. for time controller;
New template .html file;
Rebuilt from open-master and ue-frontend branches;
2015-06-02 19:29:57 -07:00
Charles Hacskaylo
c20ad3764d Merge branch 'open-master' into ue-frontend
Conflicts:
	platform/commonUI/general/res/css/theme-espresso.css
	platform/commonUI/general/res/sass/lists/_tabular.scss
2015-06-02 18:26:49 -07:00
Charles Hacskaylo
48c4282416 Merge branch 'open-master' into ue-frontend
Conflicts:
	platform/commonUI/general/res/css/theme-espresso.css
	platform/commonUI/general/res/sass/lists/_tabular.scss
2015-06-02 18:25:26 -07:00
Charles Hacskaylo
6104201d89 [Frontend] Markup and CSS for revised scrolling tabular view
WTD-1217
2015-06-02 17:45:39 -07:00
Charles Hacskaylo
0fbb54add3 Merging ue-frontend 2015-06-02 17:44:59 -07:00
Charles Hacskaylo
b09ec23617 [Frontend] Renew of ue-frontend
Picks up markup and CSS changes from
open1174 (breadcrumbs)
2015-06-02 16:12:19 -07:00
Victor Woeltjen
ff1d4854a8 Revert "[Licenses] Remove license ref from dialog"
This reverts commit 2ca789e36a.
Change was made to misunderstanding of instructions; WTD-1051.
2015-05-29 10:08:43 -07:00
Victor Woeltjen
1415e9e72f [Licenses] Add missing copyright/license info
WTD-1051.
2015-05-29 10:05:59 -07:00
Victor Woeltjen
61bc662efb [Licenses] Add missing copyright years
WTD-1051.
2015-05-22 14:48:53 -07:00
Victor Woeltjen
219a6086d8 [Info Bubble] Remove placeholder type/view
Remove Info Bubble as a type and view, which had been present
for purposes of example during development. WTD-884.
2015-05-22 13:27:04 -07:00
Victor Woeltjen
69dce9f88d [Info Bubble] Add clarifying comments
Add clarifying comments for the info gesture, WTD-884.
2015-05-22 13:25:39 -07:00
Victor Woeltjen
d9a2a7f4c3 [Info Bubble] Refine positioning, add comments
Refine positioning to behave correctly when mouse is on
right and/or lower part of screen; listen for scope
destruction to avoid cases where an element is removed
before mouseleave is ever called. WTD-884.
2015-05-22 13:22:26 -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
ab6a5afe93 [Info Bubble] Tweak positioning
Tweak positioning of info bubbles, WTD-884.
2015-05-22 12:50:09 -07:00
Victor Woeltjen
35f4032ae8 [Info Bubble] Fix display issues
Intermediary commit; fix some display issues with info bubbles,
add some delay. WTD-884.
2015-05-22 12:28:58 -07:00
Victor Woeltjen
05a78f70e3 [Info Bubble] Begin adding info gesture
Begin adding info gesture, which will attach info bubbles
to representations of domain objects. WTD-884.
2015-05-22 12:03:58 -07:00
Victor Woeltjen
179b0b46e5 [Info Bubble] Add info service
Add service for showing informational bubbles, WTD-884.
2015-05-22 11:49:02 -07:00
Victor Woeltjen
ac8fbb289e [Info Bubble] Continue breaking down templates
WTD-884.
2015-05-21 21:25:50 -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
6ed14ed3a9 [Configuration] Deprioritize default constants
Mark ElasticSearch configuration constants as priority=fallback;
these are intended to be specified/overridden on a per-deployment
basis. WTD-1199.
2015-05-20 09:04:48 -07:00
Victor Woeltjen
4c720d97b7 [Licenses] Add server-side licenses
WTD-1051.
2015-05-13 16:47:13 -07:00
Victor Woeltjen
2ca789e36a [Licenses] Remove license ref from dialog
WTD-1051.
2015-05-13 16:44:57 -07:00
Victor Woeltjen
10863514cb [Licenses] Add license headers
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
118d8481fb [Licenses] Update copyright years
WTD-1051.
2015-05-13 15:58:22 -07:00
Victor Woeltjen
c7b13b70d1 [Inspection] Begin decomposing bubble template
WTD-884.
2015-05-11 10:02:37 -07:00
Victor Woeltjen
4c6cad3e77 Merge remote-tracking branch 'nasa/open1163' into open1176
WTD-1176
2015-05-06 10:11:01 -07:00
Charles Hacskaylo
ac81968f93 [Frontend] CSS in Fixed Position view Edit mode
WTD-1163
WTD-1114
Added CSS to give a border to all elements in Fixed Position view when in Edit mode.
Only applied to outer element, does not affect object border styling;
2015-05-01 10:43:15 -07:00
Victor Woeltjen
ab60b92b9e Merge remote-tracking branch 'nasa/open1054' into open1162
Merge markup/styling for info bubble, WTD-1162
2015-05-01 10:33:16 -07:00
Charles Hacskaylo
6aadf921e1 [Frontend] Tweaks to spacing
WTD-1163
WTD-1146
2015-05-01 10:18:33 -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
Charles Hacskaylo
0bbe3ec99a [Frontend] CSS enhancements
WTD-1054
Better handling of different content cases;
2015-04-29 18:13:35 -07:00
Charles Hacskaylo
eafc603e03 [Frontend] Infobubble markup and CSS
WTD-1054
Markup and styling for infobubble;
Includes fake data in infobubble.html
2015-04-29 17:52:06 -07:00
Victor Woeltjen
2cba0234c5 [Pages] Add comments
Add comments to controller for Page objects in preparation
for integration, WTD-1158.
2015-04-29 15:05:46 -07:00
Victor Woeltjen
b2cd74e629 Merge branch 'open-master' into open1158 2015-04-29 15:02:57 -07:00
Charles Hacskaylo
ec2d5892a5 [Frontend] Markup for info bubble
WTD-1054
Temp object to allow work on markup for info bubble
2015-04-28 16:08:33 -07:00
Charles Hacskaylo
babe420f26 [Frontend] CSS and markup for iframe
WTD-1150
WTD-1145
CSS and markup to cause iframes to layout properly without double scroll bars
2015-04-28 14:49:08 -07:00
Charles Hacskaylo
582a236d8a [Frontend] Fixes, glyph and description updates
WTD-1150
WTD-1145
Fixed incorrect references to iFrameController to EmbeddedPageController;
Added new glyph for Page;
Renamed Page to Web Page;
2015-04-28 14:28:17 -07:00
Victor Woeltjen
617691ab24 Merge branch 'open806' into open-master 2015-04-27 15:16:21 -07:00
Victor Woeltjen
cab259415d [Pages] Test controller
Test controller for WTD-1145.
2015-04-27 14:58:32 -07:00
Victor Woeltjen
012fad6984 [Pages] Validate input
Valid URL input for Pages, WTD-1145.
2015-04-27 14:50:14 -07:00
Victor Woeltjen
01e2840aae [Pages] Move page plugin into platform
Move Page plugin from prototype location into
platform, WTD-1145.
2015-04-27 14:46:33 -07:00
Victor Woeltjen
a2bdeda1a0 Merge branch 'open1098' into open-master 2015-04-24 09:09:42 -07:00
Victor Woeltjen
4a4ef8c0f6 Merge branch 'open-master' into open806
Merge in latest in preparation for review of changes
for WTD-806
2015-04-20 19:35:19 -07:00
Victor Woeltjen
186ae05686 [Plot] Add test case
Add test case which exercises handling of historical telemetry,
WTD-806.
2015-04-20 17:04:34 -07:00
Victor Woeltjen
6400a670fa [Plot] Update plot with historical data
Trigger update of displayed plot data when new historical
data becomes available, WTD-806.
2015-04-20 17:00:30 -07:00
Victor Woeltjen
ffc122fb5c [Telemetry] Add test casese
Add test cases for general support for handling real-time telemetry,
WTD-806.
2015-04-20 16:51:08 -07:00
Victor Woeltjen
4d288950fd [Plot] Add test cases
Add test cases for plot line management, WTD-806.
2015-04-20 14:31:29 -07:00
Victor Woeltjen
e21cbbe2c6 [Plot] Add test cases
WTD-806
2015-04-20 11:00:54 -07:00
Victor Woeltjen
0242961e5a Merge remote-tracking branch 'nasa/open1036' into open1123 2015-04-17 17:02:20 -07:00
Victor Woeltjen
ffcd91f88d [Plot] Add test cases
Add test cases to spec for PlotUpdater to reflect changes
for merging streaming and historical data. WTD-806.
2015-04-17 16:55:49 -07:00
Victor Woeltjen
74b9d68dc8 [Plot] Update failing specs
Update failing specs after changes for WTD-806.
2015-04-17 16:42:15 -07:00
Victor Woeltjen
955c4209f0 [Plot] Add placeholder specs
Add placeholder specs for new scripts introduced to support
merging real-time and historical telemetry, WTD-806.
2015-04-17 15:11:22 -07:00
Victor Woeltjen
62958280b7 [Plot] Avoid clearing domain offset
Avoid clearing domain offset unnecessarily by fixing
variable reference; WTD-806.
2015-04-17 15:05:56 -07:00
Victor Woeltjen
8ba9c0553a [Plot] Begin integrating with telemetry handler
Miscellaneous tweaks and fixes to begin showing merged
real-time and historical telemetry, WTD-806.
2015-04-17 14:53:21 -07:00
Victor Woeltjen
5cc89e7983 [Plot] Update PlotController
Update plot controller to request historical telemetry,
WTD-806.
2015-04-17 14:09:39 -07:00
Victor Woeltjen
9f390de213 [Plot] Add clarifying comments
Add clarifying comments to PlotLine, added to simplify merging
of real-time with historical data, WTD-806.
2015-04-17 14:04:46 -07:00
Victor Woeltjen
7370b1a87f [Plot] Use new API from PlotUpdater
Use PlotLine and PlotLineBuffer from PlotUpdater, to enable
merging of real-time and historical telemetry. WTD-806.
2015-04-17 14:00:00 -07:00
Victor Woeltjen
4d34f19aa2 [Plot] Complete coverage of PlotLineBuffer
WTD-806.
2015-04-17 12:26:44 -07:00
Victor Woeltjen
6551e9212d [Plot] Fix insertion in PlotLineBuffer
WTD-806.
2015-04-17 12:13:17 -07:00
Victor Woeltjen
b20643018a [Plot] Complete PlotLineBuffer
Complete implementation of PlotLineBuffer, which is responsible
for managing the displayable buffer for an individual plot line.
WTD-806.
2015-04-17 12:06:44 -07:00
Victor Woeltjen
15b1c824e3 [Plot] Begin separating out plot line handling
Begin separating out plot line buffer from the rest of plot;
managing this buffer separately will aid in merging realtime
and hsitorical data, WTD-806.
2015-04-17 11:35:24 -07:00
Victor Woeltjen
9215eb1427 [Plot] Begin updating plot
Begin updating plot to merge realtime and historical
telemetry, WTD-806.
2015-04-16 16:48:03 -07:00
Victor Woeltjen
03e1633a22 [Timeline] Track realtime index in updater
Track realtime index in PlotUpdater to facilitate prepending of
historical data portion on-demand, WTD-806.
2015-04-16 16:41:09 -07:00
Victor Woeltjen
60e888e16e [Telemetry] Begin adding telemetry handler
Begin adding a general purpose handler for telemetry which
extends on the behavior associated with the telemetrySubscriber
by supporting access to historical data as well. WTD-806.
2015-04-16 16:27:25 -07:00
Victor Woeltjen
774c4dec1d [Telemetry] Separate out delegator
Separate out handling of delegation related to telemetry,
WTD-806.
2015-04-16 16:01:51 -07:00
Charles Hacskaylo
06a887a96e [Content/Dev] Licenses generator and content
WTD-1036
Added file to gen LICENSES.md content;
Added LICENSES.md file to repo
2015-04-16 15:16:00 -07:00
Charles Hacskaylo
b4cabbb4af [Frontend] Added dynamic plurality to "author" field label
WTD-1036
If licenses/author node in *bundle.json includes a comma,
display authors instead of author as the label
2015-04-15 17:46:11 -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
Charles Hacskaylo
dbe27d2842 [Frontend/Content] Copy and styling tweaks
WTD-1036
Open source copyright information added to about-dialog.html;
Styling for a and h2 elements tweaked;
2015-04-15 14:40:38 -07:00
Victor Woeltjen
036722b275 [Containment] Disallow composition in immutable objects
Disallow composition in objects which cannot be created, under
the rationale that creatable objects must also be immutable.
WTD-1098.
2015-04-10 19:24:16 -07:00
Victor Woeltjen
a55f8e1ab5 [Containment] Test compose action policy
Test compose action policy, which prevents the 'compose' action
when composition rules would be violated. WTD-962.
2015-04-10 18:39:57 -07:00
Victor Woeltjen
c59f13504e [Containment] Test containment tables
Test tables which support efficient lookup of composition policy,
WTD-962.
2015-04-10 18:29:42 -07:00
Victor Woeltjen
e3a44356a8 [Containment] Test composition policy
WTD-962.
2015-04-10 18:16:40 -07:00
Victor Woeltjen
90b8f22c2d [Containment] Add skeleton specs
Add empty specs for composition policy, WTD-962.
2015-04-10 18:09:02 -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
fa5bc326e1 [Containment] Update failing specs
Update failing specs after changes for composition
policy to enforce containment rules, WTD-962.
2015-04-10 17:47:49 -07:00
Victor Woeltjen
3e972650c7 [Containment] Test LinkAction
Add test cases for LinkAction, added to allow composition
changes to be controlled by policy. WTD-962.
2015-04-10 17:37:11 -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
952f380c33 [Containment] Make ngModel optional
Make the ngModel dependency of mct-control optional, to avoid
breaking mct-control usages which don't also use ng-model.
WTD-962.
2015-04-09 13:10:27 -07:00
Victor Woeltjen
79f6e8c082 Merge branch 'open1062' into open-master
Merge changes for WTD-1062
2015-04-08 12:48:49 -07:00
Victor Woeltjen
9d3c22655d Merge branch 'open973' into open-master
Merge in policy service, WTD-973

Conflicts:
	bundles.json
2015-04-08 12:43:13 -07:00
Victor Woeltjen
3707a68ea1 Merge branch 'open1071' into open-master
Merge changes for WTD-1071
2015-04-08 12:38:17 -07:00
Victor Woeltjen
c8ec3e713d Merge branch 'open1070' into open-master
Merge in changes for WTD-1070
2015-04-08 12:34:45 -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
7cabead3bc [Containment] Remove condition around drop event
Remove condition (now obsolete) which checked for mutation
after drop, for changes for WTD-962.
2015-04-07 21:06:23 -07:00
Victor Woeltjen
9e4611bcfd [Containment] Fix bundle
Fix dependencies in containment bundle to allow loading,
WTD-962.
2015-04-07 21:03:36 -07:00
Charles Hacskaylo
29b63504eb [Frontend] New and updated styles for values view
WTD-938
2015-04-07 20:52:49 -07:00
Victor Woeltjen
d2c666358e [Containment] Restrict the compose action
Restrict the compose action by policy, to avoid drag-drop of
inappropriate domain object types. WTD-962.
2015-04-07 20:51:01 -07:00
Victor Woeltjen
8f7dcd2018 [Containment] Fire compose instead of link
Fire compose instead of link on drop, since this will
match usage for move/copy/link in the future. WTD-962.
2015-04-07 20:40:26 -07:00
Victor Woeltjen
44eb54884b [Containment] Fire a link action on drop
Fire a link action as the result of a drag-drop operation,
WTD-962.
2015-04-07 20:35:54 -07:00
Victor Woeltjen
5045795a7c [Containment] Expose Link action as compose
Expose 'link' as 'compose'; this facilitates implementation of
drag-drop composition being deferred to actions which will
support move/copy/link options in the future. WTD-962.
2015-04-07 20:24:15 -07:00
Victor Woeltjen
5adcd3cd6d [Containment] Implement Link
Implement link as a basic action, to separate it out from
drop gesture such that it can be controlled by policy. For
WTD-962.
2015-04-07 20:20:56 -07:00
Victor Woeltjen
870ff6af32 [Containment] Add message
WTD-962
2015-04-07 20:06:08 -07:00
Victor Woeltjen
931ca73d6b [Containment] Merge in policy
Merge in policy support, as this is necessary to support
containment rules, WTD-962.
2015-04-07 20:03:00 -07:00
Victor Woeltjen
838a86830e [Containment] Add bundle declaration
WTD-962.
2015-04-07 20:02:05 -07:00
Victor Woeltjen
3c00eb86ea [Containment] Add general policy for containment rules
Add general policy for supporting containment rules, WTD-962.
2015-04-07 19:58:39 -07:00
Victor Woeltjen
c10253c01d [Plot] Add note about test priority
WTD-1070.
2015-04-06 14:30:13 -07:00
Victor Woeltjen
e01c45df2e [Plot] Test 2D chart drawing
Test drawing using fallback canvas 2D API, WTD-1070.
2015-04-06 14:27:43 -07:00
Victor Woeltjen
3db8c1a32d [Plot] Try multiple chart options
Choose among multiple chart options, WTD-1070.
2015-04-06 14:15:34 -07:00
Victor Woeltjen
eba980c720 [Plot] Implement canvas 2d methods
Implement methods in 2D canvas to support fallback when
WebGL is unavailable, WTD-1070.
2015-04-06 13:56:27 -07:00
Victor Woeltjen
0626a6080e [Plot] Add 2d chart
Add skeleton class for implementation of charting
functionality which uses canvas' 2D API for rendering,
WTD-1070.
2015-04-06 13:49:13 -07:00
Victor Woeltjen
874f81010c [Edit] Update EditController spec
Update tests for EditController to match updated
usage of domain object API for WTD-1071.
2015-04-06 09:30:42 -07:00
Victor Woeltjen
8b6a972fa4 [Edit] Avoid double-wrapping
Avoid double-wrapping editable domain objects, WTD-1071.
2015-04-06 09:30:14 -07:00
Victor Woeltjen
60ed17e32b [Edit] Add test case for double-wrapping
Add test case to detect double-wrapping of domain objects
retrieved via the editable domain object cache, identified
as the root cause of WTD-1071.
2015-04-06 09:28:53 -07:00
Victor Woeltjen
3c3dd0ad17 Merge branch 'open1035' into open-master
Merge WTD-1035; resolving conflicts to avoid WTD-1069

Conflicts:
	platform/commonUI/edit/src/controllers/EditController.js
	platform/commonUI/edit/src/objects/EditableDomainObjectCache.js
2015-04-06 08:32:54 -07:00
Victor Woeltjen
58d66871c1 Merge branch 'open1033' into open-master 2015-04-06 08:20:02 -07:00
Victor Woeltjen
9be40d6d2a [Edit] Fill in tests for Edit policies
Complete tests for policies for Edit actions, WTD-1062.
2015-04-01 16:21:06 -07:00
Victor Woeltjen
e2c6db8259 [Edit] Stub in specs for Edit policies
Stub in specs for policies added for Edit mode which control
the availability of the Edit and/or Edit Properties actions
in the view-control area, WTD-1062.
2015-04-01 16:08:15 -07:00
Victor Woeltjen
0ceb8d30cf [Edit] Expose EditableViewPolicy
Expose EditableViewPolicy as an active extension in Edit mode,
WTD-1062.
2015-04-01 16:00:20 -07:00
Victor Woeltjen
892e2c9dd4 [Policy] Implement view decorator
Implement policy-driven view decorator, sufficient to satisfy
specs. WTD-1062.
2015-04-01 15:58:19 -07:00
Victor Woeltjen
7915074b10 [Policy] Add spec for policy-driven view decorator
Add spec to allow the applicability of views to be determined
by policy decisions, WTD-1062.
2015-04-01 15:54:59 -07:00
Victor Woeltjen
facf350648 [Edit] Add policy to restrict views in Edit mode
Add policy to disallow views in Edit mode which have been
explicitly flagged as non-editable, WTD-1062.
2015-04-01 15:50:15 -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
e3ec9c6130 [Edit] Allow Edit Properties as a view-control action
Allow Edit Properties as an action of the view-control category,
WTD-1062.
2015-04-01 15:34:51 -07:00
Victor Woeltjen
087cea1445 [Core] Allow actions to have multiple categories
Allow actions to have multiple categories; this will allow
the properties action to be applicable as both a menu option
and a button in the view-control category, WTD-1062.
2015-04-01 15:33:18 -07:00
Victor Woeltjen
84634f03ed [Policy] Add bundle declaration
Add declaration for policy bundle, WTD-973.
2015-04-01 15:11:47 -07:00
Victor Woeltjen
f9387a8e84 [Policy] Implement action decorator
Implement policy-driven action decorator, sufficient to satisfy
spec. WTD-973.
2015-04-01 14:39:47 -07:00
Victor Woeltjen
04005ce75f [Policy] Add spec for action decorator
Add spec for decorator which prunes out applicable actions
based on policy. WTD-973.
2015-04-01 14:34:06 -07:00
Victor Woeltjen
4d67e16aa3 [Policy] Implement PolicyProvider
Implement PolicyProvider, sufficient to satisfy spec. WTD-973.
2015-04-01 14:33:39 -07:00
Victor Woeltjen
d46f3b9132 [Policy] Add spec for policy provider
Add spec for policy provider, WTD-973.
2015-04-01 13:48:58 -07:00
Victor Woeltjen
cc45673054 [Policy] Design/document policyService
Design and document the behavior of the policy service,
WTD-973.
2015-04-01 13:37:49 -07:00
Victor Woeltjen
e33b80f150 [Edit] Document mct-before-unload
Document the behavior of mct-before-unload, added to support
confirmation of navigation changes in Edit mode, WTD-1035.
2015-03-31 17:16:48 -07:00
Victor Woeltjen
ac6aa3e819 [Edit] Add test cases for mct-before-unload
Add test cases for behavior to prompt user to confirm
navigation away from unsaved changes, WTD-1035.
2015-03-31 17:08:38 -07:00
Victor Woeltjen
2e82cffa5a [Edit] Add empty spec for mct-before-unload
Begin testing mct-before-unload directive, used to confirm navigation
away from unsaved changes, WTD-1035
2015-03-31 16:00:53 -07:00
Victor Woeltjen
0b0753df31 [Edit] Add test cases
Add test cases for EditController to account for changes to
support warning dialog when unsaved changes are present,
WTD-1035.
2015-03-31 15:58:13 -07:00
Victor Woeltjen
dc7d504691 [Edit] Check for route changes
Respond to route changes via mct-before-unload, in order to
show a prompt to allow the user to confirm navigation changes
which do not trigger onbeforeunload (such as using back to
change the hash route). WTD-1035.
2015-03-31 14:46:11 -07:00
Victor Woeltjen
5ef382d159 [Edit] Add clarifying comments
Add clarifying comments related to checking of conditions
on unload, WTD-1035.
2015-03-31 14:39:30 -07:00
Victor Woeltjen
8a8c84eacf Merge branch 'open-master' into open1035
Merge in latest changes into topic branch for WTD-1035,
dialog warning before navigating out of Edit mode.
2015-03-31 14:32:55 -07:00
Victor Woeltjen
d3a8fce789 Merge remote-tracking branch 'nasa/open1048' into open1050 2015-03-27 09:26:04 -07:00
Victor Woeltjen
cc13138aef Merge branch 'open988' into open-master 2015-03-25 16:57:05 -07:00
Victor Woeltjen
ef322055a5 [Persistence] Update default ElasticSearch path
WTD-1033.
2015-03-25 16:43:56 -07:00
Victor Woeltjen
f9caee0214 Merge branch 'open-master' into open1033
Merge in latest from master branch in preparation for
review of WTD-1033
2015-03-25 16:20:10 -07:00
Victor Woeltjen
79ebe72c6c [Core] Add test cases
Add test cases for model cache to ensure it maintains a single
instance of each model. WTD-1033.
2015-03-25 16:18:24 -07:00
Victor Woeltjen
7e5d363daa [Core] Update models in-place
In model cache, update cached model instances instead of
replacing them; this avoids situations where two different
model instances escape the model service because the second
request was made before the results from the first had been
cached. WTD-1033.
2015-03-25 13:46:40 -07:00