Skip to content

Feat/pb 5241 marketing notifications#383

Open
AlexisMora wants to merge 2 commits into
mainfrom
feat/pb-5241-marketing-notifications
Open

Feat/pb 5241 marketing notifications#383
AlexisMora wants to merge 2 commits into
mainfrom
feat/pb-5241-marketing-notifications

Conversation

@AlexisMora
Copy link
Copy Markdown

@AlexisMora AlexisMora commented Jun 5, 2026

What is Changed / Added

This pull request introduces the feature of recieving Marketing notifications, once the user clicks the notification it will redirect to the given url.
also Added foldResult to the shared Result utility to make success/error handling explicit.
Initially, showing notifications through main process was giving me a "SIGSEV" error and crashing the app so i have made a workaround to open them from the renderer process.


Why

Marketing notifications need to be shown as native user notifications and open their associated marketing URL when clicked.

The first main-process implementation could trigger an Electron native SIGSEGV on Linux when clicking notifications. Moving the clickable notification behavior to the renderer avoids that crash path and reuses the existing renderer notification/open-url pattern already used elsewhere in the app.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 5, 2026

@AlexisMora AlexisMora requested a review from egalvis27 June 5, 2026 16:10
@AlexisMora AlexisMora self-assigned this Jun 5, 2026
@AlexisMora AlexisMora added the enhancement New feature or request label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant