Remove all references to help@actualbudget.com (#627)

* Remove all references to help@actualbudget.com

Replaced help@actualbudget.com with link to GitHub issues

* Lint Fixes

Lint Fixes

* Added React

React required for href expansion as per lint rules https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md

* Changed links to contact page and fixed linting

Changed links to contact page and fixed linting

* Update packages/desktop-client/src/components/accounts/AccountSyncCheck.js

Co-authored-by: Jed Fox <git@jedfox.com>

* Lint fixes

* JSX removal

* Lint

* Update packages/desktop-client/src/components/tutorial/Final.js

Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>

* Update packages/desktop-client/src/components/accounts/AccountSyncCheck.js

Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>

* Lint fixes

---------

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
This commit is contained in:
Rich Howell
2023-02-05 16:57:14 +00:00
committed by GitHub
parent 2f9dd5cea1
commit 5daa18a032
6 changed files with 25 additions and 10 deletions

View File

@@ -42,7 +42,19 @@ function getErrorMessage(type, code) {
default:
}
return 'An internal error occurred. Try to login again, or contact help@actualbudget.com for support.';
return (
<>
An internal error occurred. Try to login again, or get{' '}
<a
href="https://actualbudget.github.io/docs/Contact/"
target="_blank"
rel="noopener noreferrer"
>
in touch
</a>{' '}
for support.
</>
);
}
function AccountSyncCheck({

View File

@@ -20,10 +20,14 @@ function Final({ targetRect, navigationProps }) {
<P>
You probably want to delete the transactions you added and clean up your
budget. If you have any questions or feedback, email{' '}
<ExternalLink asAnchor href="mailto:help@actualbudget.com">
help@actualbudget.com
</ExternalLink>
budget. If you have any questions or feedback, please get{' '}
<a
href="https://actualbudget.github.io/docs/Contact/"
target="_blank"
rel="noopener noreferrer"
>
in touch
</a>
.
</P>

View File

@@ -90,7 +90,7 @@ export function loadBudget(id, loadingText = '', options = {}) {
);
} else {
alert(
'Error loading budget. Please contact help@actualbudget.com for support.'
'Error loading budget. Please open a issue on GitHub for support.'
);
}

View File

@@ -109,8 +109,7 @@ function connectWorker(worker, onOpen, onError) {
if (msg.message && msg.message.includes('indexeddb-quota-error')) {
alert(
'We hit a limit on the local storage available. ' +
'Edits may not be saved. Please contact help@actualbudget.com to help debug this.'
'We hit a limit on the local storage available. Edits may not be saved. Please get in touch https://actualbudget.github.io/docs/Contact/ so we can help debug this.'
);
}
} else if (msg.type === 'capture-breadcrumb') {

View File

@@ -1100,7 +1100,7 @@ handlers['accounts-sync'] = async function ({ id }) {
errors.push({
accountId: acct.id,
message:
'There was an internal error. Please email help@actualbudget.com for support.',
'There was an internal error. Please get in touch https://actualbudget.github.io/docs/Contact for support.',
internal: err.stack
});

View File

@@ -132,7 +132,7 @@ export function getFieldError(type) {
case 'invalid-field':
return 'Please choose a valid field for this type of rule';
default:
return 'Internal error, sorry! Contact help@actualbudget.com';
return 'Internal error, sorry! Please get in touch https://actualbudget.github.io/docs/Contact/ for support';
}
}