MDL-87540 dashboard: Add course overview block by default

This commit is contained in:
Muhammad Arnaldo
2026-02-04 10:56:17 +07:00
parent 5f23e7ec57
commit 2f19fb4cc1
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -2820,6 +2820,7 @@ function blocks_add_default_system_blocks() {
'recentlyaccesseditems',
],
'content' => [
'myoverview',
'timeline',
'calendar_month',
]]),
+1
View File
@@ -23,6 +23,7 @@ Feature: Add blocks to dashboard page
And I add the "Latest announcements" block
And I turn editing mode off
Then I should see "Latest announcements" in the "Latest announcements" "block"
And I should see "Course overview" in the "Course overview" "block"
And I should see "Timeline" in the "Timeline" "block"
And I should see "Calendar" in the "Calendar" "block"
And I should not see "Upcoming events"
+1
View File
@@ -23,6 +23,7 @@ Feature: Reset dashboard page to default
And I press "Reset page to default"
And I click on "Yes" "button" in the "Confirm" "dialogue"
Then "Latest announcements" "block" should not exist
And "Course overview" "block" should exist
And "Timeline" "block" should exist
And "Calendar" "block" should exist
And I should not see "Reset page to default"