diff options
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/appearance/index.ts | 2 | ||||
-rw-r--r-- | src/features/basicAuth/index.ts | 4 | ||||
-rw-r--r-- | src/features/basicAuth/mainIpcHandler.ts | 2 | ||||
-rw-r--r-- | src/features/basicAuth/store.ts | 2 | ||||
-rw-r--r-- | src/features/communityRecipes/store.ts | 2 | ||||
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 4 | ||||
-rw-r--r-- | src/features/publishDebugInfo/index.ts | 4 | ||||
-rw-r--r-- | src/features/quickSwitch/index.ts | 4 | ||||
-rw-r--r-- | src/features/serviceProxy/index.ts | 2 | ||||
-rw-r--r-- | src/features/todos/preload.ts | 8 | ||||
-rw-r--r-- | src/features/todos/store.js | 2 | ||||
-rw-r--r-- | src/features/workspaces/api.ts | 2 | ||||
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 2 | ||||
-rw-r--r-- | src/features/workspaces/components/WorkspacesDashboard.js | 4 | ||||
-rw-r--r-- | src/features/workspaces/store.js | 2 |
15 files changed, 23 insertions, 23 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 9c0268707..593c710f4 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -69,7 +69,7 @@ function generateAccentStyle(accentColorStr) { | |||
69 | .franz-form .franz-form__toggle-wrapper .franz-form__toggle.is-active .franz-form__toggle-button, | 69 | .franz-form .franz-form__toggle-wrapper .franz-form__toggle.is-active .franz-form__toggle-button, |
70 | .theme__dark .franz-form__button, | 70 | .theme__dark .franz-form__button, |
71 | .franz-form__button, | 71 | .franz-form__button, |
72 | .ferdi__fab, | 72 | .ferdium__fab, |
73 | .franz-form .franz-form__slider-wrapper .slider::-webkit-slider-thumb, | 73 | .franz-form .franz-form__slider-wrapper .slider::-webkit-slider-thumb, |
74 | span.loader div > div > div { | 74 | span.loader div > div > div { |
75 | background: ${accentColorStr}; | 75 | background: ${accentColorStr}; |
diff --git a/src/features/basicAuth/index.ts b/src/features/basicAuth/index.ts index 8e8fa186c..dd02a3bdc 100644 --- a/src/features/basicAuth/index.ts +++ b/src/features/basicAuth/index.ts | |||
@@ -2,14 +2,14 @@ import { AuthInfo, BrowserWindow, ipcRenderer } from 'electron'; | |||
2 | 2 | ||
3 | import { state as ModalState } from './store'; | 3 | import { state as ModalState } from './store'; |
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:feature:basicAuth'); | 5 | const debug = require('debug')('Ferdium:feature:basicAuth'); |
6 | 6 | ||
7 | const state = ModalState; | 7 | const state = ModalState; |
8 | 8 | ||
9 | export default function initialize() { | 9 | export default function initialize() { |
10 | debug('Initialize basicAuth feature'); | 10 | debug('Initialize basicAuth feature'); |
11 | 11 | ||
12 | window['ferdi'].features.basicAuth = { | 12 | window['ferdium'].features.basicAuth = { |
13 | state, | 13 | state, |
14 | }; | 14 | }; |
15 | 15 | ||
diff --git a/src/features/basicAuth/mainIpcHandler.ts b/src/features/basicAuth/mainIpcHandler.ts index 4ec3848e8..2f78b1497 100644 --- a/src/features/basicAuth/mainIpcHandler.ts +++ b/src/features/basicAuth/mainIpcHandler.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { BrowserWindow } from 'electron'; | 1 | import { BrowserWindow } from 'electron'; |
2 | 2 | ||
3 | const debug = require('debug')('Ferdi:feature:basicAuth:main'); | 3 | const debug = require('debug')('Ferdium:feature:basicAuth:main'); |
4 | 4 | ||
5 | export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) { | 5 | export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) { |
6 | debug('Sending basic auth call', authInfo); | 6 | debug('Sending basic auth call', authInfo); |
diff --git a/src/features/basicAuth/store.ts b/src/features/basicAuth/store.ts index 0713ff572..4b71d32fd 100644 --- a/src/features/basicAuth/store.ts +++ b/src/features/basicAuth/store.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { observable } from 'mobx'; | 1 | import { observable } from 'mobx'; |
2 | import { ipcRenderer } from 'electron'; | 2 | import { ipcRenderer } from 'electron'; |
3 | 3 | ||
4 | const debug = require('debug')('Ferdi:feature:basicAuth'); | 4 | const debug = require('debug')('Ferdium:feature:basicAuth'); |
5 | 5 | ||
6 | const defaultState = { | 6 | const defaultState = { |
7 | isModalVisible: true, | 7 | isModalVisible: true, |
diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts index c7a51c311..407a63860 100644 --- a/src/features/communityRecipes/store.ts +++ b/src/features/communityRecipes/store.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { computed } from 'mobx'; | 1 | import { computed } from 'mobx'; |
2 | import { FeatureStore } from '../utils/FeatureStore'; | 2 | import { FeatureStore } from '../utils/FeatureStore'; |
3 | 3 | ||
4 | const debug = require('debug')('Ferdi:feature:communityRecipes:store'); | 4 | const debug = require('debug')('Ferdium:feature:communityRecipes:store'); |
5 | 5 | ||
6 | export class CommunityRecipesStore extends FeatureStore { | 6 | export class CommunityRecipesStore extends FeatureStore { |
7 | stores: any; | 7 | stores: any; |
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index 2b9af01a7..3d4e85dbf 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -14,7 +14,7 @@ import { DEBUG_API } from '../../config'; | |||
14 | import AppStore from '../../stores/AppStore'; | 14 | import AppStore from '../../stores/AppStore'; |
15 | import ServicesStore from '../../stores/ServicesStore'; | 15 | import ServicesStore from '../../stores/ServicesStore'; |
16 | 16 | ||
17 | const debug = require('debug')('Ferdi:feature:publishDebugInfo'); | 17 | const debug = require('debug')('Ferdium:feature:publishDebugInfo'); |
18 | 18 | ||
19 | const messages = defineMessages({ | 19 | const messages = defineMessages({ |
20 | title: { | 20 | title: { |
@@ -24,7 +24,7 @@ const messages = defineMessages({ | |||
24 | info: { | 24 | info: { |
25 | id: 'feature.publishDebugInfo.info', | 25 | id: 'feature.publishDebugInfo.info', |
26 | defaultMessage: | 26 | defaultMessage: |
27 | "Publishing your debug information helps us find issues and errors in Ferdi. By publishing your debug information you accept Ferdi Debugger's privacy policy and terms of service", | 27 | "Publishing your debug information helps us find issues and errors in Ferdium. By publishing your debug information you accept Ferdium Debugger's privacy policy and terms of service", |
28 | }, | 28 | }, |
29 | error: { | 29 | error: { |
30 | id: 'feature.publishDebugInfo.error', | 30 | id: 'feature.publishDebugInfo.error', |
diff --git a/src/features/publishDebugInfo/index.ts b/src/features/publishDebugInfo/index.ts index 43841b530..33b8eb6f5 100644 --- a/src/features/publishDebugInfo/index.ts +++ b/src/features/publishDebugInfo/index.ts | |||
@@ -3,7 +3,7 @@ import { state as ModalState } from './store'; | |||
3 | export { default as Component } from './Component'; | 3 | export { default as Component } from './Component'; |
4 | 4 | ||
5 | const state = ModalState; | 5 | const state = ModalState; |
6 | const debug = require('debug')('Ferdi:feature:publishDebugInfo'); | 6 | const debug = require('debug')('Ferdium:feature:publishDebugInfo'); |
7 | 7 | ||
8 | export default function initialize() { | 8 | export default function initialize() { |
9 | debug('Initialize publishDebugInfo feature'); | 9 | debug('Initialize publishDebugInfo feature'); |
@@ -12,7 +12,7 @@ export default function initialize() { | |||
12 | state.isModalVisible = true; | 12 | state.isModalVisible = true; |
13 | } | 13 | } |
14 | 14 | ||
15 | window['ferdi'].features.publishDebugInfo = { | 15 | window['ferdium'].features.publishDebugInfo = { |
16 | state, | 16 | state, |
17 | showModal, | 17 | showModal, |
18 | }; | 18 | }; |
diff --git a/src/features/quickSwitch/index.ts b/src/features/quickSwitch/index.ts index e9cc36b2a..9d584dc62 100644 --- a/src/features/quickSwitch/index.ts +++ b/src/features/quickSwitch/index.ts | |||
@@ -3,7 +3,7 @@ import { state as ModalState } from './store'; | |||
3 | export { default as Component } from './Component'; | 3 | export { default as Component } from './Component'; |
4 | const state = ModalState; | 4 | const state = ModalState; |
5 | 5 | ||
6 | const debug = require('debug')('Ferdi:feature:quickSwitch'); | 6 | const debug = require('debug')('Ferdium:feature:quickSwitch'); |
7 | 7 | ||
8 | export default function initialize() { | 8 | export default function initialize() { |
9 | debug('Initialize quickSwitch feature'); | 9 | debug('Initialize quickSwitch feature'); |
@@ -12,7 +12,7 @@ export default function initialize() { | |||
12 | state.isModalVisible = true; | 12 | state.isModalVisible = true; |
13 | } | 13 | } |
14 | 14 | ||
15 | window['ferdi'].features.quickSwitch = { | 15 | window['ferdium'].features.quickSwitch = { |
16 | state, | 16 | state, |
17 | showModal, | 17 | showModal, |
18 | }; | 18 | }; |
diff --git a/src/features/serviceProxy/index.ts b/src/features/serviceProxy/index.ts index f095b286a..bdc21e97e 100644 --- a/src/features/serviceProxy/index.ts +++ b/src/features/serviceProxy/index.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { autorun, observable } from 'mobx'; | 1 | import { autorun, observable } from 'mobx'; |
2 | import { session } from '@electron/remote'; | 2 | import { session } from '@electron/remote'; |
3 | 3 | ||
4 | const debug = require('debug')('Ferdi:feature:serviceProxy'); | 4 | const debug = require('debug')('Ferdium:feature:serviceProxy'); |
5 | 5 | ||
6 | export const config = observable({ | 6 | export const config = observable({ |
7 | isEnabled: true, | 7 | isEnabled: true, |
diff --git a/src/features/todos/preload.ts b/src/features/todos/preload.ts index 31d473051..896d82bdf 100644 --- a/src/features/todos/preload.ts +++ b/src/features/todos/preload.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { IPC } from './constants'; | 2 | import { IPC } from './constants'; |
3 | 3 | ||
4 | const debug = require('debug')('Ferdi:feature:todos:preload'); | 4 | const debug = require('debug')('Ferdium:feature:todos:preload'); |
5 | 5 | ||
6 | debug('Preloading Todos Webview'); | 6 | debug('Preloading Todos Webview'); |
7 | 7 | ||
@@ -14,7 +14,7 @@ let hostMessageListener = ({ action }) => { | |||
14 | } | 14 | } |
15 | }; | 15 | }; |
16 | 16 | ||
17 | window['ferdi'] = { | 17 | window['ferdium'] = { |
18 | onInitialize(ipcHostMessageListener) { | 18 | onInitialize(ipcHostMessageListener) { |
19 | hostMessageListener = ipcHostMessageListener; | 19 | hostMessageListener = ipcHostMessageListener; |
20 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { | 20 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { |
@@ -35,8 +35,8 @@ if (window.location.href === 'https://app.franztodos.com/login/') { | |||
35 | // Insert info element informing about Franz accounts | 35 | // Insert info element informing about Franz accounts |
36 | const infoElement = document.createElement('p'); | 36 | const infoElement = document.createElement('p'); |
37 | infoElement.textContent = `You are using Franz's official Todo Service. | 37 | infoElement.textContent = `You are using Franz's official Todo Service. |
38 | This service will only work with accounts registered with Franz - no Ferdi accounts will work here! | 38 | This service will only work with accounts registered with Franz - no Ferdium accounts will work here! |
39 | If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". | 39 | If you do not have a Franz account you can change the Todo service by going into Ferdium's settings and changing the "Todo server". |
40 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; | 40 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; |
41 | 41 | ||
42 | // Franz Todos uses React. Because of this we can't directly insert the element into the page | 42 | // Franz Todos uses React. Because of this we can't directly insert the element into the page |
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 2bf4e8fab..90ea47c71 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -18,7 +18,7 @@ import { createActionBindings } from '../utils/ActionBinding'; | |||
18 | import { IPC, TODOS_ROUTES } from './constants'; | 18 | import { IPC, TODOS_ROUTES } from './constants'; |
19 | import UserAgent from '../../models/UserAgent'; | 19 | import UserAgent from '../../models/UserAgent'; |
20 | 20 | ||
21 | const debug = require('debug')('Ferdi:feature:todos:store'); | 21 | const debug = require('debug')('Ferdium:feature:todos:store'); |
22 | 22 | ||
23 | export default class TodoStore extends FeatureStore { | 23 | export default class TodoStore extends FeatureStore { |
24 | @observable stores = null; | 24 | @observable stores = null; |
diff --git a/src/features/workspaces/api.ts b/src/features/workspaces/api.ts index 8447fc247..3c8cbbceb 100644 --- a/src/features/workspaces/api.ts +++ b/src/features/workspaces/api.ts | |||
@@ -4,7 +4,7 @@ import Request from '../../stores/lib/Request'; | |||
4 | import Workspace from './models/Workspace'; | 4 | import Workspace from './models/Workspace'; |
5 | import apiBase from '../../api/apiBase'; | 5 | import apiBase from '../../api/apiBase'; |
6 | 6 | ||
7 | const debug = require('debug')('Ferdi:feature:workspaces:api'); | 7 | const debug = require('debug')('Ferdium:feature:workspaces:api'); |
8 | 8 | ||
9 | export const workspaceApi = { | 9 | export const workspaceApi = { |
10 | getUserWorkspaces: async () => { | 10 | getUserWorkspaces: async () => { |
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index 147d4cf89..22e4fa9fa 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js | |||
@@ -32,7 +32,7 @@ const messages = defineMessages({ | |||
32 | workspaceFeatureInfo: { | 32 | workspaceFeatureInfo: { |
33 | id: 'workspaceDrawer.workspaceFeatureInfo', | 33 | id: 'workspaceDrawer.workspaceFeatureInfo', |
34 | defaultMessage: | 34 | defaultMessage: |
35 | '<p>Ferdi Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time.</p><p>You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.</p>', | 35 | '<p>Ferdium Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time.</p><p>You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.</p>', |
36 | }, | 36 | }, |
37 | addNewWorkspaceLabel: { | 37 | addNewWorkspaceLabel: { |
38 | id: 'workspaceDrawer.addNewWorkspaceLabel', | 38 | id: 'workspaceDrawer.addNewWorkspaceLabel', |
diff --git a/src/features/workspaces/components/WorkspacesDashboard.js b/src/features/workspaces/components/WorkspacesDashboard.js index 9c2f65731..770186be7 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.js +++ b/src/features/workspaces/components/WorkspacesDashboard.js | |||
@@ -41,11 +41,11 @@ const messages = defineMessages({ | |||
41 | workspaceFeatureInfo: { | 41 | workspaceFeatureInfo: { |
42 | id: 'settings.workspaces.workspaceFeatureInfo', | 42 | id: 'settings.workspaces.workspaceFeatureInfo', |
43 | defaultMessage: | 43 | defaultMessage: |
44 | 'Ferdi Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time. You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.', | 44 | 'Ferdium Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time. You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.', |
45 | }, | 45 | }, |
46 | workspaceFeatureHeadline: { | 46 | workspaceFeatureHeadline: { |
47 | id: 'settings.workspaces.workspaceFeatureHeadline', | 47 | id: 'settings.workspaces.workspaceFeatureHeadline', |
48 | defaultMessage: 'Less is More: Introducing Ferdi Workspaces', | 48 | defaultMessage: 'Less is More: Introducing Ferdium Workspaces', |
49 | }, | 49 | }, |
50 | }); | 50 | }); |
51 | 51 | ||
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 61048c637..1f3d57c24 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js | |||
@@ -15,7 +15,7 @@ import { createActionBindings } from '../utils/ActionBinding'; | |||
15 | 15 | ||
16 | import { KEEP_WS_LOADED_USID } from '../../config'; | 16 | import { KEEP_WS_LOADED_USID } from '../../config'; |
17 | 17 | ||
18 | const debug = require('debug')('Ferdi:feature:workspaces:store'); | 18 | const debug = require('debug')('Ferdium:feature:workspaces:store'); |
19 | 19 | ||
20 | export default class WorkspacesStore extends FeatureStore { | 20 | export default class WorkspacesStore extends FeatureStore { |
21 | @observable isFeatureActive = false; | 21 | @observable isFeatureActive = false; |