Skip to content

Commit

Permalink
MDL-78203 lib: document new components
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranrecio committed Aug 11, 2023
1 parent cb54108 commit fc37e6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions course/format/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Some considerations about the activitybadge feature:
- Optionally, any other extra HTML attributes to the badge element (for example, data attributes).
* Protected function `core_courseformat\output\local\content\section\availability::availability_info()` has been deprecated,
`core_courseformat\output\local\content\section\availability::get_availability_data()` should be used instead.
* New course format output classes:
- core_courseformat\output\local\content\cm\groupmode output class to display the groupmode icon in the activity card.

=== 4.2 ===
* New core_courseformat\base::get_context() to get the course context directly from the format instance.
Expand Down
5 changes: 5 additions & 0 deletions lib/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ information provided here is intended especially for developers.
* The moodle-core-notification-confirm module, found under the M.core.confirm namespace, has been deprecated.
Any code using it should be rewritten as an ESM and use the core/notification module instead.
See MDL-77174 for further information.
* New set of output generic components. Check the component library for more information:
- core\output\local\action_menu\subpanel to add subpanels to action menus.
- core\output\local\dropdown\dialog to display HTML inside a dropdown element.
- core\output\local\dropdown\status to render a user choice into a dropdown.
- core\output\choicelist class to render a list of user choices. It combines with dropdown status and action menu subpanels.

=== 4.2 ===

Expand Down

0 comments on commit fc37e6c

Please sign in to comment.