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

turbo-frame[busy] attribute #156

Merged
merged 1 commit into from Apr 10, 2021
Merged

Conversation

seanpdoyle
Copy link
Contributor

@seanpdoyle seanpdoyle commented Feb 4, 2021

During the request lifecycle, <turbo-frame> elements will toggle the
[busy] boolean attribute to true when the request starts, and then
remove it when the request ends.

Additionally, form submissions were not triggering the same [busy] toggling behavior, so this commit adds coverage for that behavior as well.

This commit adds functional test coverage for that behavior.

@seanpdoyle
Copy link
Contributor Author

Regardless of how we feel about aria-busy, I think the first commit to add test coverage for the attribute is worthwhile.

@seanpdoyle
Copy link
Contributor Author

Since the original work uncovered some bugs we'd like to ship more immediately, I've split out #157 to serve as the conversation venue for aria-busy instead of busy.

@seanpdoyle seanpdoyle force-pushed the frame-busy branch 2 times, most recently from ac43dc1 to 79950a7 Compare February 4, 2021 18:43
During the request lifecycle, `<turbo-frame>` elements will toggle the
`[busy]` boolean attribute to true when the request starts, and then
remove it when the request ends.

This commit adds functional test coverage for that behavior, along with
a `RemoteChannel` to transmit `MutationObserver` records from the
browser to the test harness.
@sstephenson
Copy link
Contributor

❤️

@seanpdoyle seanpdoyle deleted the frame-busy branch April 10, 2021 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

2 participants