From ba2ac8d2c9ebb9b45325acf455bf7bf2995cdddf Mon Sep 17 00:00:00 2001
From: Vijay Aravamudhan
Date: Mon, 23 May 2022 05:52:50 -0500
Subject: Add new service-level option 'trapLinkUrls' (#154)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This option can be used to allow the user to choose how to handle links
(whether to open in the default browser or within the Ferdium service itself)
Co-authored-by: André Oliveira
---
src/components/settings/services/EditServiceForm.js | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
(limited to 'src/components/settings')
diff --git a/src/components/settings/services/EditServiceForm.js b/src/components/settings/services/EditServiceForm.js
index 42e21dbc8..e426d2d73 100644
--- a/src/components/settings/services/EditServiceForm.js
+++ b/src/components/settings/services/EditServiceForm.js
@@ -108,6 +108,10 @@ const messages = defineMessages({
id: 'settings.service.form.headlineGeneral',
defaultMessage: 'General',
},
+ headlineAppearance: {
+ id: 'settings.service.form.headlineAppearance',
+ defaultMessage: 'Appearance',
+ },
headlineDarkReaderSettings: {
id: 'settings.service.form.headlineDarkReaderSettings',
defaultMessage: 'Dark Reader Settings',
@@ -133,6 +137,10 @@ const messages = defineMessages({
defaultMessage:
'Proxy settings will not be synchronized with the Ferdium servers.',
},
+ serviceReloadRequired: {
+ id: 'settings.service.reloadRequired',
+ defaultMessage: 'Changes require reload of the service',
+ },
});
class EditServiceForm extends Component {
@@ -360,6 +368,15 @@ class EditServiceForm extends Component {
{intl.formatMessage(messages.isHibernationEnabledInfo)}
+
+ {/* TODO: Need to figure out how to effect this change without a reload of the recipe */}
+
+ {intl.formatMessage(messages.serviceReloadRequired)}
+
+
+
+
+
{intl.formatMessage(messages.headlineAppearance)}
{form.$('isDarkModeEnabled').value && (
<>
--
cgit v1.2.3-70-g09d2