Steps Taken to Diagnose:
- Explored Existing Notification Implementation:
- Identified the
KonchatNotification
file containing thenotify
function, which utilizes the Notification API. - Learned that the current Notification API doesn’t support creating interactive elements( input bar, down arrow, send button ).
- Researched Technologies Used by Other Platforms:
- Discovered that Skype uses Universal Windows Platform (UWP) for interactive notifications.
- Found that integrating UWP into Rocket.Chat isn’t feasible due to compatibility issues(i may be wrong. )
- Investigated Alternative Libraries:
- Considered using
react-toastify
, but we get notification over the browser window like an alert not in windows panel.
Direction?: Could you provide guidance or suggestions on how to implement interactive notifications in Rocket.Chat? Are there any recommended libraries or approaches that would be compatible with the existing architecture?