Victor Woeltjen
1f7cece8ec
[Persistence] Remove unused variable
2016-07-14 15:05:43 -07:00
Victor Woeltjen
a731c35ad6
[Persistence] Refactor out transaction management
2016-07-14 13:43:55 -07:00
Victor Woeltjen
c7529dd56b
[Persistence] Share transaction clearing functions
2016-07-14 12:53:58 -07:00
Victor Woeltjen
00fff52529
[Persistence] Track persist-pending state globally
2016-07-14 12:50:36 -07:00
Victor Woeltjen
4c7ad6d93a
Merge branch 'undirty-on-refresh-1046' into transaction-clearing-1059
...
Conflicts:
platform/commonUI/edit/src/actions/SaveAsAction.js
2016-07-14 11:53:39 -07:00
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Victor Woeltjen
e42b8d22f7
[Edit] Undirty objects on refresh
...
Remove domain objects from the active transaction when they
are refreshed, and use this from the SaveAsAction to prevent
saving unintended changes. Fixes #1046
2016-06-22 15:32:37 -07:00
Andrew Henry
f167022eea
Changed logic of persisted check slightly
2016-06-02 10:26:38 +01:00
Andrew Henry
b1266abf01
[Edit] Fixed issue with cancel action throwing an error. Fixes #979
2016-06-01 10:41:01 +01:00
Victor Woeltjen
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
Henry
d08cdfba49
Fixed linting issues
2016-05-12 16:50:19 -07:00
Henry
69c4c3a2c8
Added tests
2016-05-12 16:14:42 -07:00
Henry
c305fba0a7
Modified dirty function
2016-05-12 16:14:42 -07:00
Henry
44f4a82fa1
Resolved merge conflicts
2016-05-12 16:14:31 -07:00
Henry
d00e13e4ee
Resolved merge conflicts
2016-05-12 16:09:53 -07:00
Henry
433dd87e51
Resolved merge conflicts
2016-05-12 16:07:39 -07:00
Henry
cf9eb3f602
Resolved Merge conflicts, removed previously deleted files
2016-05-12 16:05:27 -07:00
Henry
bd686790dc
Resolved merge conflicts
2016-05-12 16:03:19 -07:00
Henry
e5ef7c0c22
Resovled merge conflicts
2016-05-12 15:58:17 -07:00
Victor Woeltjen
134452582c
[Build] Remove/qualify for-in usages
2016-03-04 13:10:23 -08:00
Victor Woeltjen
a1a7b2b8ce
[Build] Remove unused variables
...
...to satisfy JSHint
2016-03-04 11:41:48 -08:00
Victor Woeltjen
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
Henry
f192544be3
Addressing issues from code review
2016-03-02 11:10:49 -08:00
Henry
668c02f278
[Edit Mode] Added ability to clear all dirty cache
2016-02-09 19:29:55 -08:00
Henry
cd2b19eb1e
[New Edit Mode] Fixed failing tests, and added new test in CreateWizard
...
[New Edit Mode] #480 fixed JSLint errors
[New Edit Mode] #480 do not show locator for sub objects
[New Edit Mode] Modified persistence in SaveAction
Removed redundant variable
Fixed Failing Test
Fixed JSLint errors
Improved some documentation
2016-01-21 12:01:38 -08:00
Henry
c65096f166
[New Edit Mode] Added AddAction, modified EditableDomainObject to properly wrap inherited functions, added new EditableInstantiationCapability
2016-01-20 18:49:39 -08:00
Henry
f300b99b7b
[New Edit Mode] Code style fixes
...
JSLint error
2016-01-14 15:55:02 -08:00
Henry
8c837c5f81
Simplified logic in EditableActionCapability
2015-12-10 14:09:56 -08:00
Henry
f96fa33d88
Removed some additional context menu options
2015-12-10 13:49:05 -08:00
Henry
a399b78d2c
Fixed JSLint errors
2015-12-09 18:39:57 -08:00
Henry
39b3e6c4a9
[Edit Mode] Limit context menu options available for objects in edit mode
...
[Edit Mode] Edit mode on objects that do not have a view supporting editing should edit properties instead. #320
2015-12-09 18:14:17 -08:00
Henry
856c61816c
Go to original now shows prompt
2015-12-09 14:08:19 -08:00
Henry
4b7287e51e
Fixed JSLint errors
2015-12-08 14:51:25 -08:00
Henry
18607e9404
Merged from Master
2015-12-07 20:42:09 -08:00
Victor Woeltjen
03edd26e17
[Edit] Return promise from editable persistence
...
https://github.com/nasa/openmctweb/issues/305
2015-12-01 16:45:08 -08:00
Henry
10a44c026c
[Edit Mode] Visual indication of object being edited #278
2015-11-19 18:45:18 -08:00
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
be5cad212a
[Code Style] Use prototypes in Edit bundle
...
WTD-1482.
2015-08-10 16:38:13 -07:00
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
Victor Woeltjen
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -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
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
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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
Victor Woeltjen
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