Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem:
It can confuse user: filter was changed, the rest of form is inactive but no throbber appeared.
For now Schedule form's Date filter just clicks on Submit button using JS: https://github.com/ymcatwincities/openy/blob/8.x-1.x/modules/custom/open...
Solution:
Form field with date picker should have its own AJAX callback on change event that will show throbber in needed place.
Please review PR that fixes it https://github.com/ymcatwincities/openy/pull/859
Also please have a look to video demonstration how it improves UX (in attachment)
Comment | File | Size | Author |
---|---|---|---|
1. Before.mp4 | 1.68 MB | alexander_danilenko | |
2. After.mp4 | 1.4 MB | alexander_danilenko |
Comments
Comment #2
alexander_danilenko CreditAttribution: alexander_danilenko as a volunteer commentedComment #3
AlexNetman CreditAttribution: AlexNetman commentedFix is merged.
Comment #4
AlexNetman CreditAttribution: AlexNetman at FFW for Open Y commentedhttps://github.com/ymcatwincities/openy/pull/859
Comment #5
alexander_danilenko CreditAttribution: alexander_danilenko as a volunteer commentedNo credits in merge commit message? :(
Comment #6
sanchiz CreditAttribution: sanchiz at FFW, Drupal Ukraine Community for Open Y commentedComment #7
sanchiz CreditAttribution: sanchiz at FFW, Drupal Ukraine Community for Open Y commented@alexander_danilenko push was scheduled. It doesn't appear immediately. Check now.
Comment #8
alexander_danilenko CreditAttribution: alexander_danilenko as a volunteer commentedYay! Thank you, guys!