Commit Graph

228 Commits

Author SHA1 Message Date
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
242d40fab2 [Common UI] Fill in dialog specs
Fill in specs for bundle platform/commonUI/dialog,
which provides the ability to show dialogs. One
of the common user interface elements being transitioned
for WTD-574.
2014-11-25 15:59:04 -08:00
Victor Woeltjen
f04e02359a [Common UI] Skeleton spec for dialogs
Skeleton specs for bundle platform/commonUI/dialog,
responsible for displaying dialog overlays. Part of
ongoing transition of common user interface elements
for WTD-574.
2014-11-25 14:44:16 -08:00
Victor Woeltjen
0faf4c934e [Common UI] Refactor dialogs
Refactor bundle platform/commonUI/dialog such that
the concerns of showing dialogs (including showing
a single instance thereof) and managing changes to
the DOM are more cleanly separated. This simplifies
testing and satisfies code style guidelines for
this bundle, in preparation for its inclusion among
common user interface bundles to be transitioned
in WTD-574.
2014-11-25 14:39:40 -08:00
Victor Woeltjen
6cce00d601 [Common UI] Add JSDoc to DialogService
Add in-line documentation to the dialog service,
exposed by bundle platform/commonUI/dialog, one
of the common user interface bundles being
transitioned for WTD-574.
2014-11-25 13:31:30 -08:00
Victor Woeltjen
d950fe14e5 [Common UI] Finish JSDoc for edit mode
Complete in-line documentation for bundle
platform/commonUI/edit (Edit Mode), one of the
common user interface bundles being transitioned
for WTD-574.
2014-11-25 12:50:06 -08:00
Victor Woeltjen
4c0e5e963e [Common UI] Add JSDoc for edit actions
Add in-line documentation for actions that are introduced
by the bundle platform/commonUI/edit, which introduces
Edit mode. One of the common user interface bundles being
transitioned for WTD-574.
2014-11-25 11:53:53 -08:00
Victor Woeltjen
c432a4eb1e [Common UI] Complete specs for edit mode
Add specs for remaining capabilities and capability
wrappers employed by Edit mode. Completes coverage
for bundle platform/commonUI/edit, which is being
transitioned along with other commonUI bundles in
WTD-574.
2014-11-25 10:51:23 -08:00
Victor Woeltjen
7ddfcbca9b [Common UI] Fill in spec for RemoveAction
Fill in spec for the Remove action, included as part of
the bundle platform/commonUI/edit. WTD-574.
2014-11-25 10:08:50 -08:00
Victor Woeltjen
19b4dc3fa3 [Common UI] Spec for EditAction
Fill in spec for the Edit action, which enters Edit mode
Part of bundle platform/commonUI/edit, being transitioned
for WTD-574.
2014-11-25 09:48:54 -08:00
Victor Woeltjen
2f7746df53 [Common UI] Add specs for Save/Cancel
Add specs for the save and cancel conclude-editing
actions, part of bundle platform/commonUI/edit
(Edit Mode) which is transitioned among the various
common UI bundles. WTD-574
2014-11-25 09:35:55 -08:00
Victor Woeltjen
d7fbd596ef [Common UI] Specs for edit controllers
Add specs for controllers used to support Edit mode,
one of the common UI elements being transitioned for
WTD-574.
2014-11-24 17:29:42 -08:00
Victor Woeltjen
093ccb637f [Common UI] Amend ActionGroupControllerSpec
Amend ActionGroupControllerSpec (introduced for WTD-574,
transition of common UI elements) such that it handles
the case where no action capability is defined.
2014-11-24 17:09:56 -08:00
Victor Woeltjen
88f3221938 [Common UI] Add skeleton specs for edit mode
Add empty files which will contain specs for
bundle platform/commonUI/edit, which is responsible
for Edit mode. WTD-574.
2014-11-24 17:07:17 -08:00
Victor Woeltjen
80430234d6 [Common UI] Add JSDoc
Add JSDoc to remaining scripts in bundle
platform/commonUI/general. WTD-574.
2014-11-24 16:39:52 -08:00
Victor Woeltjen
2f43e8cd7f [Common UI] Document TreeNodeController
Add in-line documentation to TreeNodeController, and update
glossary with some clarifying definition.

Additionally, change name from tree-item to tree-node for
consistency.

Part of ongoing transition of commonUI bundles, WTD-574.
2014-11-24 15:42:15 -08:00
Victor Woeltjen
e0b201aa17 [Common UI] Add spec for mct-container
Add spec for the mct-container directive, introduced
as part of the general user interface support bundle,
platform/commonUI/general. WTD-574.
2014-11-24 15:22:03 -08:00
Victor Woeltjen
2b1fdc2204 [Common UI] Add specs for controllers
Add specs for controllers in the commonUI/general bundle.
WTD-574.
2014-11-24 15:10:29 -08:00
Victor Woeltjen
b026e313be [Common UI] Add skeleton specs
Add skeleton specs for bundle platform/commonUI/general.
WTD-574.
2014-11-24 13:39:52 -08:00
Victor Woeltjen
f6850ffc4f [Common UI] Encapsulate TreeNodeController
Reduce reliance on  from TreeNodeController,
clean up and better isolate node expansion behavior.
Part of transition of common UI elements, WTD-574.
2014-11-24 10:30:45 -08:00
Victor Woeltjen
eff9747198 [Common UI] Correct dialog failure behavior
When a dialog is already showing, act as if the
user input was cancelled and show a warning.
Part of ongoing transition of common user interface
bundles for WTD-574.
2014-11-24 07:54:26 -08:00
Victor Woeltjen
2ab3f5f5f9 [Common UI] Generalize ToggleController
Add a general-purpose ToggleController for things that
need to expand and contract. WTD-574.
2014-11-24 07:49:50 -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
Victor Woeltjen
42bc4599b8 [Structure] Add platform structure
Add general structure for Open MCT Web, including
top-level and second-level directory structure.
README files are included to explain the role of
each directory; markdown is used to allow for
richer display when viewer support is present.

WTD-519.
2014-10-27 18:18:50 -07:00