Skip to content

Conversation

byrichardpowell
Copy link
Contributor

We were including these script tags in 2 places on the page. We only ned them once

@byrichardpowell byrichardpowell requested a review from a team as a code owner July 10, 2025 14:55
Comment on lines -30 to -31
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/app-bridge-ui-experimental.js"></script>
Copy link
Member

Choose a reason for hiding this comment

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

The other location also needs the app-bridge.js file. Currently it only has the app-bridge-ui-experimental.js

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I don't think it does?

This page is rendered outside of the iFrame. We want to it to look like the admin, but not redirect to the admin. IF we include App Bridge it will fail because we dont know how to configure it on this page.

Copy link
Member

Choose a reason for hiding this comment

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

I am confused. I just expect to see those two scripts available to developers inside the iframe. After this PR ships there won't be an app-bridge.js file which is incorrect.

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.

2 participants