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

Attach original AJAX framework events to Snowboard in Backend #1235

Merged
merged 5 commits into from
Oct 31, 2024

Conversation

bennothommo
Copy link
Member

Replaces #1234, fixes #1233.

Instead of loading framework.extras.css, which appears to be excluded from the Backend, this PR hooks the necessary original AJAX framework events into Snowboard's events, allowing the applicable events to execute UI functionality such as data-attach-loading and the Stripe loader.

This is technically a stop-gap solution for now, since it doesn't emulate a full Snowboard request, so there's the potential for custom Snowboard event listeners to break if they are relying on Snowboard request information, but I'm not aware of that happening yet in core.

@bennothommo bennothommo added maintenance PRs that fix bugs, are translation changes or make only minor changes needs review Issues/PRs that require a review from a maintainer labels Oct 21, 2024
@mjauvin
Copy link
Member

mjauvin commented Oct 21, 2024

Nice!

@LukeTowers LukeTowers added this to the 1.2.7 milestone Oct 31, 2024
@LukeTowers LukeTowers merged commit 4ff066f into develop Oct 31, 2024
13 checks passed
@LukeTowers LukeTowers deleted the fix/1233 branch October 31, 2024 01:27
@LukeTowers LukeTowers removed the needs review Issues/PRs that require a review from a maintainer label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PRs that fix bugs, are translation changes or make only minor changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Framework extras missing in backend
3 participants