This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Sep 30, 2024
-
-
rhenck authored
All created IDs are now always registered as well.
-
- Jun 03, 2024
-
-
rhenck authored
This is only used by the Editor. It was in common while the SanitizationService was used by the Player which then could display errors. Sanitization has been refactored and this is no longer needed.
-
- Jul 25, 2023
-
-
rhenck authored
This whole class will be deleted soon.
-
rhenck authored
The ClozeDocument needs properly instantiated UIElements for the custom elements. Instead of creating a new ClozeDocument on the basis of what TipTap is producing and replacing the custom parts with instances, the ClozeDocument is kept in place but the custom parts are collected into a list and changed there. #450
-
- Jul 17, 2023
-
-
jojohoch authored
-
- Jul 05, 2023
-
-
rhenck authored
-
- Jun 30, 2023
-
-
rhenck authored
- Remove dynamicPositioning from PositionProperties. This is not knowledge that the element needs to know. In the few places it was used, it was fixed or solved by asking the containing section about which positioning is active. - Fix and improve cloze child sizing. All can now have dynamic width and height. - Fix empty lines in ClozeDocument rendering - Editor SelectionService now knows if a cloze child is selected. This way the PropertiesPanel can show valid dimension inputs regardless of the underlying section.
-
- Jun 15, 2023
-
-
rhenck authored
Also restructure files containing interfaces.
-
- Jun 05, 2023
-
-
jojohoch authored
causes problems after update
-
- May 24, 2023
-
-
rhenck authored
Measure holds the value and a unit for CSS properties.
-
- Jan 06, 2023
-
-
Richard Henck authored
-
- Jan 05, 2023
-
-
jojohoch authored
- Add originListID and originListIndex to all DragNDropValueObjects
-
- Jan 04, 2023
-
-
Richard Henck authored
- allowReplacement (moved from element to list prop) - originList and Index are non-optional (means placeholders have to be used sometimes) - Re-introduced the dict of all DropListComponents. This is the only way I have found to get a reference to a DropListComponent by ID. This is needed for returning to origin. Origin is not actually part of the transaction and needs to be fetched from somewhere else. Hence the dict. - Console statements still present for debugging.
-
- Jan 03, 2023
-
-
jojohoch authored
- Add 'Button' as possible child of cloze elements
-
- Nov 07, 2022
-
-
rhenck authored
- Replace Material Droplist with native HTML events - Remove simple-drop-list element; Cloze elements now use the normal DropList element - Add example units
-
- Oct 14, 2022
-
-
rhenck authored
-
- Sep 15, 2022
-
-
rhenck authored
- remove ID handling from model classes. This is now done by the editor itself (mainly unit service). - Rename and move IDManager to editor as IDService
-
rhenck authored
Just called from the editor, before creating the Unit instance. It goes through all IDs and checks for duplicates. If found it generates a new one and shows the prompt.
-
- Sep 13, 2022
- Sep 12, 2022
-
-
rhenck authored
When calling the element constructor may generate IDs. Those appear as already registed later when the unit is instantiated for real.
-
- Sep 08, 2022
-
-
jojohoch authored
- Sanitize without using unit definition version
-
- Sep 06, 2022
-
-
jojohoch authored
-
- Sep 05, 2022
-
-
jojohoch authored
- Add "isOlderThan" method to the "SanitizationService" to distinguish old ToggleButtons with the property "option" from new ones - Use SanitizationService.isUnitDefinitionOutdated in Player to set the unitDefinitionVersion (should be modified!)
-
jojohoch authored
The equality check compares the reference of the array and not the values of the array.
-
- Aug 09, 2022
-
-
rhenck authored
sanatizer TextImageLabel: position -> imgPosition DragNDropValueObject stringValue -> text imgSrcValue -> imgSrc RadioButtonGroupComplexElement columns -> options Likert columns -> options
-
- Aug 01, 2022
-
-
rhenck authored
#298
-
- Jun 03, 2022
-
-
rhenck authored
Remove 'any's be adding proper types and using 'never'.
-
- Jun 01, 2022
-
-
rhenck authored
-
rhenck authored
Now properly finds all normal and simple drop lists. This is achieved by a new method of unit all it's sub-components, which returns all contained elements with and optional type filter. Also improve (still not very pretty) styling of the drop list props panel. #260 #259
-
rhenck authored
-
rhenck authored
The creation of a temporary cloze elements fails when it encounters unknown child types. Therefore we use a static ClozeElement method to get the child elements from the document instead of the whole element.
-
rhenck authored
- Elements initialize their fields explicitly and not with Object.assign, since Object.assign also assigns (and therefore overwrites) parent fields. - IDService is no longer an Angular service but a basic singleton. This allows to use it in classes. - The IDManager can be optionally passed to unit and element constructors. When present the elements check and fix their given ID when created. This way elements can be created without depending on the external IDManager but also with the dependency. - ElementFactory is no longer used to create elements. Those are now either created directly via 'new' or via the Section, which knows the different element types.
-
- May 17, 2022
-
-
rhenck authored
This way elements can handle their logic themselves without having to rely on outside utility classes. Also restructure files in common in a more logical way.
-
- May 10, 2022