In previous versions of Moodle we recommended use of the fallback
resource with /error/index.php.
This is incompatible with the routing system because they use the same
mechanism for responding to any unknown request.
To better handle this we need to move the current error handler page to
a routed page, and to provide a shim for the old location.
At the same time we need to improve the Slim Error handling middleware
to respond with our 404 handler for all 404s, except for those on API
routes where we always respond with JSON.
This is the beginning of the end for non-routed pages in Moodle and the
start of SEO-friendly page URLs.
A 'shim' is provided for backwards compatibility.
Expand the methods available in the stored_progress_bar output component
and stored_progress_task_trait to allow a progress bar to be created in
a "pending" state before the associated task is executed.
- Update and improve styles for .btn-icon helper class for consistency.
- Added new $btn-icon-border-radius SCSS variable to cuztomize the btn-icon
border radius.
- Fix and simplify current .btn-icon usages
* Final deprecation for the use of a boolean as 'primary' parameter
(4th parameter of the constructor), used before to specify a button
was a primary button. This has been replaced by a wider range of
choices.
- .custom-check is now .form-check.
- .custom-check.custom-switch is now .form-check.form-switch.
- .custom-select is now .form-select.
- .custom-file and .form-file have been replaced by custom styles on top of .form-control.
- .custom-range is now .form-range.
- Dropped .input-group-append and .input-group-prepend. You can now just add buttons
and .input-group-text as direct children of the input groups.
This issue creates a couple of enum to style buttons and text
alignments. Enums can be used by output classes to limit the
types of values accepted by using strict types.
Unique labels for the block regions:
* `side-pre` blocks - "Blocks"
* `side-post` blocks - "Supplementary blocks"
* `content` blocks - "Main content blocks"
Blocks in the main content region (div role="main") should not also be
in an <aside> as it is a top-level landmark.
Blocks are contained in an <aside> which has a default ARIA role of
"complementary", a top-level landmark. So assigning a "complementary"
role for block instances is not needed. As blocks are already in a
<section> tag which has a default role of "region", there's no need
to override the ARIA role, unless specified by the block plugin.
Read more at:
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/
Avoid mixing float/string types, where the decimal separator could
vary according to current locale (as per previous fix 5a1aef5a, which
was subsequently re-broken by b92886ad).
Sabina Abellán from the UX team has created the following custom icons:
- ai*:sparkles
- core:e/insert_col_after
- core:e/insert_col_before
- core:e/split_cells
- core:e/text_color
- core:i/bulk_edit
- core:i/export
- core:i/grade_partiallycorrect
- core:i/item
- core:t/completion_incomplete
- core:t/locktime
- mod_scorm:browsed
- tool_policy:level
In addition to updating these SVG files, the entries in the icon_map() have
been removed to ensure that the customized version is always used.
While addressing MDL-82211, these icons were identified as candidates
for deprecation. After confirmation that they are no longer in use,
they can now be safely deprecated.