IBM / mac-ibm-notifications

macOS agent used to display custom notifications and alerts to the end user.
Apache License 2.0
295 stars 49 forks source link

[Feature Request] Add a few accessory views to new `systemalert` window style #142

Open mm2270 opened 1 year ago

mm2270 commented 1 year ago

Is your feature request related to a problem? Please describe. Not really a "problem". I really like the new systemalert window style that was added to IBM Notifier. However, I would like to see a couple of the existing popup accessory view types added to this new style. The ones I see being most useful would be progressbar and input fields. These would allow us to mimic many of the standard dialog UIs that the system generates. The 2 types of "views" I've seen system dialogs use is input from the user, like a username/password to complete an operation, and a progress bar, usually the indeterminate style.

Describe the solution you'd like I'd like to see limited support for some of the accessory views in the systemalert window style. Specifically, progressbar and input / secureinput that are currently available in the popup UI.

Describe alternatives you've considered No alternatives right now since these extras are not available for the system alert style.

Additional context None.

kryptonit1 commented 1 year ago

I like this idea as well. I think that this would be useful.

SMartorelli commented 1 year ago

Hi @mm2270, the native NSAlert windows used for the new systemalert UI doesn't allow the classic accessory views we developed for the standard popup dialog. It still have space for customisation and I'll try to replicate this two native behaviour used by Apple that you described. I'll keep you posted in this issue.