Various new features and improvements (a11y and others)

Created on 7 August 2024, 7 months ago

Problem/Motivation

views_auto_refresh currently misses quite a few features that we needed for some of our websites.

Here is what we implemented in this issue MR:

- Allow displaying a button to enable/disable auto-refresh.
- If above button is displayed, allow auto-refresh to be disabled by default for a manual start.
- Allow displaying a button for an immediate refresh of the view.
- Allow custom labels for auto-refresh and immediate refresh buttons
- Allow disabling auto-refresh if not on the first page of a paginated view.
- Allow restoring focus on last selected element after a view refresh.
- Allow stopping auto-refresh when focus is set in view content using keyboard (Accessibility).
- Allow disabling Ajax "scroll to top" on view refresh.
- Allow also displaying the auto-refresh and instant refresh buttons in the footer of the view.

Proposed resolution

Check MR.

Here is the new configuration screen:

Remaining tasks

Review and validate MR.

User interface changes

New configuration options and two new buttons allowing to disable auto-refresh and force an instant refresh.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France mably

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024