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

Best way to check when computed value changes?

I'm using record.changes/record.changed in an update action to tell when a record value changes and what its prev and new values are. I'm wondering if theres anyway to check when a computed value on a model changes in a similar way please? From my testing, a computed value change does not trigger the update action on that model which I guess is expected as the computed model itself isn't actually updating. In my example, my computed property returns a date from one related model if it is defined, if not it returns a date from another model. When date changes, either by the primary date being defined or the secondary date being changed, I need to trigger an action if the new date is further in the future than the original date (this is why I need the prev and current values)...

Jobs page rendering issue

The opacity gradually increases of the page and it loads extremely slow. I have a feeling something is rapid re-rendering. https://clhom.gadget.app/edit/production/queues/job-D04I5clpLY8i4ZUNzK_yO I think it's happening only on failed jobs. Success jobs do a nice quick fadein animation....
No description

Safari

Ive foudn a terrible memory issue with using chrome on my imac, so I'm in the process of switching to safari, and I see the online code editor doesn't show any code. Is that correct?

No signature provided error when loading routes

When trying to load a route directly I get this error: {"error":"No signature provided","field":"signature"} But if I click into the route from the main app page it loads fine....
No description

Getting 422 Unprocessable Conte

I am getting this error while fetching data from a model through POS UI extensions heres the code const [{ data, fetching, error: queryError }] = useFindMany( api.buyBackProduct,...
No description

background action failedread ECONNRESETRequestError: read ECONNRESET at ClientReques

Getting a strange error ```RequestError: read ECONNRESET at ClientRequest.<anonymous> (/app/node_modules/.pnpm/got@11.8.5_patch_hash=eduueturgwt7dakyfvpwebyjdq/node_modules/got/dist/source/core/index.js:970:111) at /app/nodemodules/.pnpm/@opentelemetry+context-async-hooks@1.27.0@opentelemetry+api@1.9.0/node_modules/@opentelemetry/context-async-hooks/build/src/AbstractAsyncHooksContextManager.js:50:55 at AsyncLocalStorage.run (node:async_hooks:346:14)...

Display value for Belongs To fields

I have a model with fields that reference shopifyCustomer and in the data view I just see the ID number, which isn't validating the reference. The AI is saying you can configure the display value for the field but I'm guessing maybe it's hallucinating that? https://clhom.gadget.app/edit/development/model/FxxSu5oHu7sj/field/tvnwOsRJP6P8...
No description

I don't get shipping_address as part of webhook payload since friday

Sometime friday it started giving me an error on my app when it tries to access trigger.payload.shipping_address - i can see it says it's null when it should be a stringified JSON obj. Anything changed in Shopify access stuff? I am approved for it so it would be weird....
No description

GGT_MISSING_REQUIRED_ACTION: An action to create, update records on the shopifyFile model wasn't giv

It seems like some of my shopify models are hidden, and I cannot debug this issue: GGT_MISSING_REQUIRED_ACTION: An action to create, update records on the shopifyFile model wasn't given and can't be inferred. trace id: 597cf1ba45f67a61a014790c034e317f...

plaid template

I remember seeing somwhere a plaid template for gadget. Was it taken down?

Search on shopifyProduct is broken

This screenshot tells me the search index was never generated on this new merchant who just installed our app. Verified the product with title contains "OCEAN" is in our database ```...
No description

Request access to Protected Customer Data

My app requires access to protect customer data and I'm getting ready to submit to the App Store. I've completed the "Protected customer data access" form in the partner dashboard however I notice that the Protected customer data access request doesn't get submitted until the app is submitted for review. That means, although I can install the app on a test store, it crashes and Gadget logs tell me "GGT_SHOPIFY_REQUEST_ERROR: This app is not approved to use the statusPageUrl field." which is directly linked to Customer Data request....

Problem deploying and problem with queue

Seems like the queue isn't working in one of my staging environments. It's just empty even though I'm enqueueing actions and seeing them run in the logs. Also I just tried to deploy to production and hit this error: GGT_ASSET_BUILD_FAILED: An error occurred while building production assets...
No description

Data table font sizes too big

Sorry dumb polaris question here - why are the font sizes so big in the data table as compared to the docs: https://clhom.gadget.app/edit/development/files/web/routes/index.jsx...
No description

queue concurrency control

I have a bg action that sends whatsapp messages on order fulfillment. However, most stores bulk fulfill orders which means the messages are spammed together. I reduced the concurrency to 1 but I want to do something like giving atleast 10 seconds difference between the last queued action. Is this possible by any means?

Urgent: Cant install my app

Whenever I try to install my app, the one in production it keeps redirecting:
No description

Getting a tons of errors ( message: Internal error. Looks like something went wrong on our end. )

Hi Gadget team, We are getting uncountable errors. All of the messages are "message: Internal error. Looks like something went wrong on our end. " I'd like to copy and paste some Request IDs. Request ID: 9eaa49cf-56ec-4f80-b88a-b4ac6c85d571-1743561829 (include this in support requests)....