Comments (4)
@smile-christian Thanks for the report. I've added the issue to our backlog for review.
from ui-extensions.
Currently, the native login link is a no-op when clicked from the editor. Is that what we expect when an extension links to login as well?
Not sure how much control we would have over that.
from ui-extensions.
Hey @smile-christian, thank you for reporting this issue.
The checkout preview in the editor works in a very specific way - in general, this means it's a bit limited, and that many extensions can't work as they would on a real checkout. For Link
specifically, we're working now on preventing it from working on the editor, or at least limiting how it can be used - we haven't decided what's best yet.
In any case, my recommendation is to use the editor flag to create a bespoke editor experience for extensions. In your case, maybe skipping the login when in the editor and using a fake customer to render your extension could work well, for example - although it's hard to tell without knowing more about your use case.
I'll keep this issue open until we roll out the changes to Link
, and I'll update this ticket when we do.
from ui-extensions.
Hi @smile-christian, we've recently rolled out a change to how external links work on the editor - when clicked, they will now prompt a confirmation pop up, which when confirmed by the user will open the link on a new tab.
Thank you again for reporting the issue!
from ui-extensions.
Related Issues (20)
- Checkout extensions Stepper manual input validation in real-time
- [Checkout UI - React] Can't use Switch component on customer-account surface HOT 3
- POS UI Extensions Cart lineItems have stopped being returned correctly (possibly as of 9.16.0) HOT 3
- API to identify which App Blocks are (or aren't) installed
- Colored labels in POS UI Extension lists
- [Checkout UI React] Shipping methods are re-selected when adding or removing cart lines HOT 1
- Remove customValidator from FormattedTextField starting from version 2025-01
- POS UI extensions seriously broken in the latest iOS Shopify POS version HOT 24
- `useStorage` inconsistency between live and test stores in `@shopify/ui-extensions-react/checkout` HOT 1
- useSelectedPaymentOptions Payment method name (as available in script editor and payment functions)
- Map component incorrect zoom behaviour HOT 4
- Admin resourcePicker `multiple` option doesn't work if `variants` filter is set to false
- Payment Options sample code is in opposite order to API definitions
- POS UI Extensions - allow multiple sequential api.cart actions without surfacing red error banner HOT 2
- Checkout UI, Customer Account UI, Link component open confirmation alert in editor
- Add ability to add a fee to checkout without using a product
- Feature Request: Add Customer Tags to `useCustomer` Hook in Checkout UI API
- `ConsentPhoneField` props not working as documented
- Featured Request: Add order status (fulfilled or not) to Order Api (customer-account-ui)
- customer-account: ImageGroup extra blank space
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-extensions.