Show HN: NativePHP Now Supports Windows
https://github.com/orgs/NativePHP/discussions/278
The current Notification class doesn't have a way to set the icon for when a Notification is triggered. It would be great to have a method setIcon() to the Notification class to do this.
In addition to this, it would also be great to have actions on the notifications. Right now there is only option to setup an event when the notification is clicked, but certain apps are able to setup actions on these notifications and add behavior to those actions.
{
"by": "simonhamp",
"descendants": 0,
"id": 40225430,
"score": 4,
"time": 1714580590,
"title": "Show HN: NativePHP Now Supports Windows",
"type": "story",
"url": "https://github.com/orgs/NativePHP/discussions/278"
}
{
"author": "abishekrsrikaanth",
"date": "2023-08-03T12:00:00.000Z",
"description": "The current Notification class doesn’t have a way to set the icon for when a Notification is triggered. It would be great to have a method setIcon() to the Notification class to do this. In additio…",
"image": "https://opengraph.githubassets.com/499f43fb25827364f8f84247e04e5cb280281c13f4a4a258690e82683413ef33/orgs/NativePHP/discussions/278",
"logo": null,
"publisher": "GitHub",
"title": "Ability to set the icon and actions for Notifications · NativePHP · Discussion #278",
"url": "https://github.com/orgs/NativePHP/discussions/278"
}
{
"url": "https://github.com/orgs/NativePHP/discussions/278",
"title": "Ability to set the icon and actions for Notifications · NativePHP · Discussion #278",
"description": "The current Notification class doesn't have a way to set the icon for when a Notification is triggered. It would be great to have a method setIcon() to the Notification class to do this. In additio...",
"links": [
"https://github.com/orgs/NativePHP/discussions/278"
],
"image": "https://opengraph.githubassets.com/499f43fb25827364f8f84247e04e5cb280281c13f4a4a258690e82683413ef33/orgs/NativePHP/discussions/278",
"content": "<div>\n <p>The current Notification class doesn't have a way to set the icon for when a Notification is triggered. It would be great to have a method <code>setIcon()</code> to the Notification class to do this.</p>\n<p>In addition to this, it would also be great to have actions on the notifications. Right now there is only option to setup an event when the notification is clicked, but certain apps are able to setup actions on these notifications and add behavior to those actions.</p>\n<p><a target=\"_blank\" href=\"https://private-user-images.githubusercontent.com/1639302/258160547-d2763140-fda2-45ce-99fb-5762d26e0b60.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9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lbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDkyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA5MjlUMTMxNDU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTM1NjVlN2YwYzFhYjFmYTUyYTcwZjhmMmEwOWI5Njc4MjE2ZGM1OGI4NmIxZjRiZThlY2MyMTg0NjZmYmQwNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.3LFEXCuwHfR20ismxZnWbQEHpoV1JUkQEbRzrT4Zfms\" alt=\"CleanShot 2023-08-03 at 20 57 03\" /></a></p>\n </div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 17,
"type": "object"
}
