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

[Bug]: Selecting extension targets in the developer console does not work #4421

Open
2 tasks done
patryk-smc opened this issue Sep 7, 2024 · 2 comments
Open
2 tasks done
Labels
Area: @shopify/app @shopify/app package issues Type: Bug Something isn't working

Comments

@patryk-smc
Copy link

patryk-smc commented Sep 7, 2024

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

Clicking on extension target should load extension in specific target

Actual behavior

I see that extensions developer console creates different links depending on which target I click but it doesn't take any effect, it always loads the first target. I have to comment out other targets in extension toml file and restart dev server

Verbose output

N/A

Reproduction steps

  1. Create checkout extension with two targets
  2. Run shopify app dev
  3. Open developer console
  4. Click on the name of first target - it will work
  5. Click on the name of second target - it will still load in the first target

Operating System

macOS

Shopify CLI version (check your project's package.json if you're not sure)

3.66.1

Shell

No response

Node version (run node -v if you're not sure)

No response

What language and version are you using in your application?

No response

@patryk-smc patryk-smc added the Type: Bug Something isn't working label Sep 7, 2024
@patryk-smc patryk-smc changed the title [Bug]: Selecting extension targets in developer console do not work [Bug]: Selecting extension targets in the developer console does not work Sep 7, 2024
@ctrlaltdylan
Copy link

This isn't a trivial bug.

It's causing developers to comment out extension targets in their toml files in order to target properly develop locally.

This introduces the real risk of deploying a version without the proper targets unless the developer takes extra care to uncomment lines before publishing.

@isaacroldan isaacroldan added the Area: @shopify/app @shopify/app package issues label Sep 11, 2024
@isaacroldan
Copy link
Contributor

Passed the issue to the owner team internally. I'll report back once I know more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/app @shopify/app package issues Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants