feat(carousel): marquee effect with vertical columns scrolling in opposite directions #1

Merged
nthxuyen merged 1 commit from feat/marquee-columns into main 2026-10-15 18:39:21 +02:00
Owner

Summary

  • New carousel effect Marquee (vertical columns): reviews are dealt into columns that loop continuously, adjacent columns in opposite directions, using inert aria-hidden copies for a seamless wrap.
  • Settings: column count, first-column direction, speed (px/s), and a minimum viewport width; below it the regular Swiper carousel (arrows, pagination) runs, switching live on resize.
  • Hover, focus or a pause button (visible on keyboard focus) stops the motion; prefers-reduced-motion shows static, hand-scrollable columns.
  • Instance CSS knobs: --gr-marquee-height, -columns, -column-width, -gap, -stagger, -fade.
  • Review card markup extracted to a shared tmpl/default_card.php layout. Version 1.7.0, EN/FR strings, README section.

Test plan

  • Local harness with the real module CSS/JS: two columns move ±30 px/s, copies inert, nav hidden; resize to 768 restores Swiper (fraction + arrows work) and back; pause toggle stops the track; reduced motion gives static columns.
  • Installed on mca.wesa.fr (Joomla 6.2) via cli/joomla.php extension:install; verified live at 2560 / 1920 / 1440 (marquee) and 768 / 414 (slider) with 41 reviews.

https://claude.ai/code/session_01Gc1YSQeBHSbFewpvGgqBJv

## Summary - New carousel effect **Marquee (vertical columns)**: reviews are dealt into columns that loop continuously, adjacent columns in opposite directions, using inert aria-hidden copies for a seamless wrap. - Settings: column count, first-column direction, speed (px/s), and a minimum viewport width; below it the regular Swiper carousel (arrows, pagination) runs, switching live on resize. - Hover, focus or a pause button (visible on keyboard focus) stops the motion; `prefers-reduced-motion` shows static, hand-scrollable columns. - Instance CSS knobs: `--gr-marquee-height`, `-columns`, `-column-width`, `-gap`, `-stagger`, `-fade`. - Review card markup extracted to a shared `tmpl/default_card.php` layout. Version 1.7.0, EN/FR strings, README section. ## Test plan - Local harness with the real module CSS/JS: two columns move ±30 px/s, copies inert, nav hidden; resize to 768 restores Swiper (fraction + arrows work) and back; pause toggle stops the track; reduced motion gives static columns. - Installed on mca.wesa.fr (Joomla 6.2) via `cli/joomla.php extension:install`; verified live at 2560 / 1920 / 1440 (marquee) and 768 / 414 (slider) with 41 reviews. https://claude.ai/code/session_01Gc1YSQeBHSbFewpvGgqBJv
Reviews are dealt into columns that loop continuously, adjacent columns in
opposite directions, with seamless inert copies. Below a configurable viewport
width the regular Swiper carousel runs instead. Hover, focus or a pause button
stops the motion; reduced motion shows static scrollable columns. The review
card markup moves to a shared default_card layout. Version 1.7.0.

Claude-Session: https://claude.ai/code/session_01Gc1YSQeBHSbFewpvGgqBJv
nthxuyen deleted branch feat/marquee-columns 2026-10-15 18:39:21 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nthxuyen/review-module!1
No description provided.