Add variables to infinite scroll pager to track the progress of amount of elements shown on the page, total elements and a percentage shown.

Created on 5 August 2020, almost 4 years ago
Updated 1 September 2023, 10 months ago

Problem/Motivation

During development we noticed we were missing some variables to create a progressbar based on the infinite scroll pager. We wanted to create a progressbar that works with this module and facets.

Proposed resolution

Add some variables during preprocessing in the module file and note in the twig file that these variables are available. See patch

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands tomvanetten

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Is this still an issue with 2.0.x? If yes, please update the version and set the status active again with clear steps or (best) with a test showing what's broken.

    2.0.x is the active development branch.

    If nobody replies, we should assume this is fixed and close this issue outdated.

    Thanks!

  • Assigned to ThomasDik
  • πŸ‡³πŸ‡±Netherlands ThomasDik
  • Status changed to Active 10 months ago
  • πŸ‡³πŸ‡±Netherlands ThomasDik

    The changes are still in use in the V2.
    I've updated the patch to match the latest version.

Production build 0.69.0 2024