From b0ecce5eab2a6d0eed3ade7c43e252ca9bac7edb Mon Sep 17 00:00:00 2001 From: kytwb <412895+kytwb@users.noreply.github.com> Date: Sat, 12 Jun 2021 19:51:28 +0200 Subject: Fix active Todos service behaviour (#1481) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Return false instead of null in isTodosServiceAdded * Resolve from TODOS_RECIPES_ID instead of hardcoded TODOS_RECIPE_ID * Fix TodosWebview width toggling when isTodosServiceActive * Add more todo service recipe IDs * Refactor todos state management * Moved todos service URL and recipe ID computation logic to todos/store * Simplified TodosWebview by delegating to the store for the URL and removing the (unused) payment logic * Made the todos service computation logic in the Service model depend on the logic in todos/store * Made ServicesStore depend on the todos service logic from the Service model * Todos appearance fixes * Hide double horizontal rules if todo settings are hidden due to an added todo service * Hide todos panel border when the panel is hidden or expanded * Make expanded todos panel obey sidebar width and vertical style settings * Make todos/store use isValidExternalURL * Harden isValidExternalURL against malformed URLs * Reduce todo URL string duplication in config.js Co-authored-by: Kristóf Marussy --- .../src/components/services/content/Services.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/i18n/messages') diff --git a/src/i18n/messages/src/components/services/content/Services.json b/src/i18n/messages/src/components/services/content/Services.json index 3c40b11ab..6a5eb052e 100644 --- a/src/i18n/messages/src/components/services/content/Services.json +++ b/src/i18n/messages/src/components/services/content/Services.json @@ -4,11 +4,11 @@ "defaultMessage": "!!!Welcome to Ferdi", "file": "src/components/services/content/Services.js", "start": { - "line": 16, + "line": 15, "column": 11 }, "end": { - "line": 19, + "line": 18, "column": 3 } }, @@ -17,11 +17,11 @@ "defaultMessage": "!!!Get started", "file": "src/components/services/content/Services.js", "start": { - "line": 20, + "line": 19, "column": 14 }, "end": { - "line": 23, + "line": 22, "column": 3 } }, @@ -30,11 +30,11 @@ "defaultMessage": "!!!Please login to use Ferdi.", "file": "src/components/services/content/Services.js", "start": { - "line": 24, + "line": 23, "column": 9 }, "end": { - "line": 27, + "line": 26, "column": 3 } }, @@ -43,11 +43,11 @@ "defaultMessage": "!!!Use Ferdi without an Account", "file": "src/components/services/content/Services.js", "start": { - "line": 28, + "line": 27, "column": 14 }, "end": { - "line": 31, + "line": 30, "column": 3 } }, @@ -56,11 +56,11 @@ "defaultMessage": "!!!Optionally, you can change your Ferdi server by clicking the cog in the bottom left corner.", "file": "src/components/services/content/Services.js", "start": { - "line": 32, + "line": 31, "column": 14 }, "end": { - "line": 35, + "line": 34, "column": 3 } } -- cgit v1.2.3-70-g09d2