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

Introduce AlpineJS and HTMX into the project #6403

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

akatsoulas
Copy link
Collaborator

No description provided.

@akatsoulas
Copy link
Collaborator Author

Please do not merge before the Wed release

@akatsoulas akatsoulas changed the title Introduce AlpineJS and HTMX into the project [DNM] Introduce AlpineJS and HTMX into the project Dec 10, 2024
@akatsoulas akatsoulas changed the title [DNM] Introduce AlpineJS and HTMX into the project Introduce AlpineJS and HTMX into the project Dec 12, 2024
@akatsoulas akatsoulas merged commit 7fb9fd6 into mozilla:main Dec 12, 2024
2 checks passed
@akatsoulas akatsoulas deleted the alpine-htmx branch December 12, 2024 10:48
@janbrasna
Copy link
Contributor

I'm not sure if HTMX is compatible with the current CSP without any extra config — seems it is nonce-ready, but I see CSP violations on stage around that chunk:

htmx.config.inlineScriptNonce

[] swappingClass:"htmx-swapping",allowEval:!0,allowScriptTags:!0,inlineScriptNonce:"",inlineStyleNonce:"" []

getDocument().head.insertAdjacentHTML("beforeend","<style"+e+">      ."+htmx.config.indicatorClass+"{opacity:0} […]

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

Successfully merging this pull request may close these issues.

2 participants