Skip to content

Reorganise local_o365 sync settings configuration page#3199

Open
weilai-irl wants to merge 1 commit into
MOODLE_500_STABLEfrom
wip-131037-m500
Open

Reorganise local_o365 sync settings configuration page#3199
weilai-irl wants to merge 1 commit into
MOODLE_500_STABLEfrom
wip-131037-m500

Conversation

@weilai-irl

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 27, 2026 15:45
@weilai-irl weilai-irl self-assigned this May 27, 2026
@weilai-irl weilai-irl added this to the 2026-03 milestone May 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Splits the combined local_o365_sync admin settings page into two separate pages — User Sync and Course Sync — and reorders Cohort sync / Course request sections so they live on the Advanced page (before Tools). Adds backward-compat redirects and tab constants so existing links/bookmarks still resolve.

Changes:

  • Replace the single local_o365_sync settings page with new local_o365_usersync and local_o365_coursesync pages, and move Cohort sync + Course request settings onto the Advanced page above Tools.
  • Add a legacy redirect from section=local_o365_sync to local_o365_usersync, two new tab constants (LOCAL_O365_TAB_USERSYNC, LOCAL_O365_TAB_COURSESYNC), and map the old LOCAL_O365_TAB_SYNC value to the new User Sync page.
  • Update local_o365_get_settings_nav_html() and add the corresponding settings_header_usersync / settings_header_coursesync language strings.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
local/o365/settings.php Splits sync settings into two pages, relocates Cohort/Course-request sections to Advanced, and adds back-compat redirect for the old section URL.
local/o365/lib.php Adds two new tab constants and updates the settings nav helper to list User Sync and Course Sync as separate tabs.
local/o365/lang/en/local_o365.php Adds settings_header_usersync and settings_header_coursesync strings for the new tabs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants