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) {
let notif = null;
let learnMore =
'[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) {
case 'out-of-sync':
......@@ -235,9 +237,7 @@ export function listenForSyncEvent(actions, store) {
break;
case 'apply-failure':
notif = {
message:
"We couldn't apply that change to the database. This is a bug, " +
'and it has been reported.'
message: `We couldn't apply that change to the database. Please report this as a bug by [opening a Github issue](${githubIssueLink}).`
};
break;
case 'beta-version':
......@@ -246,9 +246,7 @@ export function listenForSyncEvent(actions, store) {
break;
default:
notif = {
message:
'We had problems syncing your changes. This is a bug, ' +
'and it has been reported.'
message: `We had problems syncing your changes. Please report this as a bug by [opening a Github issue](${githubIssueLink}).`
};
}
......
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