• v1.11.0 433bf65914

    nthxuyen released this 2026-10-31 10:17:25 +01:00 | 0 commits to main since this release

    The stylesheets and scripts are no longer requested with the page: an inline loader adds them when the module comes within 1.5 screens of the viewport, once per page; scripts keep their order; noscript stylesheet fallback kept. Place the module below the fold.

    https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc

    Downloads
  • v1.10.1 df8daf6b41

    nthxuyen released this 2026-10-31 10:05:51 +01:00 | 2 commits to main since this release

    1.10.0: module stylesheets load without blocking render (media=print + onload, noscript fallback); package ships minified CSS/JS.
    1.10.1: asset URLs carry each file mtime instead of Joomla media version, so a module update changes its URLs.

    https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc

    Downloads
  • v1.9.0 9d62ae0525

    nthxuyen released this 2026-10-26 13:35:12 +01:00 | 9 commits to main since this release

    Each module now starts one viewport before it scrolls into view, instead of at page load (immediately where IntersectionObserver is unavailable). On a page where the reviews sit far below the fold this removes ~300 ms of long tasks from load (PSI desktop, 2026-10-26: 93 → 95 and 91 → 97 on two pages).

    New: a bubbling google-reviews:ready event on the module root, event.detail.instance = the module instance.

    ⚠ Breaking: element.googleReviewsInstance no longer exists at DOMContentLoaded. Code that polls for it on load must listen for google-reviews:ready instead. Known integration: Horizon src/js/components/accueil-avis.js (polls for 5 s) — update it before upgrading Horizon past 1.8.x.

    Includes 1.8.1 (batched layout reads).

    Sites: MCA (mca.wesa.fr) installed 2026-10-26. Horizon stays on 1.6.x.

    Downloads
  • v1.8.1 ca862ffa85

    nthxuyen released this 2026-10-26 13:21:11 +01:00 | 10 commits to main since this release

    Performance fix, no visual change.

    • Text fit, truncation detection and marquee measurement read every card before writing any, instead of forcing one layout per card.
    • Refits triggered by font loading coalesce into one per animation frame.
    • Measured on a marquee page (PSI desktop, 2026-10-26): forced reflow ~740 ms → ~190 ms; card clamps and marquee timings identical to 1.8.0.

    Sites: MCA (mca.wesa.fr) installed 2026-10-26.

    Install pkg_google_reviews-1.8.1.zip via Extensions → Install or php cli/joomla.php extension:install --path=<zip>.

    Downloads
  • v1.7.0 28eea837df

    nthxuyen released this 2026-10-15 18:39:44 +02:00 | 12 commits to main since this release

    Client: MCA (mca.wesa.fr) — this package is installed on the MCA site (2026-10-15) and drives the homepage « Avis » section.

    New

    • Carousel effect Marquee (vertical columns): reviews dealt into columns that scroll continuously, adjacent columns in opposite directions (seamless inert copies).
    • Settings: column count, first-column direction, speed (px/s), 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; reduced motion shows static scrollable columns.
    • Instance CSS knobs --gr-marquee-height/-columns/-column-width/-gap/-stagger/-fade.
    • Card markup shared in tmpl/default_card.php.

    MCA instance

    Module 116 ({loadmoduleid 116} in the avis section): 2 columns, first down, 30 px/s, marquee from 1200px; skin in MCA repo src/joomla/mod_google_reviews/avis-instance.css.

    Install: Extensions → Install → pkg_google_reviews-1.7.0.zip (or php cli/joomla.php extension:install --path=…).

    PR: #1

    Downloads
  • v1.6.14 542fc58c38

    nthxuyen released this 2026-10-08 15:32:13 +02:00 | 14 commits to main since this release

    Fix: the Business Location picker only listed the first 10 locations of the connected Google account.

    The Business Information API returns 10 locations per page by default, and the module never asked for more or followed nextPageToken. On an account managing more than 10 locations (an agency account), the saved location could fall off that first page: the picker then showed « -- Select Location -- » even though the saved location and the reviews were intact.

    listLocations() now requests 100 per page and follows nextPageToken (capped at 20 pages). No settings or data change; the saved selection shows again after install. Rollback: v1.6.13.

    Downloads
  • v1.6.13 73c1e71fc4

    nthxuyen released this 2026-10-08 10:51:25 +02:00 | 15 commits to main since this release

    Accessibility fixes flagged by PageSpeed / Lighthouse (agent browsing) and axe:

    • Truncated review cards no longer put role="button" on the
      . A visually hidden « Lire l’avis complet » button inside the card carries keyboard access; clicking anywhere on the card still opens the detail, and nothing changes visually.
    • Star ratings use role="img" with a translated label (« 5 étoiles sur 5 »).
    • Pagination dots: no more role="tab" without a tablist; the active dot uses aria-current; labels translated (« Avis 1 »).
    • All these labels come from the language files (fr-FR / en-GB) instead of hard-coded English.

    No new settings, no visual change. Verified with axe-core on horizon.wesa.fr (assets swapped in the browser): 0 violations in the module, down from 10. Rollback: v1.6.12.

    Downloads
  • v1.6.12 bf3a5509e8

    nthxuyen released this 2026-10-08 03:06:46 +02:00 | 16 commits to main since this release

    New setting « Masquer les avis sans commentaire » (hide_empty_reviews, default No). The filter runs before max_reviews, so a limit of 10 still yields 10 reviews with text. Also carries the v1.5.3–v1.6.11 work (autoplay drift, free mode, loop follows slide count, duplicate-review fix, Horizon brand red). Installed and verified on horizon.wesa.fr 2026-10-08. Rollback: v1.5.2.

    Downloads
  • v1.5.2 ade0e1e79f

    nthxuyen released this 2026-10-08 02:58:56 +02:00 | 28 commits to main since this release

    The version installed on horizon.wesa.fr as of 2026-10-08 (live media JS/CSS byte-identical to this tag). Rollback point before v1.6.12.

    Downloads
  • v1.3.1 4c8b9d2ac7

    v1.3.1 Stable

    nthxuyen released this 2026-03-04 14:51:34 +01:00 | 40 commits to main since this release

    • GBP resource path fix (account_id/location_id instead of display name)
    • GBP failure falls back to Places API
    • Task returns OK instead of KNOCKOUT on errors
    Downloads