Skip to content

chore: remove 'matchMedia' mock - #2370

Merged
sdirix merged 1 commit into
eclipsesource:masterfrom
sdirix:remove-matchmedia-mock
Aug 28, 2024
Merged

chore: remove 'matchMedia' mock#2370
sdirix merged 1 commit into
eclipsesource:masterfrom
sdirix:remove-matchmedia-mock

Conversation

@sdirix

@sdirix sdirix commented Aug 27, 2024

Copy link
Copy Markdown
Member

The 'matchMedia' mock was previously introduced to workaround the 'Hidden' component of Material UI not rendering in case media queries are not available in the environment.

With JSON Forms 3.3.0 we removed all usages of the 'Hidden' component so the 'matchMedia' mock is also no longer required.

@sdirix
sdirix requested a review from lucas-koehler August 27, 2024 16:13
@netlify

netlify Bot commented Aug 27, 2024

Copy link
Copy Markdown

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit a23e990
🔍 Latest deploy log https://app.netlify.com/sites/jsonforms-examples/deploys/66cf378b0e5d2e0007e87eed
😎 Deploy Preview https://deploy-preview-2370--jsonforms-examples.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.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 83.284% (-0.001%) from 83.285%
when pulling 8baefa6 on sdirix:remove-matchmedia-mock
into bd11754 on eclipsesource:master.

@lucas-koehler lucas-koehler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for the cleanup ✨

The 'matchMedia' mock was previously introduced to workaround the
'Hidden' component of Material UI not rendering in case media queries
are not available in the environment.

With JSON Forms 3.3.0 we removed all usages of the 'Hidden' component
so the 'matchMedia' mock is also no longer required.
@sdirix
sdirix force-pushed the remove-matchmedia-mock branch from 8baefa6 to a23e990 Compare August 28, 2024 14:43
@sdirix

sdirix commented Aug 28, 2024

Copy link
Copy Markdown
Member Author

I rebased on master, no other changes

@sdirix
sdirix merged commit a23e990 into eclipsesource:master Aug 28, 2024
@sdirix
sdirix deleted the remove-matchmedia-mock branch August 28, 2024 14:54
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