-
Improvement
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-75146-master -
-
1
-
HQ Sprint 0.1 Database
As a teacher
I want to identify an element by a unique id on a Database template
so I can apply styling and behavior to the element
For some of the new templates defined on the Database project prototype we need some elements to be collapsable. To implement this accordion behavior in an easy way, we need to identify the elements by the id.
A new ##id## tag will be added to templates so the users and the new presets could use to implement the behavior they need.
This issue is part of the Moodle 4.1 database module project. All the related code to this issue that does not follow the current coding style or present maintenance problems will be refactored. In this case, the refactored areas are focused in 3 main areas:
- Create a generic mod_data\manager class for the mod_data (similar to the one used in mod_h5pactivity)
- Refactor the template editor to use output classes and mustache files (the functionality will remain the same)
- Refactor the print entry parser into its own class mod_data\template and use it instead of the current global function
- blocks
-
MDL-75211 Select/Unselect all options should be visible when there is a 'delete' checkbox on database activity List template only
- Closed
-
MDL-75411 Create a new preset for 'Proposals'
- Closed
- caused a regression
-
MDL-75353 mod_data_get_entries webservice fails when no fields are created
- Closed
-
MDL-75390 Return value of mod_data\template::get_tag_export_replacement() exception when portfolios are enabled
- Closed
-
MDL-75414 Some field types, like images or URL, are not rendered correctly on Single view for Database activity
- Closed
-
MDL-75521 Fix get_tag_moreurl_replacement to return the whole URL for 'Show more'
- Closed
- has been marked as being related by
-
MDL-75275 Create new dropdown kebab menu tag with all the actions for the "List view" and "Single view" templates
- Closed
- will help resolve
-
MDL-75236 mod/data/amd/src/templateseditor.js generate a console warning when editing csstemplate or jstemplate.
- Closed