Skip to content
Snippets Groups Projects
Unverified Commit 3424e0ee authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:speech_balloon: change misleading automatic bug-report text (#453)

* :speech_balloon:  change misleading automatic bug-report text

* Add github issue link
parent 918b80be
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,8 @@ export function listenForSyncEvent(actions, store) { ...@@ -46,6 +46,8 @@ export function listenForSyncEvent(actions, store) {
let notif = null; let notif = null;
let learnMore = let learnMore =
'[Learn more](https://actualbudget.github.io/docs/Getting-Started/sync#debugging-sync-issues)'; '[Learn more](https://actualbudget.github.io/docs/Getting-Started/sync#debugging-sync-issues)';
const githubIssueLink =
'https://github.com/actualbudget/actual/issues/new?assignees=&labels=bug%2Cneeds+triage&template=bug-report.yml&title=%5BBug%5D%3A+';
switch (subtype) { switch (subtype) {
case 'out-of-sync': case 'out-of-sync':
...@@ -235,9 +237,7 @@ export function listenForSyncEvent(actions, store) { ...@@ -235,9 +237,7 @@ export function listenForSyncEvent(actions, store) {
break; break;
case 'apply-failure': case 'apply-failure':
notif = { notif = {
message: message: `We couldn't apply that change to the database. Please report this as a bug by [opening a Github issue](${githubIssueLink}).`
"We couldn't apply that change to the database. This is a bug, " +
'and it has been reported.'
}; };
break; break;
case 'beta-version': case 'beta-version':
...@@ -246,9 +246,7 @@ export function listenForSyncEvent(actions, store) { ...@@ -246,9 +246,7 @@ export function listenForSyncEvent(actions, store) {
break; break;
default: default:
notif = { notif = {
message: message: `We had problems syncing your changes. Please report this as a bug by [opening a Github issue](${githubIssueLink}).`
'We had problems syncing your changes. This is a bug, ' +
'and it has been reported.'
}; };
} }
......
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