Clon1998 / mobileraker

A Flutter mobile app for Klipper/Moonraker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notification override's older notification

morotsgurka opened this issue · comments

Feature Request

Problem Description

When getting notifications from my printer I often feel I have way too many notifications to simply dismiss.
For example if I get a "Printer Status Ready" and then a "Printer Status Printing", I don't care about the Ready status anymore since its not relevant.

Proposed Solution

Currently Home Assistant has an implementation for this. You can add a "tag" to the notification you're sending, your phone then only shows the latest notification with that tag. I am not sure how the actual implementation is done in Home Assistant since they don't seem to use Flutter and build 2 separate native apps using Swift and Kotlin. But from looking at Mobileraker you seem to be using Awesome notifications? Which support an ID which maybe does something similar?

Optional?

I can see how some people might prefer to get ALL notifications, so perhaps this could be configured in the app or inside the mobileraker printer config? For example another key variable which can be used to tag notifications, similar to Home Assistant's notify service.

Feature Request

Problem Description

When getting notifications from my printer I often feel I have way too many notifications to simply dismiss. For example if I get a "Printer Status Ready" and then a "Printer Status Printing", I don't care about the Ready status anymore since its not relevant.

Proposed Solution

Currently Home Assistant has an implementation for this. You can add a "tag" to the notification you're sending, your phone then only shows the latest notification with that tag. I am not sure how the actual implementation is done in Home Assistant since they don't seem to use Flutter and build 2 separate native apps using Swift and Kotlin. But from looking at Mobileraker you seem to be using Awesome notifications? Which support an ID which maybe does something similar?

Optional?

I can see how some people might prefer to get ALL notifications, so perhaps this could be configured in the app or inside the mobileraker printer config? For example another key variable which can be used to tag notifications, similar to Home Assistant's notify service.

Initally it was designed the way you described.
However, due to a change in awesome_notifications it was not possible anymore to update an existing notification.
I need to verify if that is still the case, since updating progress notifications on android is working again too!