This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Jun 19, 2024
-
-
rhenck authored
-
- Jun 17, 2024
-
-
rhenck authored
-
- Jan 29, 2024
-
-
jojohoch authored
#608
-
- Nov 24, 2023
-
-
rhenck authored
-
- 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.
-
- Nov 30, 2022
-
-
rhenck authored
Uses external software 'MathLive'. Distpacker issues with mathlive have been solved in a custom distpacker.ts in scripts-folder. This is now used instead of the distpacker from the npm package.
-
- 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 25, 2022
-
-
rhenck authored
-
- Oct 17, 2022
-
-
rhenck authored
The unit tests errored out because of circular dependencies via the Elementfactory class. Therefore: - No longer creates styling/position/player-Properties. This is done in the Element parent class. - Move element creation from Section to the ElementFactory class instead.
-
- Oct 14, 2022
-
-
rhenck authored
-
- Oct 07, 2022
-
-
rhenck authored
- Make position props on buttons optional - Move UIElement creation back to Factory instead of within Section
-
- 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
-
- Sep 12, 2022
-
-
rhenck authored
There should never be the case, therefore error out.
-
- Sep 08, 2022
-
-
jojohoch authored
- Use Unit's getAllElements method of Unit instead of UnitUtils.findUIElements to get all DragNDropValueObjects in UnitComponent -Remove unnecessary timeout in UnitComponent
-
- Aug 10, 2022
-
-
rhenck authored
Move label creation to ElementFactory. No way has been found to have an abstract static method for OptionElement's label generation, therefore silence the linter. Same for getElementComponent.
-
- Aug 08, 2022
-
-
rhenck authored
-
- Aug 01, 2022
- Jun 09, 2022
-
-
rhenck authored
- Missing type inforamtion as constructor parameter - Also the new ID generation mechanism uses the type of the element to request an ID from the the IDManager. Here was a mismatch, where the type is 'likert-row', but the IDManager only knew 'likert_row'. This is now files all IDs use hyphens instead of underscores.
-
- Jun 03, 2022
- Jun 01, 2022
-
-
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 23, 2022
-
-
jojohoch authored
- Now only UIElements are found - HTML parts of the text editor are ignored
-
- May 20, 2022
-
-
jojohoch authored
-
- 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 09, 2022
-
-
jojohoch authored
-
- May 05, 2022
-
-
rhenck authored
Makes more sense logically to pass the cloze element as a whole instead of just the document. Knowing about the document is the responsibility of the method not the caller.
-
- May 02, 2022
-
-
rhenck authored
With this setting elements are copied when being dropped to another list. On drop it is also checked if the item-ID is already present in the list. If it is the drop event is silently discarded. This allows putting items back in the list without creating duplicate IDs. Lists with this setting: - do show a placeholder of the items being dragged. This way it is conveyed that the item will remain there after being dropped. - don't show a placeholder when items are hovered over them, to avoid confusion with duplicate items. Sorting within DropLists is disabled, since it causes moving items within the list. It has to be discussed if this feature is even needed.
-
rhenck authored
- Split text field and drop list, so they can have differing props - Improve their dimension default values - Improve alignment of all cloze children components - Add dynamic width parameter of toggle buttons to dimension properties panel. Therefore the postion tab can always be shown and no longer needs a condition.
-
- Apr 25, 2022
- Apr 22, 2022
- Apr 21, 2022
-
-
rhenck authored
The package karma-spec-reporter is to show more info about run tests on the console. Numbers on the test files refers to the version (2 digits for minor; patch number ignored).
-
- Apr 20, 2022
- Apr 19, 2022
-