- Dec 14, 2015
-
-
hjank authored
+ added global variable unitContextIndex (index of the current info in the unit's context array) to contextTabController to be able to distinguish between add and edit mode # replaced contextDataCounter and contextDataIndex with this variable # replaced id in array_multiSelectionContextInfos with this index # distinguished adding of icons to unit: when editing context, the icon gets replaced, otherwise a new one is added TODO: select2 doesn't seem to work correctly anymore on new array_mutli...
-
- Dec 13, 2015
-
-
hjank authored
# adjusted getParameterInput() to changes in DOM
-
- Dec 10, 2015
-
-
Helena Jank authored
-
Helena Jank authored
# in contextTabController: compactified DOM element attribute assignments # replaced almost all "===" with "==" + added Boolean context values as enums in xmlParser (to access them later in contextInfoController)
-
- Dec 08, 2015
-
-
Helena Jank authored
# in locationInfoMapViewController: some minor changes to make map work again
-
hjank authored
+ in contextTabController: added fillOperatorSelection() --> consistent with fillInputField() and fillOperatorSelection() # in contextTabController: corrected test: operator == "NO_VALUE" # in contextTabController: adjusted test if multiple context infos > 2 then show "all or one" selection # in contextTabController: made formatMultiContextInfosElements() process one item, not all # in contextTabController: for each fill.*() function check for chosen value/operator (i.e. if this is in edit mode) and render fields/selections accordingly - in contextInfoController: removed test for "Error999" (i.e. context info added more than once) # started overhauling locationInfoMapViewController --> TODO: check if it works in edit mode
-
hjank authored
-
hjank authored
-
hjank authored
+ added chosenOperator in contextInfoModel
-
- Dec 06, 2015
-
-
hjank authored
! in checkInformation(): extended "else" scope from "if selectedInfoID == null" till the end of all checking # missing content error is now handled in checkInformation() which from now on returns only the selectedInfo
-
- Dec 05, 2015
-
-
hjank authored
-
- Dec 03, 2015
-
-
hjank authored
-
Helena Jank authored
# moved event handlers for connections from canvasController to relationTabController # moved initUnitEventHandlers() from canvasController to unitController # moved chooseMetaIcon() from unitController to formatSelections + added optional index parameter to addContextInfo() in unitModel + added getItemByID() to contextInfoListModel # started correcting German umlauts in dictionaries # changed data structure of array_multiSelectionContextInfos: 1. "id" is now context ID, "text" its translation; 2. new items now get pushed to the end of the array, changed items stay where they are # changed changeColorMultiContextInfos() into formatMultiContextInfosElements() TODO: editing items in multi selection does not work as it should (see latter changes)
- Nov 26, 2015
-
-
Helena Jank authored
! fixed bug in AuthorSystemContent model's getUnitByUUID() + added context info removal function to Unit model # in formatSelections: made formatUnitIcons() more compact, self-contained and generically usable # simplified loadUnit() in unitController, applying new functions formatUnitIcons() and addMetaDataToUnit() - removed activateFunctionalities() and activateContextConfirmation() # moved contextTab-specific event handlers from generalTabController to contextTabController # replaced returnArray from checkInformation() with object # replaced value of "id" in array_multiSelectionContextInfos (multiple infos of same type possible) TODO: multiContextSelection still troublesome with new kind of IDs, needs to be revised! TODO: compactify "all" or "one" design rendering code
-
- Nov 24, 2015
-
-
Helena Jank authored
+ added function to get unit from entire author system content by its UUID - in contextInfoModel: removed unnecessary complexity in value object + in contextInfoModel: added each part of former value object as context info property + getter and setter functions for each # completed changes towards consistent usage of models: contextInfo, parameters, unit, authorSystem # completed changes in checkInformation(), drawing information from model structure instead of view # renamed parameter input and select fields and divs with generic ID "parameter"+i and "divParameter"+i, resp. # untangled event handlers for clicked or dragged units and properties tab from "blob" activateFunctionalities() # replaced (use and function of) global var global_currentInputUnitName with global var currentUnitUUID # made variable currentConnectionID global
-
- Nov 19, 2015
-
-
Helena Jank authored
# replaced unit DOM element IDs "stateX" with UUIDs # further merged, simplified, and corrected code (matching new data models)
-
- Nov 17, 2015
-
-
Helena Jank authored
- removed metadataTabController script tag from html # overall replacement of myAuthorSystem with instance of AuthorSystemContent model
-
https://github.com/hjank/autorensystemHelena Jank authored
Conflicts: index.html js/authoring/controllers/tabs/contextTabController.js
-
Helena Jank authored
# renamed divContextParameters (+ temporary changes in index.hmtl, will be overridden soon) - removed metaData tab which was a mere placeholder for Tom's CMS work + added metaData dictionary + added functions addMetaDataToUnit() and removeMetaDataFromUnit() # changed parameter access and collection in contextInfoController and locationInfoMapController # moved "get current unit dictionary" code into function getCurrentUnitDataModel()
-
- Nov 14, 2015
-
-
hjank authored
# simplified event handlers for new scenario modal window input
-
- Nov 13, 2015
-
-
hjank authored
-
- Nov 05, 2015
-
-
hjank authored
-
- Nov 01, 2015
-
-
hjank authored
# re-added "template" divParameterSelection in index.html to test select2 plugin (flat ui) on clone # TODO: fix async select2 rendering (not working with dynamically generated DOM elements)
-
- Oct 26, 2015
- Oct 22, 2015
-
-
Helena Jank authored
-
- Oct 14, 2015
-
-
Tobias Moebert authored
-
Tobias Moebert authored
-
Tobias Moebert authored
# event handler and functions for modal windows are separated in different files located in /js/mvc/controller/modalWindows
-
- Oct 13, 2015
-
-
Tobias Moebert authored
-
hjank authored
# moved view changes from unitModel to canvasView
-
- Oct 12, 2015
-
-
Helena Jank authored
+ added access functionality to scenario model and authorSystemContent model
-
- Oct 09, 2015
-
-
Helena Jank authored
- removed redundant local variable "name" from activateFunctionalities(), replacing occurrences with global_currentInputUnitName (equal to "name" after unit is clicked) ! fixed minor bug: unit names are now displayed in menu instead of "undefined"
-
- Oct 08, 2015
-
-
hjank authored
-
- Oct 07, 2015
-
-
hjank authored
-
- Oct 06, 2015
-
-
Helena Jank authored
# renamed reloadController.js authorSystemController.js + added two fake parameters to measurable-context-information.xml for testing # moved cleanSections() to tabs.js + tried to make #selectOperator invisible on showDetailedContextInfo # simplified context class color selection # moved some functionality around so that nothing works anymore... (to be undone)
-