Skip to content

Conversation

@myarmolinsky
Copy link
Contributor

@myarmolinsky myarmolinsky commented Jul 21, 2025

@myarmolinsky myarmolinsky force-pushed the material-7 branch 3 times, most recently from d4c3cf8 to b358c3b Compare July 22, 2025 11:42
@flowzone-app
Copy link
Contributor

flowzone-app bot commented Jul 22, 2025

Website deployed to CF Pages, 👀 preview link https://2bf76ff1.balena-design-system.pages.dev

"@mui/material": "^6.3.1",
"@mui/styled-engine-sc": "^6.3.1",
"@mui/x-data-grid": "^7.23.5",
"@mui/lab": "7.0.0-beta.14",
Copy link
Contributor

@JSReds JSReds Sep 17, 2025

Choose a reason for hiding this comment

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

is it still necessary ? I mean do we still need to keep the beta ?

that was the reson for it: #221

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That PR you linked is not the reason for the beta, it is the reason for the version not having a ^. And I believe we have agreed that it's better practice in general not to have a ^ for beta versions.

The lab package itself is all betas, it only changes major versions aside from that whenever MUI base is bumped. We use the lab package for the Tabs components. As long as those have not graduated to MUI base (or been removed/canceled), we cannot remove the lab package

@myarmolinsky myarmolinsky force-pushed the material-7 branch 4 times, most recently from ddc819c to 65f9cb7 Compare November 6, 2025 17:51
@myarmolinsky myarmolinsky force-pushed the material-7 branch 5 times, most recently from c2b2185 to 9f71146 Compare November 6, 2025 18:02
@myarmolinsky myarmolinsky requested a review from JSReds November 6, 2025 20:05
const schemaEnumNames: string[] | undefined = findInObject(
schema,
'enumNames',
'ui:enumNames',
Copy link
Contributor

Choose a reason for hiding this comment

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

I like that they finally removed enumNames, since it was never properly supported by JSON Schema typing.

However, this new logic won’t work for two reasons:

ui:enumNames should now be passed through the uiSchema, not the schema, something we haven’t updated yet (and, if I recall correctly, RJST doesn’t even support a uiSchema at this point).

The function is currently looking for ui:enumNames inside the schema, where it will never be found. As a result, I’m pretty sure that all enumNames are now broken with this logic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're probably right, I have reverted this line

@myarmolinsky myarmolinsky force-pushed the material-7 branch 2 times, most recently from c8806e1 to acf28f6 Compare November 11, 2025 12:31
Change-type: patch
Change-type: patch
@myarmolinsky myarmolinsky marked this pull request as ready for review November 13, 2025 16:33
@myarmolinsky myarmolinsky merged commit 9f27038 into master Nov 13, 2025
51 checks passed
@myarmolinsky myarmolinsky deleted the material-7 branch November 13, 2025 16:33
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.

3 participants