Add options to show links to additional Microsoft apps in the Microsoft block - #3374
Open
Lai Wei (weilai-irl) wants to merge 1 commit into
Open
Add options to show links to additional Microsoft apps in the Microsoft block#3374Lai Wei (weilai-irl) wants to merge 1 commit into
Lai Wei (weilai-irl) wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds configurable options to the Microsoft block so site admins can optionally display links to additional Microsoft 365/Viva apps (with tenant-specific URL settings for certain Viva experiences), along with the required icons and styling.
Changes:
- Add new admin settings for toggling additional Microsoft 365/Viva links (and required URL settings for Amplify/Connections/Learning).
- Render the new links in the Microsoft block when enabled, including URL validation for tenant-specific links.
- Add SVG icons and CSS classes for the new app links.
Reviewed changes
Copilot reviewed 7 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| blocks/microsoft/version.php | Updates plugin version for the change set. |
| blocks/microsoft/styles.css | Adds CSS icon classes for the new app links. |
| blocks/microsoft/settings.php | Adds new admin settings (toggles + required URL settings for select Viva apps). |
| blocks/microsoft/lib.php | Defines regex constants for validating tenant-specific Viva URLs. |
| blocks/microsoft/lang/en/block_microsoft.php | Adds language strings for the new links and settings (and a new validation error string). |
| blocks/microsoft/classes/admin_setting_required_url.php | Introduces a custom admin setting type to require a URL when a companion checkbox is enabled. |
| blocks/microsoft/block_microsoft.php | Adds conditional rendering of the new app links in the block UI. |
| blocks/microsoft/pix/word.svg | Adds Word icon. |
| blocks/microsoft/pix/excel.svg | Adds Excel icon. |
| blocks/microsoft/pix/powerpoint.svg | Adds PowerPoint icon. |
| blocks/microsoft/pix/vivaengage.svg | Adds Viva Engage icon. |
| blocks/microsoft/pix/vivaamplify.svg | Adds Viva Amplify icon. |
| blocks/microsoft/pix/vivaconnections.svg | Adds Viva Connections icon. |
| blocks/microsoft/pix/vivaglint.svg | Adds Viva Glint icon. |
| blocks/microsoft/pix/vivagoals.svg | Adds Viva Goals icon. |
| blocks/microsoft/pix/vivainsights.svg | Adds Viva Insights icon. |
| blocks/microsoft/pix/vivalearning.svg | Adds Viva Learning icon. |
| blocks/microsoft/pix/vivapulse.svg | Adds Viva Pulse icon. |
| blocks/microsoft/pix/linkedin.svg | Adds LinkedIn icon. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Lai Wei (weilai-irl)
force-pushed
the
wip-135731-m501
branch
from
August 7, 2026 13:43
08eb8fe to
15c5e91
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.