
Tim Ogilvy
-
Total activity20
-
Last activity
-
Member since
-
Following0 users
-
Followed by0 users
-
Votes4
-
Subscriptions5
Activity overview
Latest activity by Tim Ogilvy-
Tim Ogilvy commented,
Looks like the app scaffolds have been updated too... very helpful! https://github.com/zendesk/app_scaffolds Is the only way to keep up to date with this stuff to dig around, or am I missing an obv...
-
Tim Ogilvy commented,
Ok so the same principle will work for testing as it does for development. Probably not ideal, but here's my react hook for now to get a client mock in during testing. I'm sure there's a better way...
-
Tim Ogilvy commented,
Ok, by using https://www.npmjs.com/package/dotenv-webpack I've been able to inject secrets into my local development shim for the ZAFClient... which should allow me hopefully to hit my dev api ser...
-
Tim Ogilvy commented,
I'm looking at the documentation for testing with secure settings here: https://developer.zendesk.com/documentation/apps/app-developer-guide/using-the-apps-framework/#testing-an-app-with-secure-set...
-
Tim Ogilvy commented,
Ok... I'm using a react hook to access the ZAFClient as a singleton, to avoid inadvertently creating new instances of it. I can use process.env.NODE_ENV to switch between the two, which means I ...
-
Tim Ogilvy commented,
So far I've figured out that by passing in the localhost URL and a guid, the `ZAFClient.init()` method will return true, but that doesn't really help me with figuring out how to polyfill or mock it...
-
Tim Ogilvy created a post,
Mock and Polyfill ZAFClient for local dev and Jest testing
Hello, I'm trying to implement best practices with my ZAF sidebar app and bumping into some problems. I'm using secrets that get injected by the ZAF Proxy When compiling in dev mode for bug tracki...
-
Tim Ogilvy commented,
Hi Chris, Thanks for this info, really appreciate you looking into this. There's some additional info and screenshots on this ticket if you have access to it:https://support.zendesk.com/hc/en-us/...
-
Tim Ogilvy commented,
Thanks Andriy, If there are undocumented sanitisers on the Zendesk end, I would classify them as insanitisers because they are undocumented, and they are driving me insane :D An undocumented saniti...
-
Tim Ogilvy commented,
Hi, I'm having similar issues, but nobody has responded to my post or tickets yet, and it has been over a week. https://develop.zendesk.com/hc/en-us/community/posts/4408239110810-Secure-settings-no...