Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import ModalRegistry instead of ModalFactory #1084

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

omernawaz
Copy link
Contributor

We need to import ModalRegistry not ModalFactory when defining a new Modal Class for creating custom modal types

Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit b470369
🔍 Latest deploy log https://app.netlify.com/sites/moodledevdocs/deploys/66a6f1cd69920100084b4fb6
😎 Deploy Preview https://deploy-preview-1084--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

github-actions bot commented Jul 19, 2024

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 51 🟢 95 🟢 100 🟢 90 🟢 100 Report
/docs/4.4/apis/commonfiles 🟠 66 🟢 93 🟢 100 🟢 100 🟢 100 Report
/general/development/gettingstarted 🟠 74 🟢 95 🟢 100 🟢 90 🟢 100 Report
/general/releases 🟠 77 🟢 95 🟢 100 🟢 100 🟢 100 Report

We need to import ModalRegistry not ModalFactory when defining a new Modal Class for creating custom modal types
Copy link
Member

@andrewnicols andrewnicols left a comment

Choose a reason for hiding this comment

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

Thanks for catching this. I've taken the liberty of applying your patch to 4.1 too.

@andrewnicols andrewnicols added this pull request to the merge queue Jul 29, 2024
Merged via the queue into moodle:main with commit ded098b Jul 29, 2024
6 of 7 checks passed
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