aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/appearance/index.ts2
-rw-r--r--src/features/basicAuth/index.ts4
-rw-r--r--src/features/basicAuth/mainIpcHandler.ts2
-rw-r--r--src/features/basicAuth/store.ts2
-rw-r--r--src/features/communityRecipes/store.ts2
-rw-r--r--src/features/publishDebugInfo/Component.js4
-rw-r--r--src/features/publishDebugInfo/index.ts4
-rw-r--r--src/features/quickSwitch/index.ts4
-rw-r--r--src/features/serviceProxy/index.ts2
-rw-r--r--src/features/todos/preload.ts8
-rw-r--r--src/features/todos/store.js2
-rw-r--r--src/features/workspaces/api.ts2
-rw-r--r--src/features/workspaces/components/WorkspaceDrawer.js2
-rw-r--r--src/features/workspaces/components/WorkspacesDashboard.js4
-rw-r--r--src/features/workspaces/store.js2
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
3import { state as ModalState } from './store'; 3import { state as ModalState } from './store';
4 4
5const debug = require('debug')('Ferdi:feature:basicAuth'); 5const debug = require('debug')('Ferdium:feature:basicAuth');
6 6
7const state = ModalState; 7const state = ModalState;
8 8
9export default function initialize() { 9export 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 @@
1import { BrowserWindow } from 'electron'; 1import { BrowserWindow } from 'electron';
2 2
3const debug = require('debug')('Ferdi:feature:basicAuth:main'); 3const debug = require('debug')('Ferdium:feature:basicAuth:main');
4 4
5export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) { 5export 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 @@
1import { observable } from 'mobx'; 1import { observable } from 'mobx';
2import { ipcRenderer } from 'electron'; 2import { ipcRenderer } from 'electron';
3 3
4const debug = require('debug')('Ferdi:feature:basicAuth'); 4const debug = require('debug')('Ferdium:feature:basicAuth');
5 5
6const defaultState = { 6const 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 @@
1import { computed } from 'mobx'; 1import { computed } from 'mobx';
2import { FeatureStore } from '../utils/FeatureStore'; 2import { FeatureStore } from '../utils/FeatureStore';
3 3
4const debug = require('debug')('Ferdi:feature:communityRecipes:store'); 4const debug = require('debug')('Ferdium:feature:communityRecipes:store');
5 5
6export class CommunityRecipesStore extends FeatureStore { 6export 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';
14import AppStore from '../../stores/AppStore'; 14import AppStore from '../../stores/AppStore';
15import ServicesStore from '../../stores/ServicesStore'; 15import ServicesStore from '../../stores/ServicesStore';
16 16
17const debug = require('debug')('Ferdi:feature:publishDebugInfo'); 17const debug = require('debug')('Ferdium:feature:publishDebugInfo');
18 18
19const messages = defineMessages({ 19const 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';
3export { default as Component } from './Component'; 3export { default as Component } from './Component';
4 4
5const state = ModalState; 5const state = ModalState;
6const debug = require('debug')('Ferdi:feature:publishDebugInfo'); 6const debug = require('debug')('Ferdium:feature:publishDebugInfo');
7 7
8export default function initialize() { 8export 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';
3export { default as Component } from './Component'; 3export { default as Component } from './Component';
4const state = ModalState; 4const state = ModalState;
5 5
6const debug = require('debug')('Ferdi:feature:quickSwitch'); 6const debug = require('debug')('Ferdium:feature:quickSwitch');
7 7
8export default function initialize() { 8export 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 @@
1import { autorun, observable } from 'mobx'; 1import { autorun, observable } from 'mobx';
2import { session } from '@electron/remote'; 2import { session } from '@electron/remote';
3 3
4const debug = require('debug')('Ferdi:feature:serviceProxy'); 4const debug = require('debug')('Ferdium:feature:serviceProxy');
5 5
6export const config = observable({ 6export 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 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { IPC } from './constants'; 2import { IPC } from './constants';
3 3
4const debug = require('debug')('Ferdi:feature:todos:preload'); 4const debug = require('debug')('Ferdium:feature:todos:preload');
5 5
6debug('Preloading Todos Webview'); 6debug('Preloading Todos Webview');
7 7
@@ -14,7 +14,7 @@ let hostMessageListener = ({ action }) => {
14 } 14 }
15}; 15};
16 16
17window['ferdi'] = { 17window['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.
38This service will only work with accounts registered with Franz - no Ferdi accounts will work here! 38This service will only work with accounts registered with Franz - no Ferdium accounts will work here!
39If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". 39If you do not have a Franz account you can change the Todo service by going into Ferdium's settings and changing the "Todo server".
40You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; 40You 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';
18import { IPC, TODOS_ROUTES } from './constants'; 18import { IPC, TODOS_ROUTES } from './constants';
19import UserAgent from '../../models/UserAgent'; 19import UserAgent from '../../models/UserAgent';
20 20
21const debug = require('debug')('Ferdi:feature:todos:store'); 21const debug = require('debug')('Ferdium:feature:todos:store');
22 22
23export default class TodoStore extends FeatureStore { 23export 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';
4import Workspace from './models/Workspace'; 4import Workspace from './models/Workspace';
5import apiBase from '../../api/apiBase'; 5import apiBase from '../../api/apiBase';
6 6
7const debug = require('debug')('Ferdi:feature:workspaces:api'); 7const debug = require('debug')('Ferdium:feature:workspaces:api');
8 8
9export const workspaceApi = { 9export 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
16import { KEEP_WS_LOADED_USID } from '../../config'; 16import { KEEP_WS_LOADED_USID } from '../../config';
17 17
18const debug = require('debug')('Ferdi:feature:workspaces:store'); 18const debug = require('debug')('Ferdium:feature:workspaces:store');
19 19
20export default class WorkspacesStore extends FeatureStore { 20export default class WorkspacesStore extends FeatureStore {
21 @observable isFeatureActive = false; 21 @observable isFeatureActive = false;