e7563ff4e9
[Action] Merge
...
Merged with master.
2015-08-26 10:11:23 -07:00
a507557cec
[Remove] Remove Action
...
Tweaked remove action to return
on finding the object that is being removed and
checking if it can be navigated to. Also completed
tests for RemoveAction.
2015-08-26 10:07:51 -07:00
d0183d44c9
[Actions] Remove Action
...
When an ascendant or parent or currently
selected object is removed the user is navigated
to the parent of the object being removed. Added variables
to RemoveAction test to test removing currently selected
domainObject.
2015-08-21 13:04:47 -07:00
3492cd3942
[Code Style] Fix bug introduced by refactor
...
Do some extra checking, since capabilities may have
properties which are note methods. WTD-1482.
2015-08-12 13:57:17 -07:00
c450c22ddd
[Code Style] Satisfy JSLint
...
Add missing semicolons etc. to satisfy JSLint after
changes for WTD-1482.
2015-08-11 13:03:06 -07:00
aa08db1050
[Code Style] Avoid copying window/scope
...
Avoids Angular errors; WTD-1482.
2015-08-11 11:00:56 -07:00
be5cad212a
[Code Style] Use prototypes in Edit bundle
...
WTD-1482.
2015-08-10 16:38:13 -07:00
a7a1ac70e5
[JSDoc] Remove obsolete module references
...
WTD-1482.
2015-08-07 12:14:40 -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
3d0e0af7f2
[Windowing] Remove variable
...
Excess variable used for CancelAction's
ReturnToBrowse. WTD 23.
2015-06-25 14:28:38 -07:00
5ba0f9d7a1
Merge remote-tracking branch 'upstream/master' into open23
2015-06-25 14:08:46 -07:00
3a371483ab
[Windowing] urlService
...
Added the urlService to the unit
tests for the cancel and save buttons
also removed unused services. WTD 23.
2015-06-25 14:07:02 -07:00
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
0ae1ba4a40
[Edit] Don't wrap non-editable objects
...
In Edit mode, don't bother wrapping domain objects which should
not be edited even in principle. Avoids insulating these objects
from updates which occur asynchronously, which in turn avoids
WTD-1291.
2015-06-17 10:23:16 -07:00
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -07:00
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
79f6e8c082
Merge branch 'open1062' into open-master
...
Merge changes for WTD-1062
2015-04-08 12:48:49 -07:00
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
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
8b6a972fa4
[Edit] Avoid double-wrapping
...
Avoid double-wrapping editable domain objects, WTD-1071.
2015-04-06 09:30:14 -07:00
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
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
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
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
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
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
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
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
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
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