Notifications: Group same app/tittle notifications into a single list row - #1970
Open
Elyriel wants to merge 2 commits into
Open
Notifications: Group same app/tittle notifications into a single list row#1970Elyriel wants to merge 2 commits into
Elyriel wants to merge 2 commits into
Conversation
-added: Notifications (3+) with the same app name and title are grouped into a single row with a count.
-Added: when you select a notification group, only the group's notifications are shown in the preview, not all.
… views Add notification sorting and grouping preferences, localized settings strings for all supported languages, and a better separate animated window for viewing notifications within a group. Co-authored-by: GPT-5 <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Groups notifications from the same app/title into a single row instead of listing each one individually, so a batch send (e.g., 4 notifications from one app/person) doesn’t flood the list.
Changes :
src/fw/apps/system/notifications.c:three or more matching notifications.
only that group's notifications.
src/fw/apps/system/settings/notifications.c:Sort Ordersetting:Group NotificationsOn/Off setting.src/fw/services/notifications/alerts_preferences.c:resources/normal/base/lang/:language catalogs.
example :
8 notifications were sent, same applies to all screenshots below.
before :
after :
Validation
Tested in QEMU emulator, on Round 2, Time 2, and Pebble 2 Duo, all are working. I generated the notifications using
./pbl console notif testfirst, and then a vibe-coded toolUse of AI:
I've used generative AI (local models, Claude Sonnet 5, ChatGPT 5.6 Luna) to debug, choose function names, understand the project, write comment and help occasionally.
(edit : ) I didn’t use AI to make the logic or write the entire code.