From 8e2ef55cab41694d21fd15aef7291635b5318288 Mon Sep 17 00:00:00 2001 From: Kyle McCullen Date: Tue, 3 Feb 2026 11:28:29 -0500 Subject: [PATCH 1/5] fix settings not persisting --- src/app/features/settings/settings.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/features/settings/settings.component.ts b/src/app/features/settings/settings.component.ts index b9c5f30..07e55e1 100644 --- a/src/app/features/settings/settings.component.ts +++ b/src/app/features/settings/settings.component.ts @@ -52,6 +52,10 @@ export class SettingsComponent { developerMode: new FormControl(settings.developerMode) }); + this.formGroup.valueChanges.subscribe((settings) => { + this.settingsService.save(settings); + }); + this.formGroup.get('developerMode')?.valueChanges.subscribe(() => { this.clipboardService.rerunGetClipboardItem(); }); From 3831699757e521fa1ed2886f228ef05f95bf6553 Mon Sep 17 00:00:00 2001 From: Kyle McCullen Date: Tue, 3 Feb 2026 11:37:54 -0500 Subject: [PATCH 2/5] open branta core window on notification click --- app/main.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/main.ts b/app/main.ts index 2481f5b..e0d0a53 100644 --- a/app/main.ts +++ b/app/main.ts @@ -145,11 +145,17 @@ function createWindow() { } ipcMain.handle('show-notification', (_event, title, body) => { - new ENotification({ + const notification = new ENotification({ title, body, icon - }).show(); + }); + + notification.on('click', () => { + mainWindow?.show(); + }); + + notification.show(); }); ipcMain.handle('verify-address', (_event, wallets, address) => { From 3e9c59912c8c42ab04bf62f90576d7b61128ccf2 Mon Sep 17 00:00:00 2001 From: Kyle McCullen Date: Tue, 3 Feb 2026 12:17:52 -0500 Subject: [PATCH 3/5] add payment link to payment not found toast --- .../clipboard-details.component.ts | 35 +++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/src/app/features/clipboard/clipboard-details/clipboard-details.component.ts b/src/app/features/clipboard/clipboard-details/clipboard-details.component.ts index c716e32..4e74e7f 100644 --- a/src/app/features/clipboard/clipboard-details/clipboard-details.component.ts +++ b/src/app/features/clipboard/clipboard-details/clipboard-details.component.ts @@ -29,16 +29,45 @@ export class ClipboardDetailsComponent extends BaseClipboardComponent { onVerify(): void { (async () => { - var result = await this.queryPayments(this.clipboardItem?.value ?? "") + const value = this.clipboardItem?.value; + + if (!value) { + return; + } + + const result = await this.queryPayments(value); if (result) { this.clipboardItemChange.emit(result as PaymentClipboardItem); - } else { - this.toastrService.error(`Payment not found.`); + return; } + + this.showPaymentNotFoundToast(value); })(); } + private showPaymentNotFoundToast(value: string): void { + this.toastrService.error( + `For more info on why this payment was not found click here.`, + 'Payment not found', + { + enableHtml: true, + tapToDismiss: false + } + ); + + setTimeout(() => { + const link = document.querySelector('.toast-error .payment-link'); + if (link) { + link.addEventListener('click', (e) => { + e.preventDefault(); + const url = `${this.serverService.baseUrl}/v2/verify/${encodeURIComponent(value)}`; + window.electron.openUrl(url); + }); + } + }, 100); + } + private async queryPayments(value: string): Promise { try { const paymentClipboardItems = await lastValueFrom(this.serverService.getPayment(value)); From 688c439a6a1c28c9878d3efb1b3898fcb19ceeb7 Mon Sep 17 00:00:00 2001 From: Kyle McCullen Date: Tue, 3 Feb 2026 12:20:31 -0500 Subject: [PATCH 4/5] make baseUrl method public --- src/app/shared/services/server.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/services/server.service.ts b/src/app/shared/services/server.service.ts index 8b8d7d1..e2b6f3f 100644 --- a/src/app/shared/services/server.service.ts +++ b/src/app/shared/services/server.service.ts @@ -18,7 +18,7 @@ export class ServerService { return this.httpClient.get(`${this.baseUrl}/v2/payments/${encodeURIComponent(value)}`); } - private get baseUrl(): string { + get baseUrl(): string { if (environment.production == false) { return 'http://localhost:3000'; } From a35f7366907b2fab1ecce76b88ec24b62cb0ce52 Mon Sep 17 00:00:00 2001 From: Kyle McCullen Date: Wed, 4 Feb 2026 09:21:37 -0500 Subject: [PATCH 5/5] release 0.10.2 --- installers/windows/Branta.Wix/Package.wxs | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installers/windows/Branta.Wix/Package.wxs b/installers/windows/Branta.Wix/Package.wxs index 29a9f5e..4b70935 100644 --- a/installers/windows/Branta.Wix/Package.wxs +++ b/installers/windows/Branta.Wix/Package.wxs @@ -1,7 +1,7 @@ diff --git a/package-lock.json b/package-lock.json index 37952aa..1876bf9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "branta", - "version": "0.10.1", + "version": "0.10.2", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 8cc818e..a5c141e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "branta", "productName": "Branta", - "version": "0.10.1", + "version": "0.10.2", "main": "build/app/main.js", "author": "Branta LLC", "description": "Verify your bitcoin payments.",