This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- 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.
-
- Feb 23, 2024
- Aug 03, 2023
-
-
jojohoch authored
#511
-
- Jul 31, 2023
-
-
rhenck authored
-
- 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 24, 2023
-
-
rhenck authored
In Player-context the constructors are to fail, when the given properties are not exactly as expected. Therefoore they are validated. When this validation fails, an environment variable is checked to determine if the element should be created anyway with defaults. This switch is off in player-context. But the Editor is not so strict and can create elements with incomplete parameters. There is also a new VersionManager which checks given unit definitions for version-validity. Upon failing this check Player and Editor show error messages. The Editor accepts a certain unit definition version, but shows a warning. The Editor checks units for invalid references after loading. If any are found, they are removed and an info-panel is shown.
-
- 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 27, 2023
-
-
rhenck authored
-
- Jun 15, 2023
-
-
rhenck authored
Also restructure files containing interfaces.
-
- Jun 05, 2023
- 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
- Oct 14, 2022
-
-
rhenck authored
-
- Oct 05, 2022
-
-
jojohoch authored
-
- Sep 21, 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
-