Skip to content

fix(notifications): drop subject type suffix from native notification body - #3113

Merged
setchy merged 1 commit into
mainfrom
fix/native-notification-body
Jul 29, 2026
Merged

fix(notifications): drop subject type suffix from native notification body#3113
setchy merged 1 commit into
mainfrom
fix/native-notification-body

Conversation

@afonsojramos

Copy link
Copy Markdown
Member

Summary

Drops the [subject type] suffix from the body of native OS notifications for a single notification, leaving just the subject title. The repository name stays as the notification title.

Before: some/repoFix the thing [PullRequest]
After: some/repoFix the thing

This trims the part of #3058 that appended the subject type; the repository name in the title (the more useful half of that change) is untouched.

Tests

The existing assertion used expect.stringContaining(subject.title), which passes either way and so did not actually cover the body format. Tightened it to an exact match, verified it fails without the source change and passes with it.

Full suite (1198 tests), pnpm check and tsc --noEmit all pass.

@afonsojramos
afonsojramos requested a review from setchy as a code owner July 29, 2026 13:03
@github-actions github-actions Bot added the bug Something isn't working label Jul 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

@setchy
setchy merged commit 585a2a9 into main Jul 29, 2026
16 checks passed
@setchy
setchy deleted the fix/native-notification-body branch July 29, 2026 13:32
@github-actions github-actions Bot added this to the Release 7.x.x milestone Jul 29, 2026
This was referenced Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

2 participants