Gadget Developers

GD

Gadget Developers

Build SAAS apps alongside thousands of other Gadget developers. Get help, and offer help to others in the community.

Join

Built in way to delete all related Shop data of a Shopify store that uninstalled the app

I noticed that when I uninstall my app via Gadget or directly on the Shopify store the data still persists. I'm reading from Shopify review process that this must be addressed and data has to be removed that is related to the store that uninstalled the app. So my questions are: 1. Is there a built in way that Gadget can accomplish this or is this a manual build? ...

How to type data from useGlobalAction

I have a global action that fetches an order from the Shopify GraphQL API by id and returns it. It is correctly typed (see attached image). On the frontend, I call this action with useGlobalAction from Gadget, but the data is not typed (see attached image 2)....
No description

shopifyProductVariant metafields fast sync methods

When I made a change to a variant metafield inside the Shopify admin, I must be able to see it in my Gadget database. I am working on this for like quite some time, but it never works. The only way to sync it is using the sync button in Gadget settings but it takes forever to sync all of the data. I just want to find the changed data and only sync one data. Is there a way to achieve this?

Customize url redirection in shopify plug in.

When a partner istall the shopify app they will be redirected to our portal page, so i need to put in this url the email and another infos to partner can be do the logIn. So this is possivel and, how can i do this? RESOLUTION: On GET-preinstall: Add the params and use the ...

metafields in webhook filtering includeFields

I've added my metafields to the includeFields so I can filter for them like so: ``` shopify: { shopifyFilter: "variants.metafields.$app.my-app.key1:* OR variants.metafields.$app.my-app.key2:*", includeFields: [...
No description

Tailwind CSS not installing

I'm having trouble installing tailwind I'm following this video: https://www.youtube.com/watch?v=5g4MIGAd7Cc and the very first command doesn't work like it does for him Im getting a permission denied...

Beta access to computed views

Hi, we would like access to computed views. https://send-to-many.gadget.app/ I didn't see in the docs how to request access...

Storage key generation

Sometimes Claude code generates the storage key, and in the past, I recall this breaking something. But this most recent time around it seemed to work fine. Is this okay so long as the field is unique, or would you recommend always creating a field in the gadget UI such that it generates the storage key on your end?
No description

Persistent File Storage on Shared Filesystem

I created a Gadget action to update geoip-lite's database. The issue is that geoip-lite requires local filesystem access to its .dat files, but /tmp is ephemeral, meaning updated data is lost when an instance finishes. Does Gadget offer something like a shared, mounted filesystem service (like AWS EFS, not just object storage like S3) that my action processes can directly read from using fs operations? This would allow me to persist the GeoIP data across all instances....

Optimizing Resources

Hi! I just wanted to consult about optimizing code so that we can save resources and usage. So there's a set of prodcuts like 2k products and each product has like 5-10 files that we upload in shopify. Basically my current logic is something like:...

custom domain and sub domain request

Hi, I'm needing to update my apps domain and add a subdomain as well. What is the process for getting that?

Trying to Deploy App Block

Hi, im trying to deploy an app block but keep getting this issue any ideas? Thank you...
No description

GitHub action hanging

I'm running into this issue where the GitHub Action is hanging even though the GGT deploy completed successfully. Any feedback on this or anyone else who has run into this?
No description

transactionally enqueued action and non-transactionally enqueued action duplicates detected, discard

I see this error quite a bit in our logs and not sure exactly what it means. Can anyone help shed some light on it?

is NOT a valid filter?

Gadget ai hgave me this when trying to filter out products that have a certain tag. I wonder if anyone used it? ``` // Filter for product variants where the product tags do NOT contain "seasonal" const variants = await api.shopifyProductVariant.findMany({ filter: {...
No description

Copy product data in data model from development to production

Hi there, I have my product specific data stored in a schema and data table in development environment. Does anybody now an easy way of how I can "copy" the data from the development environment to my production environment? Deploying will move over the structure and models, but not the data. Thanks

How can I GGT multipel apps?

So here's the command I'm running: ggt dev ./ --app=my-app-name --env=development --allow-different-app and here's the result ...

How to view/show changes/diff between a development and the production environment?

The AI made some changes to help update to a newer Shopify API version and is showing the changes in the AI sidebar. However, I cannot find any other view or diff of the changes between development and production environments. Is that possible somehow? It would be great, if I would know for sure what I was deploying. Maybe another dev pushed a changes as well, that I am not aware of (of course, also a communications issue). If I have missed previous posts or documentation about this, I apologize. I found the relevant keywords didn't produce helpful results 🙂...

OpenAI API Keys

Hi there, We have generated our own API key for our OpenAI plugin, however the API key shows zero usage. Correspondingly we are getting rate limiting errors telling us to wait 20 million days (!!!). I've checked the guide docs on its usage and we're doing everything correctly, so I can't really figure this one out....
No description

A loop of fixing and credit draining

I am just ripping through credits fixing issue after issue and in some cases the SAME issue time after time. Anyone with shopify integration keen to help out? if anyone knows this error, the ai assistant seems to know and try to fix it but never fixes it properly...
No description