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

Progress Notifications API #221

Open
colinkiama opened this issue Jan 5, 2022 · 2 comments
Open

Progress Notifications API #221

colinkiama opened this issue Jan 5, 2022 · 2 comments

Comments

@colinkiama
Copy link
Member

colinkiama commented Jan 5, 2022

Problem

SysTray apps were phased out but one experience that wasn't taken into account were file syncing services. There isn't a solution for this displaying sync progress data with as much detail as these apps did.

Proposal

My solution to this would be progress notification APIs. These would build upon the ability to replace a notification through referencing its ID and push the idea further with the addition of progress data.

So what ends up happening is that as progress gets updated, the same notification will be swapped with a new one with up to date progress data over time.

Unlike progress indicators in the dock, it will be possible for there to be multiple notifications to have progress data from the same app.

Prior Art (Optional)

https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/toast-progress-bar

image

@colinkiama colinkiama changed the title Progress Notifications Progress Notifications API Jan 5, 2022
@lenemter lenemter transferred this issue from elementary/triage Jan 7, 2024
@danirabbit
Copy link
Member

The file sync case is already covered by the CloudProviders API: https://world.pages.gitlab.gnome.org/libcloudproviders/index.html

something we don’t currently support is the background portal which has a string arg for reason https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.Background

It might make sense to extend the background portal to take a double for progress and use that to replace the unity progress API

@danirabbit
Copy link
Member

On the more complicated end of the spectrum iOS has ActivityKit: https://developer.apple.com/videos/play/wwdc2023/10184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants