From 3090f8ec95ba3318c978f33a0f0ad582e3c23a14 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 6 Mar 2024 10:17:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Improved=20lazy-loading=20of=20c?= =?UTF-8?q?omments=20data=20(#19809)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue Bumps `Comments-UI` app version that contains an improvement to data loading: - within the comments block we only use Admin auth to show moderation options on each displayed comment but we were always pre-emptively loading the `admin-auth` frame and making the associated Admin API user request. That loading has now been deferred until at least one comment has been displayed cutting down unnecessary requests on each post view --- ghost/core/core/shared/config/defaults.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/core/core/shared/config/defaults.json b/ghost/core/core/shared/config/defaults.json index 619633a41c..351b084ecc 100644 --- a/ghost/core/core/shared/config/defaults.json +++ b/ghost/core/core/shared/config/defaults.json @@ -195,7 +195,7 @@ }, "comments": { "url": "https://cdn.jsdelivr.net/ghost/comments-ui@~{version}/umd/comments-ui.min.js", - "version": "0.15" + "version": "0.16" }, "signupForm": { "url": "https://cdn.jsdelivr.net/ghost/signup-form@~{version}/umd/signup-form.min.js",