From d9876ce6470d097e1cb1e9ae696f752bfba4b189 Mon Sep 17 00:00:00 2001 From: Jed Date: Wed, 20 Nov 2024 12:22:59 +0100 Subject: [PATCH 1/4] Pro 6810 search empty broken (#4807) * performs search when no autocomplete --- CHANGELOG.md | 1 + .../piece-type/ui/apos/components/AposDocsManager.vue | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f271872570..28e4f94732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ did not actually use any noncompliant cookie names or values, so there was no vu * Rich text "Styles" toolbar now has visually focused state. * The `renderPermalinks` and `renderImages` methods of the `@apostrophecms/rich-text` module now correctly resolve the final URLs of page links and inline images in rich text widgets, even when the user has editing privileges. Formerly this was mistakenly prevented by logic intended to preserve the editing experience. The editing experience never actually relied on the rendered output. +* Search bar will perform the search even if the bar is empty allowing to reset a search. ### Adds diff --git a/modules/@apostrophecms/piece-type/ui/apos/components/AposDocsManager.vue b/modules/@apostrophecms/piece-type/ui/apos/components/AposDocsManager.vue index efb2d99da7..2d3b70008f 100644 --- a/modules/@apostrophecms/piece-type/ui/apos/components/AposDocsManager.vue +++ b/modules/@apostrophecms/piece-type/ui/apos/components/AposDocsManager.vue @@ -427,8 +427,6 @@ export default { queryExtras.autocomplete = query; } else if ('autocomplete' in this.queryExtras) { queryExtras.autocomplete = undefined; - } else { - return {}; } const { total, ...pieces } = await this.requestData(1, queryExtras); From b1f1ef447dfb9c149e22fb7da686890c496de795 Mon Sep 17 00:00:00 2001 From: Jed Date: Wed, 20 Nov 2024 15:49:42 +0100 Subject: [PATCH 2/4] Pro 6822 color picker broken (#4809) * fixes overflow hidden in inline array hiding color picker, makes transition smoother * fixes color picket inputs --- CHANGELOG.md | 1 + .../color-field/ui/apos/components/AposColor.vue | 12 ++++++------ .../ui/apos/lib/AposColorEditableInput.vue | 1 + .../schema/ui/apos/components/AposInputArray.vue | 2 +- .../schema/ui/apos/scss/AposInputArray.scss | 8 +++----- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28e4f94732..843d2ea7f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ did not actually use any noncompliant cookie names or values, so there was no vu * The `renderPermalinks` and `renderImages` methods of the `@apostrophecms/rich-text` module now correctly resolve the final URLs of page links and inline images in rich text widgets, even when the user has editing privileges. Formerly this was mistakenly prevented by logic intended to preserve the editing experience. The editing experience never actually relied on the rendered output. * Search bar will perform the search even if the bar is empty allowing to reset a search. +* Fixes Color picker being hidden in an inline array schema field, also fixes rgba inputs going off the modal. ### Adds diff --git a/modules/@apostrophecms/color-field/ui/apos/components/AposColor.vue b/modules/@apostrophecms/color-field/ui/apos/components/AposColor.vue index b9614a7f42..405b478b90 100644 --- a/modules/@apostrophecms/color-field/ui/apos/components/AposColor.vue +++ b/modules/@apostrophecms/color-field/ui/apos/components/AposColor.vue @@ -29,35 +29,35 @@
-
-
-
-
-
- +
Date: Wed, 20 Nov 2024 19:02:25 +0200 Subject: [PATCH 3/4] Fix early return (#4808) --- modules/@apostrophecms/asset/lib/build/internals.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/@apostrophecms/asset/lib/build/internals.js b/modules/@apostrophecms/asset/lib/build/internals.js index 9bf354e57d..461bc6d746 100644 --- a/modules/@apostrophecms/asset/lib/build/internals.js +++ b/modules/@apostrophecms/asset/lib/build/internals.js @@ -308,9 +308,6 @@ module.exports = (self) => { const { imports = [], assets = [], dynamicImports = [] } = files; - if (!imports.length) { - continue; - } for (const file of [ ...imports, ...dynamicImports, ...assets ]) { if (seen[file]) { From d3fd291ceac29969a464c5aa8bd66086e8902611 Mon Sep 17 00:00:00 2001 From: Tom Boutell Date: Wed, 20 Nov 2024 13:17:52 -0500 Subject: [PATCH 4/4] release 4.10.0 (#4811) --- CHANGELOG.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 843d2ea7f1..04641d4dff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## UNRELEASED +## 4.10.0 (2024-11-20) ### Fixes diff --git a/package.json b/package.json index 3e96d56756..dd7391bd34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "apostrophe", - "version": "4.9.0", + "version": "4.10.0", "description": "The Apostrophe Content Management System.", "main": "index.js", "scripts": { @@ -149,4 +149,4 @@ "browserslist": [ "ie >= 10" ] -} +} \ No newline at end of file