You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may be desirable to create the UI, and only put in the DOM later on in the application. Or remove it from the DOM, and then put it back in there later on. As it is currently very difficult to destroy a FirechatUI instance (all of those event bindings), being able to use the same one over and over would be very useful.
Currently, this is impossible because there are all sorts of calls using a plain jQuery constructor ($('...')). It really should be searching inside the element that was originally passed to the FirechatUI constructor ($(this._el).find('...')). I know we can create our own UI code, but having a more powerful and re-usable default UI out of the box will save people time!
The text was updated successfully, but these errors were encountered:
Hello, Christian! Thanks for the suggestions here! We do love getting feedback from the community and this sounds like it would be a wonderful addition. I'll mark this as an enhancement until we have time to discuss the cost/value internally and decide if it's something we want to implement.
If this is a task you'd like to tackle, PR's would certainly be welcome, and posting your initial proposal here as well as some implementation ideas would probably save time and energy.
It may be desirable to create the UI, and only put in the DOM later on in the application. Or remove it from the DOM, and then put it back in there later on. As it is currently very difficult to destroy a FirechatUI instance (all of those event bindings), being able to use the same one over and over would be very useful.
Currently, this is impossible because there are all sorts of calls using a plain jQuery constructor (
$('...')
). It really should be searching inside the element that was originally passed to the FirechatUI constructor ($(this._el).find('...')
). I know we can create our own UI code, but having a more powerful and re-usable default UI out of the box will save people time!The text was updated successfully, but these errors were encountered: