Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock / Polyfill for local dev efficiency #156

Open
TimOgilvy opened this issue Feb 14, 2022 · 0 comments
Open

Mock / Polyfill for local dev efficiency #156

TimOgilvy opened this issue Feb 14, 2022 · 0 comments

Comments

@TimOgilvy
Copy link

Hello!

I'm trying to find a way to mock or polyfill the ZAF Framework for local development. I'm using secret/secure settings.

The ZAT Server (Sinatra), as provided by the ZAT Tools CLI, prompts me for values for those secret tokens, but the ZAF Framework never initialises on localhost.

It's impossible to upload a dev compiled version of my app to Zendesk, either the sandbox, or my live server, leaving me stuck debugging minified code after a lengthy upload to Zendesk for every single app change. This makes for a fairly tedious dev cycle.

I'm happy to contribute any code I can or do anything possible to assist in solving this, as the turnaround time is making ZAF development completely untenable for us currently.

If I've done a dumb, and there's an easy way around this, please slap me with it! Otherwise let me know if I can help somehow?

Would also like to contribute to make mocking ZAFClient Request lifecycle easy for Jest testing of react based sidebar apps etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant