What is the scope of Jetpack Compose Desktop? I wo...
# compose-desktop
a
What is the scope of Jetpack Compose Desktop? I would love to have richer notification support in the jvm target (such as showing and dismissing notifications, and be able to customize their contents and sounds). is this something i can somehow request as a feature?
m
For a library like that it probably doesn't need to be Compose specific - or at least there could be a generic core and then a small wrapper library that turns it into composeables. I guess you can request anything as a feature but the focus of the JetBrains team is clearly on more widely applicable things right now. The other issue is that such features would be expected to be portable - your app is Mac specific, so it may make more sense to just bind to the Obj-C APIs directly via one of the Obj-C bridge libs, wrap that into a Java or Kotlin API, and release it. That could then later be incorporated into CfD as a component, perhaps.
a
I am aware of how to achieve this in my app. My question is about the scope of Jetpack Compose Desktop and not about my app.
a
While ir doesn't answer exactly your question, I think this link may interest you https://github.com/JetBrains/compose-jb/discussions/2220#discussioncomment-3785137 AFAIK compose is meant only to be used for UI specific to the apps but adding some OS integrations. They probably expect the community to grow and create solutions to cover all the current gaps, like some traditionally desktop components
i
Compose for Desktop currently has 3 main scopes: - cross-platform application UI (buttons, sliders, layouts, etc) - system-related UI. First priority is to support things that have the same concept across desktop platforms (windows, dialogs, menus, notifications), the second priority is to support things that only make sense on a single OS. - tooling for creating application bundles So, richer notification support is in the scope of Compose for Desktop. But with limited resources, for now, we can only provide a basic support for it. As for the Compose Multiplatform, the scope of it is the same, but expands to the wider range of platforms (Android, iOS, Web). What is definitely not in the scope of Compose Multiplatform/Desktop is IO support (networking, file systems, databases), device support (camera, Bluetooth, GPS). Some of the things, that have UI and use that could be in the scope though (WebView, MapView)
a
thanks for the detailed response 👌
199 Views