Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for view transitions when using react-router-dom Link #11580

Closed
wants to merge 15 commits into from

Conversation

laurkim
Copy link
Contributor

@laurkim laurkim commented Feb 8, 2024

WHY are these changes introduced?

Resolves #1499.

Add support for view transitions with new viewTransition prop on:

  • Breadcrumbs
  • Button
  • Navigation
  • Page
  • UnstyledLink

Removes progress bar aka Loading from Frame and all references to it in polaris-react and polaris.shopify.com.
Updates transitions for Navigation to improve snappiness and UX.

WHAT is this pull request doing?

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

🎩 checklist

@laurkim laurkim added the 🤖Skip Changelog Causes CI to ignore changelog update check. label Feb 8, 2024
@Shopify Shopify deleted a comment from github-actions bot Feb 8, 2024
@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from c13c9f8 to 266c5d1 Compare February 8, 2024 19:02
@laurkim laurkim changed the title [Page.Header] Add view transition support for primaryAction [Page.Header] Add view transition support for primaryAction Feb 8, 2024
@laurkim laurkim force-pushed the lo/add-view-transitions-support branch 2 times, most recently from 5c64286 to 0ea4f3d Compare February 9, 2024 17:48
@laurkim

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch 5 times, most recently from 7b8db8d to 0d4798e Compare February 9, 2024 18:50
@laurkim laurkim changed the title [Page.Header] Add view transition support for primaryAction Add support for view transitions when using react-router-dom Link Feb 9, 2024

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 0d4798e to d32c805 Compare February 14, 2024 15:46

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch 2 times, most recently from 2cba91a to bfde1a0 Compare February 23, 2024 13:33

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 3b2f505 to 0c9f8f4 Compare February 29, 2024 18:50
@Shopify Shopify deleted a comment from github-actions bot Feb 29, 2024
@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 0c9f8f4 to 2874c76 Compare February 29, 2024 19:20

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 2874c76 to 43bed25 Compare March 5, 2024 16:31

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 43bed25 to 3c64735 Compare March 6, 2024 17:25

This comment was marked as outdated.

@laurkim laurkim changed the title Add support for view transitions when using react-router-dom Link [Navigation/Frame] Update transitions and loading for view transitions Apr 22, 2024

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from e707ba1 to 1669121 Compare April 23, 2024 20:32

This comment was marked as outdated.

@laurkim laurkim changed the title [Navigation/Frame] Update transitions and loading for view transitions Add support for view transitions when using react-router-dom Link Apr 24, 2024
@laurkim laurkim changed the title Add support for view transitions when using react-router-dom Link Add support for view transitions when using react-router-dom Link Apr 24, 2024
@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 1669121 to 6358c4c Compare April 24, 2024 14:12
@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 6358c4c to 08e67b4 Compare April 24, 2024 14:13

This comment was marked as outdated.

@laurkim laurkim force-pushed the lo/add-view-transitions-support branch from 08e67b4 to 39fb840 Compare April 24, 2024 14:28
@laurkim
Copy link
Contributor Author

laurkim commented Apr 24, 2024

/snapit

Copy link
Contributor

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

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

"@shopify/polaris-icons": "0.0.0-snapshot-20240424142930",
"@shopify/polaris-migrator": "0.0.0-snapshot-20240424142930",
"@shopify/polaris": "0.0.0-snapshot-20240424142930",
"@shopify/polaris-tokens": "0.0.0-snapshot-20240424142930",
"@shopify/stylelint-polaris": "0.0.0-snapshot-20240424142930"

@laurkim laurkim added the #gsd:39144 Admin data loaders and view transitions adoption label Apr 26, 2024
@laurkim
Copy link
Contributor Author

laurkim commented Jun 21, 2024

Closing as this is being implemented in admin directly.

@laurkim laurkim closed this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#gsd:39144 Admin data loaders and view transitions adoption
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant