Skip to content
Snippets Groups Projects
Unverified Commit c5c4cbbe authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Update wording across the UI to clarify that we don’t own any servers (#768)

parent 5d7ead44
No related branches found
No related tags found
No related merge requests found
...@@ -28,14 +28,6 @@ function getErrorMessage(type, code) { ...@@ -28,14 +28,6 @@ function getErrorMessage(type, code) {
} }
break; break;
case 'API_ERROR':
switch (code.toUpperCase()) {
case 'PLANNED_MAINTENANCE':
return 'Our servers are currently undergoing maintenance and will be available again soon.';
default:
}
break;
case 'RATE_LIMIT_EXCEEDED': case 'RATE_LIMIT_EXCEEDED':
return 'Rate limit exceeded for this item. Please try again later.'; return 'Rate limit exceeded for this item. Please try again later.';
......
...@@ -25,7 +25,7 @@ export default function Bootstrap() { ...@@ -25,7 +25,7 @@ export default function Bootstrap() {
case 'network-failure': case 'network-failure':
return 'Unable to contact the server'; return 'Unable to contact the server';
default: default:
return "Whoops, an error occurred on our side! We'll try to get it fixed soon."; return `An unknown error occurred: ${error}`;
} }
} }
......
...@@ -29,7 +29,7 @@ export default function Login() { ...@@ -29,7 +29,7 @@ export default function Login() {
case 'network-failure': case 'network-failure':
return 'Unable to contact the server'; return 'Unable to contact the server';
default: default:
return "Whoops, an error occurred on our side! We'll try to get it fixed soon."; return `An unknown error occurred: ${error}`;
} }
} }
......
...@@ -31,8 +31,8 @@ export default function CreateAccount({ modalProps, syncServerStatus }) { ...@@ -31,8 +31,8 @@ export default function CreateAccount({ modalProps, syncServerStatus }) {
<View style={{ maxWidth: 500 }}> <View style={{ maxWidth: 500 }}>
<Text style={{ marginBottom: 10, lineHeight: '1.4em', fontSize: 15 }}> <Text style={{ marginBottom: 10, lineHeight: '1.4em', fontSize: 15 }}>
<strong>Link your bank accounts</strong> to automatically download <strong>Link your bank accounts</strong> to automatically download
transactions. We offer hundreds of banks to sync with, and our transactions. We offer hundreds of banks to sync with, and Nordigen
service will provide reliable, up-to-date information. will provide reliable, up-to-date information.
</Text> </Text>
<ButtonWithLoading <ButtonWithLoading
......
...@@ -52,7 +52,7 @@ export function ResetSync({ resetSync }) { ...@@ -52,7 +52,7 @@ export function ResetSync({ resetSync }) {
> >
<Text> <Text>
<strong>Reset sync</strong> will remove all local data used to track <strong>Reset sync</strong> will remove all local data used to track
changes for syncing, and create a fresh sync ID on our server. This file changes for syncing, and create a fresh sync ID on the server. This file
on other devices will have to be re-downloaded to use the new sync ID. on other devices will have to be re-downloaded to use the new sync ID.
Use this if there is a problem with syncing and you want to start fresh. Use this if there is a problem with syncing and you want to start fresh.
</Text> </Text>
......
...@@ -61,7 +61,7 @@ export function getCreateKeyError(error) { ...@@ -61,7 +61,7 @@ export function getCreateKeyError(error) {
export function getTestKeyError({ reason }) { export function getTestKeyError({ reason }) {
switch (reason) { switch (reason) {
case 'network': case 'network':
return 'Unable to connect to the server. We need to access our server to get some information about your keys.'; return 'Unable to connect to the server. We need to access the server to get some information about your keys.';
case 'old-key-style': case 'old-key-style':
return ( return (
'This file is encrypted with an old unsupported key style. Recreate the key ' + 'This file is encrypted with an old unsupported key style. Recreate the key ' +
......
...@@ -48,9 +48,10 @@ export default function DeleteMenu({ modalProps, actions, file }) { ...@@ -48,9 +48,10 @@ export default function DeleteMenu({ modalProps, actions, file }) {
{isRemote && ( {isRemote && (
<> <>
<Text> <Text>
This is a <strong>hosted file</strong> which we store to make it This is a <strong>hosted file</strong> which means it is stored
available for download on any device. You can delete it from our on your server to make it available for download on any device.
servers which will remove it from all of your devices. You can delete it from the server, which will also remove it
from all of your devices.
</Text> </Text>
<ButtonWithLoading <ButtonWithLoading
...@@ -91,10 +92,10 @@ export default function DeleteMenu({ modalProps, actions, file }) { ...@@ -91,10 +92,10 @@ export default function DeleteMenu({ modalProps, actions, file }) {
) : ( ) : (
<Text> <Text>
This a <strong>local file</strong> which is not stored This a <strong>local file</strong> which is not stored
on our servers. on a server.
</Text> </Text>
)}{' '} )}{' '}
Deleting it will remove it and all of its backup Deleting it will remove it and all of its backups
permanently. permanently.
</Text> </Text>
)} )}
......
---
category: Enhancements
authors: [j-f1]
---
Update wording across the UI to clarify that we don’t own any servers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment