Skip to content

Commit

Permalink
Remove all references to help@actualbudget.com (#627)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Feb 5, 2023
1 parent 2f9dd5c commit 5daa18a
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
12 changes: 8 additions & 4 deletions packages/desktop-client/src/components/tutorial/Final.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion packages/loot-core/src/client/actions/budgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down
2 changes: 1 addition & 1 deletion packages/loot-core/src/shared/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}

Expand Down

0 comments on commit 5daa18a

Please sign in to comment.