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
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
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
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
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
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
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
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
27af3a6b88
[Edit] Update specs
...
Update spec for editable persistence capability to include
delegation of refreshes, which supports revision-checking
when exiting edit mode. WTD-1033.
2015-03-24 17:07:06 -07:00
35371f89ab
[Edit] Update failing specs
...
Update failing specs in Edit mode with changes made for revision
checking, WTD-1033.
2015-03-24 16:31:14 -07:00
0090732f71
[Persistence] Handle refresh after edit
...
Correctly handle Discard changes after leaving Edit mode when
conflicts are detected; WTD-1033.
2015-03-24 15:53:27 -07:00
821cc65d6f
[Edit] Remove unused code
...
Remove unused and/or excessive code related to Save in Edit mode.
WTD-1033.
2015-03-24 10:41:56 -07:00
8f288751db
[Edit] Persist in a group
...
Invoke persist calls when leaving Edit mode in a group, instead of
in-order, to allow these revision-checking to be handling for the
group as a whole. WTD-1033.
2015-03-24 10:01:45 -07:00
6721bca32a
Merge remote-tracking branch 'nasa/open-master' into open922
...
Merge in latest from open-master in preparation for
review/integration, for WTD-922
2015-03-18 14:57:09 -07:00
41e248a2c5
[Edit] Add test cases
...
Add test cases for changes to Edit mode capability wrappers
which reduce scope of Create menu's Save in to the object
being edited, for WTD-922.
2015-03-18 12:36:51 -07:00
ea4a56bc25
[Edit] Update failing specs
...
Update failing specs after changes to insulate root in Edit
mode for WTD-922.
2015-03-18 12:27:23 -07:00
bb4ea2d4ae
[Edit] Get to true root from EditPanesController
...
Part of refactoring to hide objects outside of Edit mode from
the Create menus in Edit mode, WTD-922.
2015-03-18 09:56:15 -07:00
6e783648d6
[Edit] Hide root object
...
Act as if the object being edited is the root object when
in Edit mode, except in the Library pane (which has its own
means of getting the real root object.) WTD-922.
2015-03-17 18:11:46 -07:00
d814c0fc18
Merge remote-tracking branch 'origin/open1020' into open-master
2015-03-17 18:03:05 -07:00
783d2f332b
[Edit] Add mct-before-unload directive
...
Add directive for exposing expressions which should be
evaluated for the browser's onbeforeunload event, to
prevent user-initiated navigation from causing a loss
of unsaved changes. WTD-1035.
2015-03-16 17:28:10 -07:00
8673e2045e
Merge remote-tracking branch 'origin/open987' into open-master
2015-03-16 10:28:55 -07:00
c2d7996785
Merge remote-tracking branch 'origin/open929' into open-master
2015-03-13 16:21:08 -07:00
6111aa9b53
[Edit] Relocate controller
...
Relocate split pane controller to avoid interfering
with scope hierarchy expected by EditToolbarRepresenter,
to address WTD-1020.
2015-03-13 11:39:31 -07:00
ee04814f59
Merge remote-tracking branch 'nasa/open1002' into open1015
...
Merge in open1002, WTD-1015.
Conflicts:
platform/commonUI/edit/res/templates/edit-object.html
2015-03-12 11:32:17 -07:00
6575291e3e
Merge remote-tracking branch 'origin/open788' into open-master
2015-03-10 12:41:08 -07:00
bbe26cd06c
[Core] Edit-wrap relationship capability
...
Wrap objects retrieved via the relationship capability
with Edit mode caching etc, for WTD-1007.
2015-03-09 15:29:25 -07:00
df515a037e
[Frontend] Set priority on Save button to always load first
...
WTD-1002
WTD-832
Set priority: mandatory on save button to ensure it always loads before cancel button;
2015-03-06 08:18:43 -08:00
feda668e18
[Frontend] Applied split pane functionality to edit mode
...
WTD-1002
SplitPaneController added to edit-object.html;
CSS modded to remove positioning that is now under splitter control;
2015-03-06 08:11:27 -08:00
433cdf8b1c
In-progress checkin - NOT WORKING RIGHT YET!
2015-03-05 16:02:33 -08:00
d7e962e4b1
[Edit] Update tests
...
Update tests for Edit mode bundle to include the
general-purpose selection API, WTD-929.
2015-03-03 18:43:26 -08:00
bc69f19012
[Edit] Utilize EditToolbarSelection
...
Utilize newer, more general-purpose selector from the
representer responsible for binding selection scope to
toolbar. WTD-929.
2015-03-03 18:34:03 -08:00
6c97815efb
[Edit] Add Selection class
...
Add class to handle selection, which will be synchronized
to the toolbar. WTD-929.
2015-03-03 18:31:34 -08:00
0d5a849a41
[Edit] Restructure source folder
...
Restructure sources associated with Edit mode; work on
WTD-788 has increased number of sources here so more
organization is useful.
2015-02-26 17:06:30 -08:00
cb078e9620
[Edit] Test EditPanesController
...
Test EditPanesController, particularly for the root
cause of tree collapse, WTD-788.
2015-02-26 17:02:22 -08:00
988716ff01
[Edit] Refresh Library less aggressively
...
Update the root object (used to populate the Library pane)
less often, to avoid recreating the whole tree and thereby
causing the tree to collapse. WTD-788.
2015-02-26 16:53:15 -08:00
1e76264d82
[Edit] Avoid extra commits
...
Avoid issuing extra commit calls from the Edit toolbar;
this can cause disruption of state from other views (such
as Fixed Position), WTD-881.
2015-02-24 09:47:00 -08:00
59ff539bfb
[Fixed Position] Update specs for coverage
...
Update specs to restore code coverage after changes for WTD-881.
2015-02-24 09:18:00 -08:00
8452b2ab12
[Fixed Position] Update specs
...
Update failing specs after changes for WTD-881.
2015-02-24 09:07:57 -08:00
307fbe2151
[Edit] Update EditToolbar spec
...
Update EditToolbar spec to reflect changes for WTD-881.
2015-02-23 19:47:56 -08:00
6c7dfb878b
[Edit] Avoid rebuilding toolbar on edit
...
Avoid rebuilding the toolbar in Edit mode whenever
any change occurs to avoid losing the binding to the
current selection state; needed for color picker to
work properly for WTD-881.
2015-02-23 15:57:45 -08:00
f894233182
[Edit] Default to inclusive mode
...
Default to inclusive mode in Edit mode toolbar;
simplifies adding additional toolbar elements for
Fixed Position view, WTD-881.
2015-02-23 15:13:46 -08:00
c183f08886
[Edit] Fix state-watching
...
Repair/simplify state-watching in representer for toolbar
in edit mode; avoids issue where destroy calls detach
watches for state change in toolbar prematurely. WTD-881.
2015-02-23 14:51:17 -08:00
8c653d39d7
[Edit] Update specs
...
Update specs for toolbars in Edit mode to reflect
changes for WTD-879.
2015-02-19 12:44:00 -08:00
5680710c06
[Fixed Position] Implement remove
...
Implement remove button for selected elements in fixed
position view. WTD-879.
2015-02-18 20:12:55 -08:00
db2f2eb098
[Fixed Position] Improve button support
...
Improve button support from toolbars by adding a click
function when generating structures for mct-toolbar based
on view definitions. WTD-879.
2015-02-17 16:29:15 -08:00
98caa31d7b
Merge branch 'open877' into open879
...
Merge fixed position view work and general toolbar
work to begin adding toolbars for fixed position view,
WTD-879."
Conflicts:
platform/commonUI/edit/res/templates/edit-object.html
2015-02-17 15:58:36 -08:00
3916968544
[Edit] Add EditToolbarRepresenter spec
...
Add tests for representer which mediates between view's
selection and toolbar contents, WTD-878.
2015-02-17 15:47:18 -08:00
48754c78bf
[Edit] Wire in toolbar representer
...
Wire in representer for handling toolbars in Edit mode,
and add some clarifying documentation. WTD-878.
2015-02-17 15:30:23 -08:00
023c12ec3b
[Edit] Add toolbar representer
...
Add a representer to handle exposing toolbars for views in
edit mode. WTD-878.
2015-02-17 14:31:02 -08:00
5dc72b15c2
[Edit] Implement EditToolbar
...
Implement EditToolbar (sufficient to satisfy spec) which will
construct an mct-toolbar-friendly form structure based on both
the current selection and the view's defined toolbar structure.
WTD-878.
2015-02-17 13:47:14 -08:00