refactor: [M3-6282] MUI v5 Migration - SRC > Features > StackScripts pt2#9786
refactor: [M3-6282] MUI v5 Migration - SRC > Features > StackScripts pt2#9786coliu-akamai merged 24 commits intolinode:developfrom
SRC > Features > StackScripts pt2#9786Conversation
| }; | ||
|
|
||
| export default recompose<CombinedProps, Props & RenderGuardProps>( | ||
| RenderGuard, |
There was a problem hiding this comment.
Removed this RenderGuard as the StackScriptRow isn't using it (no updateFor props passed in where it's being used)
|
(removing Hana since she's OOO!) |
packages/manager/src/features/StackScripts/SelectStackScriptPanel/SelectStackScriptsSection.tsx
Outdated
Show resolved
Hide resolved
abailly-akamai
left a comment
There was a problem hiding this comment.
Looks great! thanks for the cleanup
- Found no styling regression ✅
- Found no console errors from new styled components ✅
- Found no functionality regression on either stackscript or marketplace flows
Left a few comments for some cleanup
packages/manager/src/features/StackScripts/SelectStackScriptPanel/SelectStackScriptsSection.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Overall, this looked good! Tested Stackscripts landing, create, and details page, rebuilding from Stackscript, and create from Stackscript.
I did notice one minor spacing change between the Revision Note field and the action buttons at the bottom of StackScripts Create -- was this intentional?
| Prod | This Branch |
|---|---|
![]() |
![]() |
I also noticed two things unrelated to this PR and present in prod, but, I think, worth follow up ticket(s) to address:
- On the edit form, when a stackscript is submitted without an image, the help icon shifts downward to be off-center once the error appears beneath the text field.
Screen.Recording.2023-10-17.at.9.52.18.AM.mov
- When a user tries to submit a stackscript without a label and image, receives validation errors, and then comes back into that same edit form, the field values don't repopulate with the label and image data, even though they are present in the API request for that stackscript.
No prepopulated label and image fields:
Screen.Recording.2023-10-17.at.9.53.21.AM.mov
The request that was made when the edit form was loaded, which includes the existing label and image data:

|
Thanks for catching Mariah! Fixed spacing + created tickets [M3-7280] and [M3-7281] for these bugs! |


Description 📝
Part 2 of migrating the MUI styling for the
StackScriptspackage. This PR is for theStackScriptsPanel,UserDefinedFieldsPanel, subpackages and the files in the root package.Once Part 1 gets merged in, will rebase this PR to get rid of merge conflicts
Changes 🔄
How to test 🧪
There should be no visual changes.
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
Additionally re-verify part I's checks:
As an Author I have considered 🤔
Check all that apply