Skip to content

feat: add isolated demonstration sandbox fix for doc loader CSP & SRI violations#1426

Merged
SAPTARSHI-coder merged 1 commit into
SAPTARSHI-coder:mainfrom
surajbharsakle07:feature/fix-csp-sri-docs
Jun 5, 2026
Merged

feat: add isolated demonstration sandbox fix for doc loader CSP & SRI violations#1426
SAPTARSHI-coder merged 1 commit into
SAPTARSHI-coder:mainfrom
surajbharsakle07:feature/fix-csp-sri-docs

Conversation

@surajbharsakle07
Copy link
Copy Markdown
Contributor

Pull Request Description

This PR adds an isolated demonstration sandbox under submissions/examples/ to resolve the live documentation website's unstyled content layout failure highlighted in issue #1422. It securely addresses active browser Content Security Policy (CSP) blocking actions, fixes the outdated Subresource Integrity (SRI) hashes, and bypasses missing asset network dependencies.


Type of Change

  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)

Submission Checklist

  • All changes are inside submissions/examples/your-feature-name/
  • Includes demo.html — self-contained, opens in browser with no server
  • Includes style.css — raw CSS for the proposed feature
  • Includes README.md — what it does, how to use it, why it fits EaseMotion CSS
  • No changes to core/
  • No changes to components/
  • One feature per PR (no bundled unrelated changes)

Feature Description

What does this add?
It provides a secure browser-compliant sandbox layout configuration that corrects cryptographic link integrity tokens and enables clean framework asset loading.

How does a developer use it?

<meta http-equiv="Content-Security-Policy" content="style-src 'self' 'unsafe-inline' [https://cdn.jsdelivr.net](https://cdn.jsdelivr.net) [https://fonts.googleapis.com](https://fonts.googleapis.com);">

<link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/easemotion-css/components/buttons.css](https://cdn.jsdelivr.net/npm/easemotion-css/components/buttons.css)" 
      integrity="sha384-H5bIG5QdU3kEinK/DekP85FpkWVi39X1u9XmyfqyhdHr9nqlfOPPJDyeUMMY7CkM" 
      crossorigin="anonymous" />
Why does it fit EaseMotion CSS?
It fixes the primary onboarding portal (the documentation site) so new incoming developers can actually view, interact with, and learn the human-readable class behaviors as intended instead of viewing a broken layout.

Demo
[x] Demo added (demo.html works by opening directly in a browser)

Browser Testing
[x] Chrome

[x] Firefox

[x] Edge

[ ] Safari (optional but appreciated)

Notes for Maintainer
This submission is cleanly tracked under GSSoC 2026 for assigned Issue #1422. It models the core resolution rules inside the permissible submissions/examples/ folder structure, ensuring absolute safety for core framework layers.

Closes #1422

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

✅ Submission Validation Passed!

Great job! All required files are present.

📁 Folder: submissions/examples/fix-csp-sri-docs

Files found:

  • demo.html
  • style.css
  • README.md

🚀 Next Steps:

  • The maintainer will review your PR
  • Respond to any feedback if requested
  • Once approved, your contribution will be merged!

Thank you for contributing to EaseMotion CSS! 🎉

@surajbharsakle07 surajbharsakle07 changed the title feat: add isolated demonstration sandbox fix for doc loader CSP & SRI violations (#1422) feat: add isolated demonstration sandbox fix for doc loader CSP & SRI violations Jun 5, 2026
@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 5, 2026
@SAPTARSHI-coder SAPTARSHI-coder merged commit 2ff3c89 into SAPTARSHI-coder:main Jun 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) contribution enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants