Ricerche recenti
Nessuna ricerca recente

Eric Snell
Data ingresso 29 ott 2022
·
Ultima attività 10 feb 2023
Seguiti
0
Follower
0
Attività totali
10
Voto
1
Abbonamenti
3
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Eric Snell
Eric Snell ha commentato,
Thanks Tipene Hughes!
Is this possible with ZAT as well? I don't see it listed anywhere in the docs.
Visualizza commento · Data ultimo post: 10 feb 2023 · Eric Snell
0
Follower
0
Voti
0
Commenti
Eric Snell ha commentato,
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?
Visualizza commento · Data ultimo post: 09 feb 2023 · Eric Snell
0
Follower
0
Voti
0
Commenti
Eric Snell ha creato un post,
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!
Data ultimo post: 08 feb 2023 · Eric Snell
0
Follower
3
Voti
1
Commento
Eric Snell ha commentato,
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!
Visualizza commento · Data ultimo post: 02 nov 2022 · Eric Snell
0
Follower
0
Voti
0
Commenti
Eric Snell ha commentato,
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
Visualizza commento · Data ultimo post: 01 nov 2022 · Eric Snell
0
Follower
0
Voti
0
Commenti
Eric Snell ha creato un post,
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?
Data ultimo post: 29 ott 2022 · Eric Snell
0
Follower
4
Voti
7
Commenti