Skip to content

Contextual Save Bar as new Shopify requirement #434

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

Open
canhnm opened this issue Feb 18, 2025 · 1 comment
Open

Contextual Save Bar as new Shopify requirement #434

canhnm opened this issue Feb 18, 2025 · 1 comment

Comments

@canhnm
Copy link

canhnm commented Feb 18, 2025

Hello team,

As Shopify requirement, the appbridge from npm is deprecated and they also required to use CDN version .
From that they require to have the Save Bar shows up and animated when there is edited content, leave page( confirmation modal will not be accepted, only Save Bar) and user is being leave the page.

https://shopify.dev/docs/api/app-bridge-library/apis/save-bar#savebar there will need save bar with leaveConfirmation function trigger.

Is there any supported for this on polaris-vue?

@blacklen
Copy link
Collaborator

Hi @canhnm,

Currently, we do not have specific support for App Bridge in Vue. However, we are utilizing the Shopify App Bridge CDN in our project. We include the script tag to load it directly from Shopify, as outlined in the Shopify App Bridge documentation, and make use of its APIs and web components.

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

No branches or pull requests

2 participants