Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
82 stars 9 forks source link

App Bridge 3 migration #360

Open Crunchyman-ralph opened 1 month ago

Crunchyman-ralph commented 1 month ago

Issue summary

Write a short description of the issue here ↓

Expected behavior

What do you think should happen?

Actual behavior

What actually happens?

Tip: include an error message (in a <details></details> tag) if your issue is related to an error

Steps to reproduce the problem

    1. 1.

Reduced test case

The best way to get your bug fixed is to provide a reduced test case.

Specifications

lizkenyon commented 1 month ago

Hi there 👋

I am going to move this issue the App Bridge Repository.

charlesdobson commented 4 weeks ago

Hi @Crunchyman-ralph,

Which page are you trying to redirect to? In the new App Bridge, you can just use window.open to navigate to another page in the Shopify Admin. That looks something like this:

open('shopify://admin/products?foo=bar', '_top');
Crunchyman-ralph commented 4 weeks ago

Works like a charm, why isn't this documented ?