Ulf Kroehne
Paris, 2022/11/07 - 2022/11/08
How to test Cross-Browser-Compatibility?
Basic cross-browser testing can be performed using browsers that can be installed on Windows computers by copying the preview link.
What’s tested:
What’s not tested:
Alternatives
How to deal with different CBA ItemBuilder versions?
New versions of the CBA ItemBuilder are created in such a way that they can open items created in the previous version.
Migration
Never try to open an item created with a newer version with the CBA ItemBuilder.
How to identify the version from a CBA ItemBuilder project file?
Use the most recent version of the CBA ItemBuilder to avoid version issues.
stimulus.json
:How to layout pages for production?
The Page Editor displays the position of components in such a way that editing is possible1. The exact appearance can be checked in the Renderer view. Relevant is, how Pages are displayed in the Preview.
Tips regarding item layout:
HTMLTextFields
overlapping with Button
-components etc.).Rectangles
over interactive components since Rectangles
absorb user interactions.X
/Y
-coordinates.Problem Description: The Renderer-view is not working properly.
Detection: Render shows Preview failed?
Work-Around:
Note: The Renderer is not always correct (even if is not showing Preview failed).
The Renderer-view is based on an older version of the Chromium browser, that does not show the properites Gap Column and Gab Row of Auto-Layout-Panels properly.1 As a work-around, check item layout in the final Preview.
Problem Description: Auto-Layout Panels are note updated?
Background:
Work-around:
Close the Page Editor, open the Renderer and open the page again in the Page Editor.
Open the Set Auto Layout dialog and close it (to update the layout definition).
Problem Description: Context menu for in the Project View is not working
Background:
Work-around:
If you can’t find the Windows in the CBA ItemBuilder user-interface….
"workspace\"
.If you can’t use the clipboard as expected…
The clipboard needs to make sure the nesting of components remains valid. Components are pasted X+10
and Y+10
(i.e., moved 10 pixels down & right).
Panels
with nested components if required) can be copied using the clipboard:How to use the Page Editor efficiently?
Before using the CBA ItemBuilder it might be worse to read the description of Visual Editing to work efficiently.
General tips for working with the Page Editor:
If components are perfectly nested, the outer components can only be selected via the Component Edit view. For instance, the dialog Configure Select Groups can only be opened using the context-menu of the Frame
component.
Specific tips for working with the Component Edit:
X
,Y
)-coordinates.Editing HTMLTextfields
/ Textfields
seems inconsistent?
Only one editor for components of type TextField
and HTMLTextField
can be open at a time!
Tips specifically for HTMLTextfield
and Textfield
x
(in the Tab title), if you want to save the changes. Use the buttons Save and Close instead.HTMLTextFields
if white text needs to be edited (otherwise, the text appears invisible).TextField
editor sometimes adds White spaces, (invalidating MathJax-syntax). Workaround? Remove white spaces when they appear.Besides variables (and conditional links), the CBA ItemBuilder provides a powerful logic layer with so-called Finite-State Machines (= UML1 statechart / UML State Machines).
Summary
Events Triggered by User-Interactions or Timers
Events can be processed in Finite-State Machine to
Drag-and-Drop & Click-Responses
Why?
What?
How?
(Theoretical) Illustration
What’s the Power of FSMs?
The CBA ItemBuilder distinguishes between two forms of data: Scoring information (i.e. responses for a result record) and log data (i.e. raw log events).
Scoring (called ItemScore)
Log-Data (called Traces)
The CBA ItemBuilder is an open tool that A) can use existing HTML5/JavaScript content and B) CBA ItemBuilder generated items can be embedded into other web-based environments.
Example for A) Use of H5P1-content:
Example for B)
Thank you for your attention.