최근 검색


최근 검색 없음

Eric Snell's Avatar

Eric Snell

가입한 날짜: 2022년 10월 29일

·

마지막 활동: 2023년 2월 10일

팔로잉

0

팔로워

0

총 활동 수

10

투표

1

플랜 수

3

활동 개요

님의 최근 활동 Eric Snell

Eric Snell님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Thanks Tipene Hughes!

Is this possible with ZAT as well? I don't see it listed anywhere in the docs.

댓글 보기 · 2023년 2월 10일에 게시됨 · Eric Snell

0

팔로워

0

투표 수

0

댓글


Eric Snell님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Tipene Hughes

Related: How could we prevent node_modules from being included in the package? I have a react app and have had to create a temporary workaround using pre and post package scripts that essentially remove and reinstall (respectively) all dependencies. Is there a better solution?

댓글 보기 · 2023년 2월 09일에 게시됨 · Eric Snell

0

팔로워

0

투표 수

0

댓글


Eric Snell님이 에 게시물을 만듦

게시물 Developer - Zendesk Apps Framework (ZAF)

Hello! 

I have a fairly simple sidebar app written in TypeScript (vanilla JS, no frameworks). I'm using Parcel 2 for bundling all assets into a single dist directory, which my manifest.json points to as the sidebar app url. However whenever I package (using ZAT) and upload the app, I receive a "MIME type not supported" error. I'm able to workaround this by removing any TypeScript files that are included in the zipped filed then re-zipping. Then the app loads, however it's missing the javascript. It appears this is because the script type is "module", as I'm able to again work around this by manually updating to "application/javascript". Obviously neither of these workarounds are ideal!

Was wondering if anyone could shed any light as to why this is happening as well as provide some guidance on how to potentially update so that this isn't a manual process.

Extra deets:  The html output from Parcel includes two script tags, one of type module and the other "nomodule" for browsers that don't support. I don't necessarily need to utilize ES modules in production as I'm only using the single JavaScript file.

Thanks!

2023년 2월 08일에 게시됨 · Eric Snell

0

팔로워

3

투표 수

1

댓글


Eric Snell님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Thanks for the suggestion Tipene Hughes - It's no deal breaker if we can't implement but will keep that in mind for the next app :)

Appreciate the help!

 

댓글 보기 · 2022년 11월 02일에 게시됨 · Eric Snell

0

팔로워

0

투표 수

0

댓글


Eric Snell님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk Apps Framework (ZAF)

Thanks Tipene Hughes

We were hoping to implement some sort of exit confirmation if a user were to accidentally click outside of the modal. Our modal will be a form that could potentially collect quite a bit of input from the user, and we wanted to prevent them from having to re-input if they were to dismiss the window early.

One thing I've done so far to help at least prevent this from happening is max out the size of the modal. We also don't want to save any of their input in local/session storage as it includes sensitive PII data.

Would love to hear any alternative solutions you may be able to provide!

Thanks

Eric

댓글 보기 · 2022년 11월 01일에 게시됨 · Eric Snell

0

팔로워

0

투표 수

0

댓글


Eric Snell님이 에 게시물을 만듦

게시물 Developer - Zendesk Apps Framework (ZAF)

Hello! I've built a modal app and was wondering if there's a way to prevent the modal from closing when clicking outside of it? From what I understand this triggers the modal close event - is there a way to intercept this?

2022년 10월 29일에 게시됨 · Eric Snell

0

팔로워

4

투표 수

7

댓글