fix: remove all MUI dependencies causing plugin load failure #3
Reference in New Issue
Block a user
Delete Branch "fix/remove-mui-dependencies"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
@mui/materialand@mui/icons-materialimportsTypeError: undefined is not an object (evaluating 'q.createSvgIcon')Root Cause
The Headlamp plugin environment doesn't provide the full MUI library, causing
createSvgIconto be undefined when our plugin tries to use MUI icons and components.Changes
ChipandShieldIconwith<button>and 🛡️ emojiButtonandRefreshIconwith<button>and 🔄 emoji<button>,<input type="checkbox">,<label>Buttonwith HTML<button>Test Plan
tsc --noEmit)createSvgIconor@muiin dist/main.jsVerification
🤖 Generated with Claude Code