-
Notifications
You must be signed in to change notification settings - Fork 447
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
#3094 - Update date slider to prevent automatic page reloads #3236
Conversation
Thank you @Simone-Ramundi! I tested this on DSpace 7.6 and it works well. @tdonohue the patch is simple and fixes a minor accessibility issue so I think we might be able to merge it with
1 APPROVAL
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-3236-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-3236-to-dspace-7_x
git switch --create backport-3236-to-dspace-7_x
git cherry-pick -x 6c2d541b89ef99cdfe07ad66b7c1040a11cae575 56ba23fc3d6b51ed078ffa587f25503b457c97e5 |
Successfully created backport PR for |
Manually ported to |
References
Description
SearchRangeFilterComponent
to comply with WCAG 2.1 Success Criterion 3.2.2 (On Input). This improvement ensures that slider value changes no longer trigger automatic page reloads, enhancing user control over when context changes occur.Instructions for Reviewers
List of changes in this PR:
(onDebounce)="onSubmit()"
with(change)="onSliderChange($event)"
to prevent automatic page reloads when slider values change. This ensures users have control over when the page context updates.To Reproduce
Steps to reproduce the behavior:
Checklist
main
branch of code (unless it is a backport or is fixing an issue specific to an older branch).yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.