Skip to content
Snippets Groups Projects

Update drupal/views_infinite_scroll (2.0.3) and apply patches for improved People directory

Merged Michael Lee requested to merge lee5151 into main
  • Applies patches to Views Infinite Scroll to do the following:
    • Prevents repeated headers on AJAX page loads for headers of groups that have already been placed in the DOM (e.g. it won't put a second "Faculty" header if one already exists on a previous page load)
    • Increases the Scroll Threshold so page loads will occur earlier in the scroll and provide a more seamless experience
  • We've also rolled in the update to 2.0.3 as it provides minimal Drupal 11 readiness updates
  • Adds a preprocess_views_view_field hook that will append some onerror inline JavaScript to change People image sources to use the Buckeye Leaf in the event that OPIC is down

These changes allow us to shift the People directory from loading all entities at once to loading them in chunks. Increasing the speed at which the People page can load prior to being cached.

Edited by Michael Lee

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading