Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification about new outdated packages shows a list of all packages, instead just the new package #323

Open
1 task done
buresdv opened this issue May 14, 2024 · 0 comments
Labels
Bug Something isn't working Help Wanted Extra attention is needed

Comments

@buresdv
Copy link
Owner

buresdv commented May 14, 2024

Bug Report

Mandatory Information

Describe the bug
When the notification about a new outdated package shows up, it has a list of all outdated packages instead just the new outdated package.

To Reproduce
Wait for a new outdated package to be available

Expected Behavior
The notification includes only the new package

Screenshots

Optional Information

Additional context
Offending lines:

let differentPackages = newOutdatedPackages.subtracting(outdatedPackageTracker.outdatedPackages)

sendNotification(title: String(localized: "notification.new-outdated-packages-found.title"), subtitle: differentPackages.map(\.package.name).formatted(.list(type: .and)))

Checklist

  • I filled everything out under Mandatory Information
@buresdv buresdv added Bug Something isn't working Help Wanted Extra attention is needed labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help Wanted Extra attention is needed
Projects
Status: Bugs
Development

No branches or pull requests

1 participant