diff options
author | Amine <amine@mouafik.fr> | 2020-03-31 14:09:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 14:09:05 +0100 |
commit | 899d2bf551e111bdc68608dba02e93782eec9f85 (patch) | |
tree | 2ead7fcc3a8f08d74af186931267e9021d21812e /src/config.js | |
parent | Retry flaky commands on AppVeyor (#526) (diff) | |
download | ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.tar.gz ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.tar.zst ferdium-app-899d2bf551e111bdc68608dba02e93782eec9f85.zip |
* add condition if on todo options
* add drop down for todo server
* fix error TODOS_FRONTEND
* add todo list apps'
* update name of dropdown menu to Todo Service
* add other service to dropdown menu and subsetting field for user to input url
* add Other Service to drop down
* fixed typos
* reverted wording
* fix custom field
* fix linting
* fix linting
* Delete tsconfig.tsbuildinfo
* Delete tsconfig.tsbuildinfo
* Delete tsconfig.tsbuildinfo
* Add regex to validate custom todo url
* Add note with source of regex function
* Move regex function declaration to function body root
* Apply code style
* Add migration for todo settings
* Apply code style
Co-authored-by: romain <romain@jumboprivacy.com>
Co-authored-by: Roman <46404814+yourcontact@users.noreply.github.com>
Co-authored-by: romain <rpsa@pm.me>
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/config.js b/src/config.js index af304232e..f617555df 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -51,6 +51,18 @@ export const NAVIGATION_BAR_BEHAVIOURS = { | |||
51 | never: 'Never show navigation bar', | 51 | never: 'Never show navigation bar', |
52 | }; | 52 | }; |
53 | 53 | ||
54 | export const TODO_APPS = { | ||
55 | 'https://todoist.com/app': 'Todoist', | ||
56 | 'https://app.franztodos.com': 'Franz Todo', | ||
57 | 'https://ticktick.com/signin': 'TickTick', | ||
58 | 'https://todo.microsoft.com/?app#': 'Microsoft To Do', | ||
59 | 'https://habitica.com/login': 'Habitica', | ||
60 | 'https://app.nozbe.com/#login': 'Nozbe', | ||
61 | 'https://www.rememberthemilk.com/login/': 'Remember The Milk', | ||
62 | 'https://desktop.any.do/': 'Any.do', | ||
63 | isUsingCustomTodoService: 'Other service', | ||
64 | }; | ||
65 | |||
54 | export const SIDEBAR_WIDTH = { | 66 | export const SIDEBAR_WIDTH = { |
55 | 35: 'Extemely slim sidebar', | 67 | 35: 'Extemely slim sidebar', |
56 | 45: 'Very slim sidebar', | 68 | 45: 'Very slim sidebar', |
@@ -95,7 +107,7 @@ export const DEFAULT_APP_SETTINGS = { | |||
95 | 107 | ||
96 | // Ferdi specific options | 108 | // Ferdi specific options |
97 | server: LIVE_API, | 109 | server: LIVE_API, |
98 | todoServer: PRODUCTION_TODOS_FRONTEND_URL, | 110 | predefinedTodoServer: 'https://app.franztodos.com', |
99 | autohideMenuBar: false, | 111 | autohideMenuBar: false, |
100 | lockingFeatureEnabled: false, | 112 | lockingFeatureEnabled: false, |
101 | locked: false, | 113 | locked: false, |