Skip to content

Conversation

@kyledurand
Copy link
Member

@kyledurand kyledurand commented Oct 6, 2022

Partial fix for #7330

Spin link

Part two might be a css based fix. The heavy re-rendering in the admin introduced with the React 18 work is causing a ton of layout thrashing in this component. The root cause will definitely need to be fixed but we'll do what we can on our end in the meantime

@kyledurand kyledurand self-assigned this Oct 6, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2022

size-limit report 📦

Path Size
polaris-react-cjs 204.9 KB (-0.01% 🔽)
polaris-react-esm 131.23 KB (-0.01% 🔽)
polaris-react-esnext 186.52 KB (-0.01% 🔽)
polaris-react-css 41.45 KB (0%)

…asured state

Call setMeasuredActions with a function to ensure it always uses the latest measuredActions
@kyledurand kyledurand force-pushed the page-actions_use-state-callback branch from 0072955 to 8f0f0ab Compare October 6, 2022 13:47
@Shopify Shopify deleted a comment from github-actions bot Oct 6, 2022
@kyledurand
Copy link
Member Author

/snapit

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2022

🫰✨ Thanks @kyledurand! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/[email protected]
yarn add @shopify/[email protected]
yarn add @shopify/[email protected]

@kyledurand kyledurand marked this pull request as ready for review October 6, 2022 17:41
@kyledurand kyledurand changed the title [Page] Use callback in measure actions [Page] Use state callback in measure actions Oct 6, 2022
@kyledurand kyledurand merged commit b1b5764 into main Oct 6, 2022
@kyledurand kyledurand deleted the page-actions_use-state-callback branch October 6, 2022 19:52
@github-actions github-actions bot mentioned this pull request Oct 6, 2022
kyledurand pushed a commit that referenced this pull request Oct 7, 2022
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @shopify/[email protected]

### Minor Changes

- [#7216](#7216)
[`fbf2f8832`](fbf2f88)
Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Add
migration to replace static mixins with declarations

### Patch Changes

- [#7328](#7328)
[`b31f51f25`](b31f51f)
Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Add
namespace support to the `replace-static-breakpoint-mixins` migration

## @shopify/[email protected]

### Minor Changes

- [#7360](#7360)
[`f7140123d`](f714012)
Thanks [@mrcthms](https://github.com/mrcthms)! - Update `IndexTable` in
sortable mode to fix visual bugs and include label Tooltips

### Patch Changes

- [#7361](#7361)
[`b1b576403`](b1b5764)
Thanks [@kyledurand](https://github.com/kyledurand)! - Use state
callback in page actions


- [#7319](#7319)
[`4b95fdc64`](4b95fdc)
Thanks [@qt314](https://github.com/qt314)! - Update the `VideoThumbnail`
play button user experience

## @shopify/[email protected]

### Patch Changes

- Updated dependencies
\[[`fbf2f8832`](fbf2f88),
[`b31f51f25`](b31f51f)]:
    -   @shopify/[email protected]

## [email protected]

### Minor Changes

- [#7254](#7254)
[`61cf086ed`](61cf086)
Thanks [@nickpresta](https://github.com/nickpresta)! - Added ability to
collapse props that have been expanded.

### Patch Changes

- [#7305](#7305)
[`b0445cf9b`](b0445cf)
Thanks [@selenehinkley](https://github.com/selenehinkley)! - Added
"Getting started" section

- Updated dependencies
\[[`f7140123d`](f714012),
[`b1b576403`](b1b5764),
[`4b95fdc64`](4b95fdc)]:
    -   @shopify/[email protected]

## [email protected]

### Patch Changes

- Updated dependencies
\[[`f7140123d`](f714012),
[`b1b576403`](b1b5764),
[`4b95fdc64`](4b95fdc)]:
    -   @shopify/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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