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

Retrieving role from context

I've created an audit trail model which captures changes to other models so we can view the entire history of a record, I'd like to be able to capture which role / API key triggered the change so it's clear if it was a user who made the change, or us. Is this possible? I can't find anything in the docs.

Misconfigured production TOML file error

Not sure how to resolve this. I've double checked the values and all seems well but the error still persists. Any help pls?

Gadget to whitelist the required Microsoft/Azure endpoints

im trying to integrate the dvsa mot api to retreive vehicle details, i can get it to work outside of gadget but it wont connect inside gadget The issue appears to be that the MOT API calls are being made but may be encountering network connectivity issues specific to Gadget's infrastructure. Based on the earlier conversation history, this was a known problem - Gadget's network has restrictions that prevent outbound connections to certain Azure/Microsoft endpoints. ...

Gadget to achieve Built For Shopify issues

We used gadget to make our App, Moby Marketing on Shopify,, and now trying to qualify for Built for shopify but some requirements are way off. the app is quite simple and for sales, so no big image loads etc but - 1) our LCP (largest contentful Paint ) was 8 secs for our shopify app even for loading an empty page, no help on discord. Then via other communities and hacks we got it down to 3.5 sec, which is still is higher than required by shopify. How can we not get a simple resolve if gadget...
No description

The Shopify product image not pulling through

The Shopify product image not pulling through, I have tried various ways to prompt it to add the main image but it always throws out errors and I have to roll it back
No description

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