最近の検索


最近の検索はありません

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

コメント