Skip to content

Notifications: Group same app/tittle notifications into a single list row - #1970

Open
Elyriel wants to merge 2 commits into
coredevices:mainfrom
Elyriel:feature/notifications-grouping
Open

Notifications: Group same app/tittle notifications into a single list row#1970
Elyriel wants to merge 2 commits into
coredevices:mainfrom
Elyriel:feature/notifications-grouping

Conversation

@Elyriel

@Elyriel Elyriel commented Aug 30, 2026

Copy link
Copy Markdown

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:

  • Notifications with the same app name and or title are grouped when there are
    three or more matching notifications.
  • A group row displays the group name and notification count.
  • Selecting a group opens a separate animated notifications window containing
    only that group's notifications.

src/fw/apps/system/settings/notifications.c:

  • Added the Sort Order setting:
    • Newest first
    • Oldest first
    • Alphabetical
  • Added the Group Notifications On/Off setting.

src/fw/services/notifications/alerts_preferences.c:

  • Added persistent storage for notification sorting and grouping preferences.
  • Added validation and default values for the new preferences.

resources/normal/base/lang/:

  • Added translations for the new notification settings in all supported
    language catalogs.

example :

8 notifications were sent, same applies to all screenshots below.

before :

image image

after :

image image image

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 test first, and then a vibe-coded tool

Use 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.

        -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>
@gmarull
gmarull requested a review from ericmigi August 31, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant