-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
-
Team Alpha - Sprint 3 I2-2025
This issue involves implementing a dynamic and user-friendly form experience for configuring optional placements within the LTI tool configuration page. Users should be able to select one or more placement types through an autocomplete field that allows multiple selections, similar to tag input behavior. For each selected placement type, a corresponding configuration section should be displayed on the form.
These sections are initially hidden and are only shown when their associated placement type is selected. If a placement type is removed, its section should be hidden again. This approach enables users to configure only the placements relevant to their needs, resulting in a cleaner, more intuitive form interface.
To implement this change, as outlined in the prototype, the following scope is proposed:
- New form section for placement type selection: The LTI tool configuration page should include a new form section titled "Placements". This section will dynamically display a configuration area for each supported placement type, based on user selection.
- Settings: Within this section, provide a single setting named "Placements", implemented as an autocomplete input that allows multiple placement types to be selected.
- Behavior:
- All placement configuration sections should be hidden by default.
- When a user selects one or more placement types via the autocomplete input, the corresponding configuration sections should be shown.
If a placement type is removed from the selection, its associated section should be hidden again. - Upon saving the form, the selected placement types and their configurations must be saved. Hidden placement configurations should not be saved.
- When revisiting the form to edit an existing LTI tool configuration, previously selected placements and their sections should be restored and visible.
- has to be done after
-
MDL-85358 Optional placement configuration: Technical discovery
-
- Closed
-
- is blocked by
-
MDL-85514 Forms hideIf/disabledIf 'in' rule not correctly implemented for multiselect/autocomplete
-
- Waiting for peer review
-
-
MDL-82996 Make hideIf() available for header element
-
- Waiting for peer review
-
-
MDL-85357 Enable placement configuration during LTI tool creation
-
- Waiting for peer review
-